> For the complete documentation index, see [llms.txt](https://docs.botbanhang.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.botbanhang.vn/chatbox/widget/widget-tra-loi-nhanh.md).

# Widget Trả lời nhanh

## Chức năng

Widget Trả lời nhanh cho phép người sử dụng soạn ra những câu trả lời nhanh tương tự **Tin nhắn trả lời lưu sẵn** tại phần Hộp thư trên Fanpage

![Tin trả lời lưu sẵn của Facebook](/files/-MNh0h4c_yLJ16OcRUIz)

![Trả lời nhanh trên Chatbox](/files/-MNh1OjyVhQdOw-0GtNp)

## Cài đặt

### 1. Cài đặt

Tại Chợ ứng dụng chọn Trả lời nhanh sau đó cài đặt tương tự cài đặt Widget cho[ Kịch bản Bot Bán Hàng](https://docs.botbanhang.vn/chatbox/widget/widget-kich-ban#1-cai-dat).

![Chọn Widget Trả lời nhanh sau đó cài đặt tương tự Widget Kịch bản](/files/-MNh46APlQmNVNH-hRLr)

> KHUYÊN DÙNG:
>
> * Tại phần cài đặt ví trị cho Widget Trả lời nhanh nên chọn vị trí phía dưới để tiện sử dụng

![Nên chọn Ví trí hiển thị ở phía dưới](/files/-MNh4xJFeu6fseuuIbuI)

### 2. Thiết lập

Tiếp theo tại giao diện Chatbox, để cài đặt các câu trả lời nhanh chọn Quản lý câu trả lời trong giao diện Trả lời nhanh

![Chọn Quản lý câu trả lời để thiết lập](/files/-MNh5LdE-py_-XFCGM-X)

![Tạo nội dung mới để cài đặt câu trả lời nhanh](/files/-MNh5dwEUQyKoGzZHNMK)

Sau khi cài đặt các câu trả lời nhanh cần thiết chọn Trở lại trang nội dung để sử dụng

![](/files/-MNh5sUU_-mVeIwUGBWh)

### 3. Cá nhân hoá khách hàng

#### 3.1. Gọi tên khách hàng

Tại phần thiết lập trả lời nhanh gọi tên khách hàng bằng cách sử dụng cú pháp `{{full_name}}` để gọi tên Facebook của khách hàng.

![Ví dụ gọi tên khách hàng.](/files/-MNh6suRZSCVMXkxQqlj)

#### 3.2. Gọi Số điện thoại khách hàng khi khách để lại Số điện thoại

Tương tự gọi tên khách hàng, sử dụng cú pháp `{{phone}}` để gọi Số điện thoại khách hàng khi khách để lại số điện thoại

![Ví dụ gọi SĐT khách hàng](/files/-MNh7swaZnk_jNdZ5R1F)

#### 3.3. Gọi Email khách hàng khi khách để lại Email

Sử dụng cú pháp {{email}} để gọi Email khi khách hàng để lại Email

![Ví dụ gọi Email khách hàng](/files/-MNh928gn0HpMDx7dGql)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.botbanhang.vn/chatbox/widget/widget-tra-loi-nhanh.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
