> 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/en/features/marketing/keyword-autoreply.md).

# Auto Reply

Omnichat supports Chatbot Auto Reply, which can apply to website, Facebook Messenger, LINE official account, Instagram and WhatsApp

{% hint style="info" %}
**Previous Feature Name:** Keyword Auto Reply
{% endhint %}

{% hint style="info" %}
Notice:

Auto Reply will only be triggered in the "Open", "Chatbot" and "Closed" conversations by default. The conversations in "Progress" are considered to be taken over by Live chat, so you need to tick the "Progress" option under "and case status is", otherwise it cannot be triggered.
{% endhint %}

{% hint style="danger" %}
IG story reply: When customers reply your story, if customer's message contains the keyword, it will trigger auto reply private message.
{% endhint %}

## Step 1: Add New Group

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fd9y0plyOBdgAl9xCPsKG%2FAdd%20New%20Group%E6%8B%B7%E8%B2%9D.jpg?alt=media&amp;token=6e9409f1-1664-4418-b6fd-083b037d94c0" alt=""><figcaption></figcaption></figure>

## Step 2: Enter the Group Name and select the Target Messenger

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FfqZKF42TnPL7wRGzMNTY%2F%E6%88%AA%E5%9C%96%202023-04-26%20%E4%B8%8B%E5%8D%885.31.05.png?alt=media&amp;token=066330be-1abd-4db7-af24-f68894dad59f" alt=""><figcaption></figcaption></figure>

## Step 3:Add New Rule

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FMW770cp7PGB95tKjgpBN%2FAdd%20New%20Group%E6%8B%B7%E8%B2%9D2.jpg?alt=media&amp;token=69758417-d821-4d9c-a382-d25fc0a71485" alt=""><figcaption></figcaption></figure>

## Step 4: Set the Rules and Content

### Set the Text message reply

#### If you choose "Message Block", you need to select the chatbot and chatbot module you want to reply.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FSCblSmjd6bUJncBg5NIa%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8A%E5%8D%8811.29.03.png?alt=media&amp;token=41b51cbb-a332-414b-b506-3f062af837c0" alt=""><figcaption></figcaption></figure>

### Set the Message Block reply

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FNYC2rAWydSq0URmnH8vi%2FMessage%20Block%20reply.png?alt=media&amp;token=498df6aa-c82d-478a-aec9-d2542626f0d9" alt=""><figcaption></figcaption></figure>

### Set the Image reply

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FSl3CnQOTrGlbBi8xqaaJ%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8A%E5%8D%8811.28.20.png?alt=media&amp;token=a4177392-1898-4617-8369-c8aff92fe908" alt=""><figcaption></figcaption></figure>

### Set the Image + Text message reply (Only support WhatsApp / Website live chat)

{% hint style="info" %}
When you choose to reply with " **Text** " or " **Image + Text** ", you can click the blue box at the bottom right of the text input box to select \[**Customer Name**], and the system will include the name parameter of **{{system:cutomer\_name}}** in the content , the contact customer name will be automatically fetched.
{% endhint %}

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FllgI88YwddLSn2aqOHsj%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8A%E5%8D%8811.33.40.png?alt=media&amp;token=cfa4a322-dd68-4ee5-a94c-6211efe26761" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
When you choose to reply with " **text** " or " **picture + text** ", you can click the blue box **{{...}}** at the bottom right of the text input box to select " **Customer Name** ".\
And the system will include the name parameter of **{{system:customer\_name}}** in the content , the contact customer name will be automatically fetched.
{% endhint %}

### Set the Not reply any messages

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FliMyS4pvSOwwUJQtLfwb%2FNot%20reply%20any%20messages.png?alt=media&amp;token=e28a7f1a-97ce-4b9d-9797-6bfb7b05be50" alt=""><figcaption></figcaption></figure>

### Set the Sticker reply (Only support WhatsApp)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FFF5MJNkYLzznSdNYNbUK%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8A%E5%8D%8811.27.48.png?alt=media&amp;token=66a6d94b-81be-45c4-bb29-03f172c39720" alt=""><figcaption></figcaption></figure>

{% hint style="warning" %}
Noted: Stickers must have a transparent background, must be exactly 512x512 pixels, less than 100 KB and in WebP format.
{% endhint %}

## Step 5: Set Keyword Condition

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fna918jcbGxVNETWkOv23%2FKeyword%20Condition.png?alt=media&amp;token=a7b68148-1237-4fa6-bcfb-ddc1e13626dc" alt=""><figcaption></figcaption></figure>

### The Rules of Keywords

* Contains any
  * Example:
    * Keywords: A、 B、 C
    * Received message: I want to buy A -> Eligible ✅
* Contains all
  * Example:
    * Keywords: Buy、 B
    * Received message: I want to buy A -> Not Eligible ❌
    * Received message: I want to buy B -> Eligible ✅
* Is exactly the same as
  * Only one Keyword can be added
  * Example:
    * Keyword: 00
    * Received message: I want to buy 00 -> Not Eligible ❌
    * Received message: 00 -> Eligible ✅

