# Cài đặt đẩy SMS nhận được lên chatbot dựa theo từ khoá

Nếu trường hợp bạn cần chọn lọc lại SMS mà điện thoại nhận được, chỉ những SMS có từ khoá phù hợp trong nội dung mới được đẩy lên chatbot, thì bạn sử dụng tính năng SMS Automation và khai báo như ảnh bên dưới.

![](/files/-Mjmpb47iTtmqf7iiqqI)

Như vậy theo ảnh minh hoạ, khi điện thoại nhận được SMS có chứa AAA trong nội dung thì {{number}} và {{message}} sẽ được gửi lên bot qua [Broadcast API](/ket-noi-sms-va-chatbot/cai-dat-day-sms-tu-dien-thoai-len-chatbot.md) bạn đã khai báo.

Với tính năng này, bạn hoàn toàn có thể chủ động tạo ra nhiều từ khoá cho về các block xử lý tương ứng các từ khoá này.

Vận dụng thêm thẻ Split của Smax.Bot, bạn có thể ứng dụng cho nhiều trường hợp như:

* Xác nhận đơn hàng tự động
* Xác thực điện thoại
* Đẩy API sang các hệ thống xử lý đơn hàng khác
* ....


---

# 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://hdsms.quanchatbot.com/ket-noi-sms-va-chatbot/cai-dat-day-sms-nhan-duoc-len-chatbot-dua-theo-tu-khoa.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.
