# 2. Xây dựng kịch bản

### Giới thiệu

Kịch bản chăm sóc khách hàng là một tính năng quan trọng để ChatBot biết cách gửi tin như thế nào để chăm sóc khách hàng trong mỗi trường hợp khác nhau. Dưới đây là một ví dụ về một kịch bản đơn giản:

* Gửi tin nhắn xin chào đến khách hàng và các nút bấm chức năng (Giới thiệu sản phẩm, đăng ký nhận tin, Bỏ đăng ký)
* Khi khách hàng bấm một nút (VD: Nút **Giới thiệu sản phẩm**) thì Bot tự động thực hiện gửi tin nhắn thứ 2

![Kịch bản gửi tin đơn giản](/files/-M75eyYO2vocDTYvGQBF)

Để tìm hiểu về tổng quan công cụ xây dựng kịch bản, vui lòng tham khảo tại [đây](https://docs.puzi.vn/puzi-chatbot-chatbot-messenger-cho-facebook/4.-xay-dung-kich-ban/tong-quan)

Chúc bạn kinh doanh thành công với Puzi ChatBot!

**==================================**

**Liên hệ hỗ trợ:**

* FanPage: [Puzi Community](https://www.facebook.com/puzi.vn)
* Hotline: 0931.531.333
* Website: [Puzi.vn](https://puzi.vn/)

*From Puzi team with love <3*


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.puzi.vn/chuc-nang/puzi-chatbot-chatbot-messenger-cho-facebook/4.-xay-dung-kich-ban.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
