# 如何觸發優惠券

#### 只要能夠設定並發出機器人模組的功能就能派發優惠券，以下列舉可應用情境：

* 訊息自動回覆
* 推播訊息
* LINE 圖文選單
* Facebook、LINE 歡迎訊息（選擇機器人模組）
* 社群綁定插件時的訂閱成功訊息（選擇機器人模組）
* 購物車再行銷訊息（支援 Facebook / LINE）
* 互動遊戲（支援 WhatsApp / LINE / Facebook）
* OMO QRCode 綁定成功

### 使用實例

#### 以『訊息自動回覆』應用為例：

情境：後台設定好『Omnichat Test 測試啦』，準備發送到 LINE 。希望當客人輸入的文字訊息中只要有提到『優惠券』，就提供優惠券給客人。\
\
步驟 1：在『優惠券』設定內將優惠券樣式設定完畢。

<figure><img src="/files/CsW9FfWZNC5psNHPN7Z4" alt=""><figcaption></figcaption></figure>

步驟二：在 『只限 LINE 機器人』 內的機器人模組內設定 『優惠券卡片』 並在 『[訊息自動回覆](/features/marketing/xun-xi-zi-dong-hui-fu.md)』 設定觸發的關鍵字及觸發的機器人內的優惠券。

<div><figure><img src="/files/ypK9i3JHe9K9L5FNlJQF" alt=""><figcaption><p>聊天機器人 1.0 畫面</p></figcaption></figure> <figure><img src="/files/qlHFSUADost9DQT3GE6W" alt=""><figcaption><p>聊天機器人 2.0 畫面</p></figcaption></figure></div>

<figure><img src="/files/32WDAIB0NvX8IzCXehvr" alt=""><figcaption></figcaption></figure>

完成！當消費者在官方帳號輸入包含有『優惠券』的訊息時，就會觸發，進而收到優惠券唷

![](/files/KBqYeHp6504O9qEGHsDb)

<br>


---

# 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://docs.omnichat.ai/features/you-hui-quan-jia-gou-gong-neng/ru-he-chu-fa-you-hui-quan.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.