## Step 6：Set Keyword Event Status

It is mainly divided into two states: " **Open/Closed/Chatbot** " and " **In Progress** ". The default status is " **Open/Closed/Chatbot** ". Here you can decide whether to check " **In Progress** ".

{% hint style="info" %}
If the event status of " **In Progress** " is checked, it means that when the customer service has followed up the event, the set keyword condition will be triggered.
{% endhint %}

#### When " In Progress " is not checked, Auto Reply can only be triggered in the three states of " Open/Closed/Chatbot ".

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FQyv2OF8JFlx92Wgp0LWU%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8B%E5%8D%8812.06.24.png?alt=media&amp;token=6fec9700-e383-41ad-a5cc-699959ea6361" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FXR3NSbXZwdWHFZOpP9lu%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8B%E5%8D%8812.08.56.png?alt=media&amp;token=6f867450-839a-45eb-a174-2b6d9ec27e61" alt=""><figcaption></figcaption></figure>

#### When there is a check " In Progress ", the Auto Reply is triggered:

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FHhVvotVXwYeOul9OIGy7%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8B%E5%8D%8812.06.42.png?alt=media&amp;token=e5ed74bd-2bf0-4794-b749-d6ece83e623f" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F4hzZScZ7Yoc8LyL6AyiA%2F%E6%88%AA%E5%9C%96%202023-05-02%20%E4%B8%8B%E5%8D%8812.11.17.png?alt=media&amp;token=5ab570d1-6dcd-4501-9f30-64b9f7142911" alt=""><figcaption></figcaption></figure>

## Auto Reply supports multiple channels

### Edit group/Add channel

#### When creating a keyword group, directly select multiple channels.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fz35jAIkiET9HMYvwy0aH%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8810.34.55.png?alt=media&amp;token=3c6ab742-1a79-467d-a50e-3a1d7b45b4a9" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FruUvSrxZ7kS95FVxP3J7%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8810.41.41.png?alt=media&amp;token=1d546768-7c58-4c86-b0d7-28e0d846c839" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
If you find that you cannot change the channels of group, please copy the group and then change it.
{% endhint %}

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F7XXyblNXtKkGTJV0uJtM%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8810.36.01.png?alt=media&amp;token=23a315a8-0ca8-48e6-b07e-b51b241552b1" alt=""><figcaption></figcaption></figure>

## Clone the new Group

#### After the grouping of a single channel and the keyword conditions below are set, you can click the "Copy" button to copy the set keyword conditions to other channels that need to be used.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FByfKAk6dc0LAOBXcpYft%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8810.53.34.png?alt=media&amp;token=c60ae648-679e-4f4c-99bf-eb1b168eea5c" alt=""><figcaption><p>Target module</p></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F4QhJyOAwNsnRU3p0XJUi%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8810.58.06.png?alt=media&amp;token=aa9b2651-223b-4b8d-bf3e-4d866cab8077" alt=""><figcaption><p>Select new channel</p></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FZSyVSydW85ceE0XWxkjo%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8810.55.19.png?alt=media&amp;token=66266163-0865-476e-93db-26da119b2bad" alt=""><figcaption><p>Cloned module</p></figcaption></figure>

## Keyword Tagging

When a customer triggers the keyword, the tag can be added to this contact\
\*\* Customers need to connect with LINE / FB Messenger / Instagram / WhatsApp , or leave their email before)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F1TbgdO92YtXY7dLdAmLN%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8811.02.11.png?alt=media&amp;token=9794529b-e500-41e6-98ff-6af4bac2afed" alt=""><figcaption></figcaption></figure>

## Keyword QR code

{% hint style="info" %}
Notice:\
Keyword QR code can only support one keyword, if there are multiple keywords, the QR code cannot be generated
{% endhint %}

Step 1: Set the keyword's rule (Need to include **1 Keyword** to generate QR code), and set the reply message (For Auto Reply setting, please refer to [Setting of Auto Reply and Content](#step-1-add-new-group))

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Fdr8BfobKszwonrZtCC4G%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8811.21.10.png?alt=media&amp;token=ab7f3dd5-bcd7-43e7-bf85-6fdfe7633d43" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2Ft3FTk4BRxbZqb3Z2Vf9o%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8811.21.33.png?alt=media&amp;token=9b02d031-f098-40a1-87dd-6e5818aab0d9" alt=""><figcaption></figcaption></figure>

Step 2: When the customer scans the QR code, the preset keyword will be shown in the input box. Then, the customer sends the keyword and auto-reply message will be triggered

<div><figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FjDxd7CaJ5OVvxJQKjvWS%2F9711.jpg?alt=media&amp;token=24d65a06-51a5-4034-9ecb-2ee1f154119c" alt=""><figcaption><p>The set keywords are automatically generated in the input window</p></figcaption></figure> <figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FRVm018rBqQ2I2D9wvOhl%2F9710.jpg?alt=media&amp;token=a67b48c1-375b-4b36-94cc-7079282ca845" alt=""><figcaption><p>After sending the keyword, trigger the already set auto-reply content</p></figcaption></figure></div>

