# 離線訊息 / 即時回覆

{% hint style="warning" %}
「**離線訊息**」 或 「**即時回覆**」 只會傳送**一次**給 「**待處理**」 事件的客人。
{% endhint %}

{% hint style="info" %}
對話被標記為「**已結束**」後，如果再次收到客人的訊息，「**離線訊息**」 或 「**即時回覆**」 會再次觸發。\
且離線／即時訊息的回覆狀態會落在<mark style="color:red;">**待處理-真人客服**</mark>狀態
{% endhint %}

![](/files/2li7jSC2BeseIJJXdKKD)

## 如何設定

<div><img src="/files/1NYHdy3MdzgC7Eeo3FTK" alt="點擊「新增」開始設定"> <img src="/files/N3BcTK5qmZzNJ2BJBEcL" alt=""> <figure><img src="/files/6OvtzZidKR3riHOsZ3pR" alt=""><figcaption></figcaption></figure></div>

1. 可以選擇是否要啟用「離線/即時訊息」
2. 設定收到訊息時的時間段：可以選擇任何時間或是特定時間。設定方式可以參考以下設定範例
3. 事件狀態：觸發該「離線/即時訊息」的對話事件狀態要在「處理中」的話請勾選
4. 設定內容可以使用文字或是機器人模組，使用文字時可使用聯絡人姓名參數功能，設定完畢後請按下「新增」

### 設定完畢後

![](/files/JUFyELx2nk0BWFrQhGSl)

1. 新增：您可以選擇是否新增多個回覆訊息
2. 每個訊息左上方數字代表優先觸發順序
3. 觸發次數：該訊息被觸發幾次
4. 編輯：您可以隨時進去修改該訊息設定
5. 刪除

### 設定範例（一）：同時設&#x5B9A;**「**&#x96E2;線訊息」及「即時回覆」

假設您的開店時間為 **星期一至五，早上 10 時整至晚上 7 時整**

首先，添加一個「**任何時間**」的即時回覆

<figure><img src="/files/9roOTq1EHncnZFMQg4t9" alt=""><figcaption></figcaption></figure>

然後，添加另一個即時回覆，在「**特定時間**」下，勾選 **星期一至星期五**，時間設為 **10:00 至 19:00**

<figure><img src="/files/yNJlIa32ihPqqb3DbLnw" alt="" width="563"><figcaption></figcaption></figure>

### 設定範例（二）：只設定「離線訊息」

假設您的開店時間為 **星期一至五，早上 10 時整至晚上 7 時整**

首先，添加一個即時回覆，在「**特定時間**」，勾選 **星期一至星期五**，時間設為 **19:00 至 09:59**

<figure><img src="/files/tBonZXUzl86HSTIJ9aqS" alt="" width="563"><figcaption></figcaption></figure>

然後，添加另一個即時回覆，在「**特定時間**」下，勾選 **星期六及星期日**，時間設為 **00:00 至 23:59**

<figure><img src="/files/5igTJRdo4iDFrXl1FUmh" alt="" width="563"><figcaption></figcaption></figure>

### 設定範例（三）：只設定「即時回覆」

假設你的開店時間為 **星期一至五，早上 10 時整至晚上 7 時整**

添加一個即時回覆，在「**特定時間**」下，勾選 **星期一至星期五**，時間設為 **10:00 至 19:00**

<figure><img src="/files/Ff5uN3UJJaNlBTpN54Cd" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
當客人第一次傳送訊息到您的 Instagram 帳號時，如果傳送的時間符合離線訊息或即時回覆的設定，系統會先發送「歡迎訊息」，客人在收到歡迎訊息後再次傳送的訊息，才會觸發離線訊息或即時回覆。
{% endhint %}

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


---

# 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/tong-xun-qu-dao/automated-messages/away-message-instant-reply.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.
