> For the complete documentation index, see [llms.txt](https://tailieu.smax.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tailieu.smax.ai/extend-modules/form-builder/tich-hop-chatbot.md).

# Tích hợp chatbot

Để tích hợp form vào chatbot, bạn cần thực hiện các bước sau:

Tạo một block mới trong module Bot-Auto, thêm 1 thẻ Messenger Text hoặc Messenger Gallery và tạo thêm 1 button trong thẻ đó

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2Fhk4NxV10sDagMcbA8Dvm%2Fimage%20(1).png?alt=media&amp;token=2f61d4f8-f109-435c-80f3-51ea3ecb180d" alt=""><figcaption></figcaption></figure>

Trong phần cấu hình button, chọn tab Webview, sau đó chọn Form Builder và chọn Form bạn đã tạo trước đó. Bạn có thể tạo thêm 1 block để gửi xác nhận cho khách hàng khi nhấn submit trong phần Gửi block khi xác nhận

<figure><img src="https://1875681896-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fsr3EiPwgSuzEXI3u1tC1%2Fuploads%2FgPvSe3ZgNg5dtOKOX8XQ%2Fimage%20(1).png?alt=media&amp;token=9201c83f-22c5-41f2-a1e1-99210929bc67" alt=""><figcaption></figcaption></figure>