{% hint style="info" %}
In the keyword QR Code of **FB Message**, **LINE**, and **IG**, if there is an edit to modify the keyword or the content of the triggered response, the QR Code and link will not change accordingly.
{% endhint %}

### QR code supports WhatsApp DeepLink

* For WhatsApp's Keyword QR code, you can choose the “**Static Link**” or “**WhatsApp DeepLink**”
* ***Static Link*****：** If the keyword changes, the QR code and link will not change accordingly
* **WhatsApp DeepLink：** Provided to WhatsApp built-in QR code Scanner for scanning. If the keyword changes, the QR code and link will change accordingly.

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2F8i6zpyg05fodbOsgsshN%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8A%E5%8D%8811.21.49.png?alt=media&amp;token=87923efe-6aaf-47d5-93aa-f7f0a083adf3" alt=""><figcaption></figcaption></figure>

## Utilise Keyword QR code for Tagging

### Scenario: Add different tags for customers who join WhatsApp from different channels

Step 1: Select WhatsApp to create a new group and set the rule of keywords. Then you can set different keywords for different channels. For example, for the Watsons channel, you can use Watsons' related keywords. Different Auto Reply can also be set for different channels.\
\
(For Auto Reply setting, please refer to [Setting of Auto Reply and Content](#step-1-add-new-group))

{% hint style="info" %}
Notice:\
If the Keyword changes, the QR code will also be changed. If you change the reply content without changing the Keyword, the QR Code will not change.
{% endhint %}

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FlCPhVhdB20QrHcafBm47%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8B%E5%8D%8812.04.49.png?alt=media&amp;token=72364257-c87d-46c6-878a-fcf4902efdcc" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FCE1Il2rDJy5PDA9jCgwW%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8B%E5%8D%8812.10.30.png?alt=media&amp;token=0250dd3f-e835-4488-8bee-894b0801d528" alt=""><figcaption></figcaption></figure>

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FCgQfaBDStHwsy0qergF2%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8B%E5%8D%8812.06.02.png?alt=media&amp;token=24d4dd31-f14b-4925-ae86-2c0e8e8c59f5" alt=""><figcaption></figcaption></figure>

Step 2: When customers scan the QRCode, they will enter the WhatsApp chatbot, and the preset keyword will be shown in the input box (Please refer to the following image: Get new product detail!). When customers sent out the keyword, the tag will be added to the contact

<div><figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FrrRQD1murwQ1MOIxh5m9%2F9716.jpg?alt=media&amp;token=484028fd-9a9c-47c4-8b06-3120f68db2e6" alt=""><figcaption><p>The set keywords are automatically generated in the input window</p></figcaption></figure> <figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FVg8Kq4vKeB7DYfEdTgja%2F9714.jpg?alt=media&amp;token=9c9dbd5a-9dec-4bdc-ae3c-0ac7295a9e2d" alt=""><figcaption><p>After sending the keyword, trigger the already set auto-reply content</p></figcaption></figure></div>

Step 3: Go to "Audience & Broadcast" > WhatsApp, you can see the tagged customers, and then you can filter the tagged contacts you need (Please refer to [Audience & Broadcast](broken://pages/-LeT8jIL7a4Ek1hyvXAp) setting)

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FHAcxQXQbdmCglpXbiMEA%2F%E6%88%AA%E5%9C%96%202023-04-28%20%E4%B8%8B%E5%8D%8812.21.23.png?alt=media&amp;token=2d13061d-dfd8-4b33-8cdb-f6b530ce79ec" alt=""><figcaption></figcaption></figure>

## Auto Reply (Don't need to send message manually)

Step 1: Set LIFF ID first, please refer to [LIFF Setting](/en/features/social-subscriber-integration/liff-setting.md)

Step 2: Please approach you Omnichat consultant to enable Auto Reply feature

Step 3: Finish

<figure><img src="https://2848678129-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F3u2I1osIy6mEi07X1z46%2Fuploads%2FJOQdKZYNXJPV4t84YWDD%2F%E8%9E%A2%E5%B9%95%E5%BF%AB%E7%85%A7%202023-06-12%20%E6%96%BC%2014.05.08%20%E4%B8%8B%E5%8D%88.png?alt=media&amp;token=734ef5f9-e61b-4920-9efc-ebf44866bee9" alt=""><figcaption><p>Customers scan QR or click the link will trigger auto reply, they won't need to send message manually</p></figcaption></figure>

{% hint style="info" %}
Once this feature is enabled, please noted following points

1. Customers don't need to input verification code.

The process will be: Scan QR code > Open LINE app > Finish binding

2. Binding message is "Push API" and will be charged
3. Auto reply message is "Push API“ and will be charged
   {% endhint %}

## Q & A

#### Q: If the message sent by the customer matches two rules of keyword, which rule will be triggered?

A: The last (latest) created rule will be triggered.
