> For the complete documentation index, see [llms.txt](https://chatlyst.gitbook.io/chatlyst-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chatlyst.gitbook.io/chatlyst-user-guide/zh/inbound-channels-zh/whatsapp/xin-zeng-xiao-gong-ju.md).

# 新增小工具

在 WhatsApp 管道中，選取 **新增小工具（連結 WhatsApp 號碼）**。

<div data-with-frame="true"><figure><img src="/files/rXqEOVkxp74oC8soGKo0" alt="" width="375"><figcaption></figcaption></figure></div>

小工具配置包含三個區塊：[**外觀**](#wai-guan-appearance)、[**行為**](#behavior-xing-wei-behavior) 和 [**進階**](#advanced-jin-jie-advanced)。

<div data-with-frame="true"><figure><img src="/files/qeoLjqcKgcE7aMmxL55k" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
使用導覽分頁在 **外觀**、**行為** 和 **進階** 之間切換，並快速審查或更新特定區塊。

![](/files/YQE6mk0njgnwDj57iFhy)
{% endhint %}

{% stepper %}
{% step %}

### 外觀 (Appearance)

使用者可以更新以下欄位：

* **公司顯示名稱** — 顯示在小工具標頭中、面向大眾的名稱。
* **小工具名稱** — 用於管理多個小工具的內部名稱。

<div data-with-frame="true"><figure><img src="/files/04bjhAVV817KqH9XOpuu" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 行為

**控制小工具如何與訪客互動。**

* **轉接人工服務**  — 控制當機器人需要將對話轉交回真人客服時的情況。如果關閉此設定，當機器人嘗試將聊天路由至真人客服時，對話將自動關閉，而不會保持工作階段開啟以供接管。預設設定為開啟。

<div data-with-frame="true"><figure><img src="/files/zIGHuPWXtgd1Tys3vpR0" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 進階

調整技術與工作階段設定。

* **機器人訊息數量上限** — 設定單個聊天工作階段中允許的助理訊息最大數量。當達到此限制時，聊天將切換至真人用戶，且狀態將更新為 Pending 1st Response（等待首次回應）。

{% hint style="info" %}
預設為每個工作階段 30 則訊息，最小值為 10。
{% endhint %}

* **對話閒置時間（分鐘）** — 設定在最新一則訊息後，工作階段保持隨時啟用的時間。作用中的工作階段只要訊息持續就會保持啟用。如果在設定的時間內（自最後一則訊息起算）沒有新訊息傳入，工作階段即會過期並關閉。如果真人在工作階段期間接管，該工作階段將保持啟用。

{% hint style="info" %}
預設值為 1,440 分鐘（24 小時）。這是建議的設定。對於 WhatsApp 管道，此值不能超過 1,440 分鐘。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/zEGoUSogckoXFobmYfgH" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 完成配置

完成配置後，選取 **創建**。

<figure><img src="/files/r9JX2C9RGt4Xe0uMxAyF" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### 小工具啟用

建立小工具後，系統會自動開啟下一頁，以便您審查小工具的詳細資訊。

<div data-with-frame="true"><figure><img src="/files/zZ1FgvuYiYd7pQzDqyhu" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}

### 連結 WhatsApp

1. 選取 **連結 WhatsApp**。

<div data-with-frame="true"><figure><img src="/files/89h9hCXhMaXfGqQWTPlm" alt=""><figcaption></figcaption></figure></div>

2. 在 Meta 視窗中，登入您的 Facebook 帳戶（如果需要）。收到提示時，連接至 Effex，然後選取 **繼續**。

{% hint style="warning" %}
Meta 可能需要幾分鐘的時間來載入此視窗，請耐心等候。
{% endhint %}

<div data-with-frame="true"><figure><img src="/files/PI2ADywSecKk1Wmwkvdk" alt="" width="375"><figcaption></figcaption></figure></div>

3. 選取 商家資產管理組合。

<div data-with-frame="true"><figure><img src="/files/QBkfjv27F8ExdqFVtPDH" alt="" width="375"><figcaption></figcaption></figure></div>

4. 選擇一個 WhatsApp 商業帳戶選項以繼續。
   * 選擇以下其中一個選項：
     * 如果您已經擁有已註冊的 WhatsApp 商業帳戶，請選取 [**連結 WhatsApp Business 應用程式**](/chatlyst-user-guide/zh/inbound-channels-zh/whatsapp/lian-jie-whatsapp-business-ying-yong-cheng-shi.md)；
     * 如果您尚未擁有已註冊的 WhatsApp 商業帳戶，請選取 [**建立 WhatsApp Business 帳戶**](/chatlyst-user-guide/zh/inbound-channels-zh/whatsapp/jian-li-whatsapp-business-zhang-hu.md)。

<div data-with-frame="true"><figure><img src="/files/LRyInzlRKaeV26aEJ75x" alt="" width="375"><figcaption></figcaption></figure></div>
{% endstep %}
{% endstepper %}


---

# 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://chatlyst.gitbook.io/chatlyst-user-guide/zh/inbound-channels-zh/whatsapp/xin-zeng-xiao-gong-ju.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.
