> For the complete documentation index, see [llms.txt](https://docs.pushsale.vn/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pushsale.vn/huong-dan/marketing/tien-ich/ket-noi-phan-mem-thu-3/2.6.3.2-ket-noi-fchat/2.6.3.2.1-ket-noi-fbot.md).

# 2.6.3.2.1 Kết nối Fbot

Pushsale cung cập thêm kết nối Fbot của FChat. Sau khi người dùng liên kết thành công, các contact từ chat theo kịch bản Fbot sẽ chuyển từ Facebook sang hệ thống Pushsale.

## **Bước 1. Thực hiện trên** [**https://fchat.vn/dashboard**](https://fchat.vn/dashboard)**​** <a href="#buoc-1-thuc-hien-tren-https-fchat-vn-dashboard" id="buoc-1-thuc-hien-tren-https-fchat-vn-dashboard"></a>

![](https://gblobscdn.gitbook.com/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCB7gK3PUF5YwvHvsIM%2Fgh45.gif?alt=media\&token=7f5025ec-87c1-48e5-b5f0-4ac5e25bf427)

1\. Bấm vào Fanpage đang cần kết nối, tại đây bắt đầu tạo kịch bản.

Để contact về được Pushsale thì cần ít nhất 2 thông tin: Họ tên và số điện thoại

* Họ tên: Có thể dùng trường `full name` chính là tên facebook của khách hàng, hoặc sử dụng trường `name`
* Số điện thoại: Sử dụng trường `phone`

Ngoài ra, Anh/Chị còn có thể thêm các trường thông tin khác như:

* Địa chỉ: Sử dụng trường `address`
* Tin nhắn: Sử dụng trường`message`

**Cách làm:** Bấm vào ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCB5t2gTL8CEnvTMvhs%2FScreenshot%20\(51\).png?alt=media\&token=43576a5f-8054-4d2b-8eda-456c0e7df7f6) để chọn các đối tượng cần thêm, chọn ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCB6qHYIdxfpr6y1LCe%2FScreenshot%20\(49\).png?alt=media\&token=fdd092f3-f287-4580-92c6-c5d9223ccd28) và thực hiện như hình bên dưới:

![](https://gblobscdn.gitbook.com/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCBA5D_vnOMLNX_L1HO%2Fgh46.gif?alt=media\&token=8c854293-9b00-4fb3-9595-75e1d34add73)

2\. Kết nối API với Pushsale

**Cách làm:** Bấm vào ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCBAJTV8KSjoPe-kzDV%2FScreenshot%20\(51\).png?alt=media\&token=5c6def1e-fefa-4224-a95f-e14ce16816a4) để chọn đối tượng cần thêm, chọn ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCBAP_6AAfHbc3ISeXV%2FScreenshot%20\(50\).png?alt=media\&token=d8643bab-9891-482a-8ec3-407b6ac5a7da) và thực hiện như sau:![](https://gblobscdn.gitbook.com/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCBCDwL-yFnFP_xHmkW%2Fgh47.gif?alt=media\&token=543a2ca4-f5d8-4137-b4ae-f0f6a5e58630)

## **Bước 2. Kiểm tra contact về Pushsale qua kịch bản FBot** <a href="#buoc-2-kiem-tra-contact-ve-pushsale-qua-kich-ban-fbot" id="buoc-2-kiem-tra-contact-ve-pushsale-qua-kich-ban-fbot"></a>

1\. Bấm vào nút ![](https://firebasestorage.googleapis.com/v0/b/gitbook-28427.appspot.com/o/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCBD_BY7hS1a-JIvYaq%2FScreenshot%20\(52\).png?alt=media\&token=f6efc42b-2073-4188-a4f8-93289eab1ddd) ở góc trên cùng, bên phải màn hình Fbot

![](https://gblobscdn.gitbook.com/assets%2F-LpEY-ShYjWKdP5FI_QE%2F-MC6eUAzRRwJm0e1eFQv%2F-MCBDLdBVULRUC55CssR%2Fgh48.gif?alt=media\&token=98c7f47f-4397-4ae8-af66-f59a1bd8840f)

2\. Thực hiện trả lời theo kịch bản

3\. Kiểm tra tại màn hình **Hồ sơ khách hàng** của Pushsale để kiểm tra số về hệ thống.

​

​

​

**​**[<br>](https://docspushsalevn.gitbook.io/huong-dan-su-dung/2.-marketing/2.13-ket-noi-voi-cac-doi-tac/2.13.5.4-ket-noi-fchat)


---

# 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.pushsale.vn/huong-dan/marketing/tien-ich/ket-noi-phan-mem-thu-3/2.6.3.2-ket-noi-fchat/2.6.3.2.1-ket-noi-fbot.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.
