# 2.1 Tổng quan

### Kịch bản gửi tin gồm nhiều khối liên kết với nhau. Các khối gồm:

1. [Khối tin nhắn](/chuc-nang/puzi-chatbot-chatbot-messenger-cho-facebook/4.-xay-dung-kich-ban/khoi-tin-nhan.md)
2. [Khối hành động](/chuc-nang/puzi-chatbot-chatbot-messenger-cho-facebook/4.-xay-dung-kich-ban/khoi-hanh-dong.md)
3. [Khối điều kiện](/chuc-nang/puzi-chatbot-chatbot-messenger-cho-facebook/4.-xay-dung-kich-ban/khoi-dieu-kien.md)

Để thêm một khối mới, nhấn vào menu thêm sau đó chọn khối bạn muốn thêm. Chi tiết xem thêm hướng dẫn tại các khối cụ thể.

![](/files/-M75y4EQGrzm5XhdfLTS)

### Trạng thái của kịch bản

Người dùng có thể kiểm tra kịch bản đang bị lỗi hay không bằng cách xem biểu tượng hình trái tim bên phải:&#x20;

* Trỏ chuột vào để xem chi tiết lỗi.
* Nhấn vào biểu tượng sẽ đưa bạn đến khối đang bị lỗi.
* Trong mỗi khối biểu tượng hiển thị màu đỏ nghĩa là đang có lỗi.

![Kịch bản hiện không có lỗi](/files/-M761UZoF2De0-nw2BJL)

![Kịch bản đang lỗi ở tin nhắn bắt đầu](/files/-M761XT9G5qwPSfHEvdX)

![Chi tiết lỗi trong khối tin nhắn bắt đầu](/files/-M761lWqGTVAq24xSIkC)

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/tong-quan.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.
