> For the complete documentation index, see [llms.txt](https://docs.omnichat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.omnichat.ai/features/marketing/keyword-auto-assign.md).

# 關鍵字自動指派

{% hint style="danger" %}
請注意！關鍵字自動指派只有當該對話位於 「待處理」、「機器人」 及 「已結束」 的狀態時才會觸發，「處理中」 的對話我們視為已經由真人接手，所以不會觸發關鍵字自動指派。\
\
觸發關鍵自動指派功能時，對話會自動落到指定的團隊成員&#x7684;**「處理中」**&#x5C0D;話列表中。
{% endhint %}

{% hint style="info" %}
「關鍵字自動指派」會與「關鍵字自動回覆」同時觸發
{% endhint %}

## 添加指派分組

![](/files/gG4NvgzHuwpHb36KJvrc)

![](/files/jtc3zITscUMgmSfNnTP9)

1. 點擊右方「**添加分組**」按鈕
2. 選擇「**目標通訊渠道**」：如您想同時設定在多個社群官方帳號或是粉專，也可以直接選擇
3. 按「**儲存**」完成添加分組

## 添加指派條件

![](/files/BdD2mtmfuiPUu5vwHwOS)

![](/files/i4sRkqdYzGtSjaZA7yid)

1. 點擊「**添加條件**」
2. 設定條件啟用狀態
3. 設定關鍵字條件
4. 輸入「**關鍵字**」；如果**漏空「關鍵字」**&#x6B04;位，代表**所有收到的文字訊息**都會觸發此條件
5. 當消費者輸入文字訊息觸發該關鍵字自動指派時，消費者也同時會被貼上標籤
6. 設定**指派到特定「團隊成員」或「指定權限角色」**（可多選）
7. 設定**指派順序**
   1. 「隨機」：隨機指派到其中一位按符合條件的團隊成員，注意有機會分佈不平均。
   2. 「按順序」：新事件會按符合條件的團隊成員的建立時間，順序自動指派。
8. 按「**儲存**」完成設定

{% hint style="info" %}
如果團隊成員將自己的上線狀態改為「**已離線**」，將**不會自動指派**給該位成員
{% endhint %}

{% hint style="info" %}
請注意：關鍵字自動指派**不支援以貼圖觸發**
{% endhint %}

![團隊成員可以在左側選單更改自己的上線狀態](/files/-MVEbogQXC2TeKOqEkqE)

### 關鍵字條件

* 包含部分
  * 例：
    * 關鍵字： A、 B、 C
    * 收到訊息： 我想買A → 符合條件 ✅
* 包含所有
  * 例：
    * 關鍵字： 買、 B
    * 收到訊息： 我想買A → 不符合條件 ❌
    * 收到訊息：我想買B→ 符合條件 ✅
* 完全符合
  * 只可以輸入一個關鍵字
  * 例：
    * 關鍵字： 00
    * 收到訊息： 我想買00 → 不符合條件 ❌
    * 收到訊息： 00 → 符合條件 ✅

## 複製、修改或刪除指派分組或條件

![](/files/bzFuyVMGkznTjhxpj9B1)

1. 複製：即可以將您設定的分組進行複製
2. 點擊「**編緝**」按鈕可修改指派分組設定，下方條件圖示編輯可修改指派條件設定
3. 點擊「**刪除**」按鈕可刪除分組，下方條件圖示可刪除指派條件設定
4. 點擊「**QR Code**」按鈕會產生一個 QR Code 圖片及連結，只要客人掃描 QR Code 就會直接打開社群平台並帶上條件所設定的關鍵字（**只支援只有一個關鍵字/句子的指派條件**）
5. 顯示該關鍵字觸發次數，如果該條件是適用多平台則會顯示各平台的觸發次數

### **QRCode 支援 WhatsApp 原生連結**

* 在 WhatsApp 的關鍵字 QRCode，上方可以選擇原本的固定連結或是 WhatsApp 的原生連結
* *固定連結：*&#x82E5;有修改關鍵字，QR Code 和連結不會跟著變動
* *WhatsApp 原生連結*：若有修改關鍵字， QR Code 和連結會變動，主要提供給 WhatsApp 軟體內 QR Code Scanner 掃描使用

![](/files/yLkwnW6gwszx5B3TEiDC)


---

# 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:

```
GET https://docs.omnichat.ai/features/marketing/keyword-auto-assign.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.
