# Comment Keywords

A very important and great feature inside of chatbots is the ability to let the user comment, like and send a person a pm when that person responds to on a post on your Facebook and or Instagram page.

You can find this if you go to the left-hand menu and press **Automation** then select the **Comment Keyword** tab.

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

From here you will have a blue button in the top right corner name **+ New Comment Keyword**.

Once you have pressed the blue button **+ New Comment Keyword** then a pop-up window will open up. From here you will be able to set up your comment keyword trigger.

<figure><img src="/files/0fTwdZHX40bRUwmpYgdW" alt=""><figcaption><p>i</p></figcaption></figure>

During step 1 you will be able to select any of your Facebook or Instagram page posts depending on which channel you are in.

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

With step 2 you are able to type in your keywords and determine the condition on when it needs to be triggered. By default, it is on **contains**, but you have the following options to choose from:

**“If comment: Is Contains Starts with Is anything One of the following keywords”**

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

{% hint style="info" %}
Do note that if you select **Is anything** the ability to type in your keywords will be disabled.
{% endhint %}

On **step 3** you will be able to create variations with which the chatbot will be able to reply to users who comment on your Page posts.

Advised is to at least add 5 variations to avoid the algorithm marking the replies as spam.

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

With **step 4** you will be able to add the flow that will be triggered when the chatbot will send the pm to the commenter.

<div align="left"><figure><img src="/files/ns3mWVBJPLHfWi9eacsX" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
**NOTE:** make sure that your initial message contains only **1 text message with a button**. As this counts as a user opt-in the user first needs to interact with this message before becoming a subscriber to your chatbot.
{% endhint %}

Inside of **step 5** you are able to set up a delay for when the chatbot should reply and send a pm to the user.

<div align="left"><figure><img src="/files/1f2IQ3m8EKi55a1BrB3F" alt=""><figcaption></figcaption></figure></div>

This will make it more human-like experience-wise. But it is totally optional.

In the final step, you will be able to match any of the settings to your liking 🔥&#x20;

<div align="left"><figure><img src="/files/OknTglgIekH2ezDUZj2R" alt=""><figcaption></figcaption></figure></div>

Once done press the blue button on the top right or bottom name **Save** and your comment keyword will now be shown in the main overview


---

# 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.rapidbott.com/help-center/bot-automation/comment-keywords.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.
