> 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-kich-ban.md).

# Widget Kịch bản Bot Bán Hàng

## Chức năng

Cho phép người dùng gửi nhanh Kịch bản từ Chatbot đến khách hàng chỉ thông qua 1 Click chuột.

![](/files/-MO-UpktQ92SKCNpj_Wu)

## Cài đặt

### 1. Cài đặt

Tại **Chợ ứng dụng** Chọn Widget **Kịch bản Bot Bán Hàng** để tiến hành cài đặt.

![Tại Chợ ứng dụng chọn Kịch bản Bot Bán Hàng](/files/-MNgXTHSU9if9zUB7Xp7)

![Click Cài đặt ngay](/files/-MNgZNmwK-0w9i7aHlXQ)

Chọn Page cần cài đặt.

![Chọn Page cần cài đặt Kịch bản](/files/-MNgZVYROf_b94_OKKA9)

![Click Đồng ý để tiếp tục](/files/-MNgZcBIY6QwQ4FW6aGZ)

Tiếp theo lựa chọn Vị trí hiển thị, Kích cỡ và Nhóm nhân viên hiển thị trên Chatbox sau đó chọn **"Đồng ý"** để tiếp tục.

![Lựa chọn Vị trí, Kích cỡ, Nhóm NV hiển thị](/files/-MNgZyXHusuO8GkMTC_K)

* Vị trí hiển thị Widget sẽ hiển thị trên giao diện Chat như sau:

![Các vị trí hiển thị Widget](/files/-MNg_oBic0shgJc-Ok4V)

* Kích thước hiển thị trên giao diện Chatbox:

![Các Kích thước hiển thị](/files/-MNgaIr00ykN2aYDE6e7)

* Nhóm nhân viên hiển thị là lựa chọn các nhân viên trên page có thể xem và sử dụng Widget đó (Cài đặt Nhóm nhân viên tại [đây](https://docs.botbanhang.vn/chatbox/thiet-lap#3-nhom-cac-nhan-vien)).

Tiếp theo chọn **Kích hoạt** để kích hoạt Widget.

![](/files/-MNgmuTOJWIc2ymzDEKw)

Refresh (F5) lại Chatbox để bắt đầu sử dụng Kịch bản Bot Bán Hàng

![Refresh lại Chatbox để sử dụng Kịch bản](/files/-MNgtsGc7Uxyjk5f47-2)


---

# 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-kich-ban.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.
