> ## Documentation Index
> Fetch the complete documentation index at: https://chatbotx.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Instagram Comment Automation

> Set up Instagram Comment Automation in ChatbotX to reply to comments, send private messages, and filter responses by keywords.

**Instagram Comment Automation** helps you automatically handle comments on Instagram posts. When a customer comments, ChatbotX can post a public reply, send a private message, or start a prepared Flow.

Use this feature for promotions, quote requests, or moving interested customers from the comments into Inbox.

## How it works

Each automation has four main sections:

| Section               | Function                                                                               |
| --------------------- | -------------------------------------------------------------------------------------- |
| **Targeting & Reply** | Select the posts to track and choose how to reply to comments.                         |
| **Filters & Options** | Select which comments receive replies and limit how often replies are sent.            |
| **Reply Timing**      | Set when ChatbotX sends the reply.                                                     |
| **Hide Comments**     | Automatically hide comments based on their content and choose when to show them again. |

For example, a customer comments `price` on a product post. ChatbotX posts a public confirmation and then starts a consultation Flow in Inbox.

## Create an Instagram Comment Automation

<Steps>
  <Step title="Open Instagram Comment Automation">
    Select **Tools** from the left menu. Then click the **Instagram Comment Automation** card.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_tool_location.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=7b60b93ef6dc6c9a6bbef5346c83aa91" alt="Open Instagram Comment Automation from the Tools page" width="3055" height="1893" data-path="images/instagram_comment_automation_tool_location.png" />
    </Frame>
  </Step>

  <Step title="Create a new automation">
    Click **Create Automation**. Enter a clear name so you can find and manage the automation later.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_list.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=515467229f8f1510c91babc14e9f9c7d" alt="View and create Instagram comment automations" width="2475" height="1390" data-path="images/instagram_comment_automation_list.png" />
    </Frame>
  </Step>

  <Step title="Select the posts to track">
    Under **Track comments on**, select the post scope:

    * **All posts:** Track comments on every post.
    * **Specific posts:** Track comments only on the posts you select.

    When you use **Specific posts**, click **Choose posts...** and select one of these three methods:

    | Tab                 | When to use it                                              |
    | ------------------- | ----------------------------------------------------------- |
    | **Published posts** | Select from your published posts.                           |
    | **Reels**           | Select a Reel from the Instagram account.                   |
    | **Post ID**         | Enter an ID when you know the exact post you want to track. |

    Select the post, then click **Confirm**.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_select_posts.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=1628db960dd6281ffc3608c51f9b2653" alt="Select Instagram posts for comment automation" width="2469" height="1886" data-path="images/instagram_comment_automation_select_posts.png" />
    </Frame>
  </Step>

  <Step title="Choose how to reply">
    Configure **Private reply (inbox)** and **Public reply to comment** separately. Each section provides four options:

    | Option           | Result                                      |
    | ---------------- | ------------------------------------------- |
    | **Text message** | Send the text entered in **Reply message**. |
    | **Flow**         | Start a Flow created in ChatbotX.           |
    | **AI Agent**     | Let a configured AI Agent handle the reply. |
    | **No reply**     | Do not send this type of reply.             |

    You can combine the two sections. For example, use **Text message** for the public reply and **Flow** to continue the conversation in Inbox.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_targeting_and_reply.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=54b55d4de0b1a29e7f75af2f4ef2fde4" alt="Configure Instagram private and public comment replies" width="1765" height="1149" data-path="images/instagram_comment_automation_targeting_and_reply.png" />
    </Frame>
  </Step>

  <Step title="Filter the comments to reply to">
    In **Filters & Options**, select a condition under **Reply to (optional)**:

    | Condition        | How comments are matched                                      |
    | ---------------- | ------------------------------------------------------------- |
    | **All comments** | Reply to every comment.                                       |
    | **Exact match**  | Reply only when the entire comment exactly matches a keyword. |
    | **Contains**     | Reply when the comment contains at least one keyword.         |

    With **Exact match** or **Contains**, enter each keyword in **Keywords to match** and press Enter. Use **Exclude comments with these keywords** to skip comments containing unwanted words.

    Additional options include:

    * **Only reply to new contacts:** Reply only to people ChatbotX identifies as new contacts.
    * **Reply only once to each user per post:** Send only one automated reply to each person on each post.
    * **Reply to users who commented on other posts:** Continue replying to people who commented on another post.
    * **Don't reply to replies to comments:** Ignore replies nested under another comment.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_filters_and_options.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=01a40f2fe67a4118c0ab08656bbc438e" alt="Configure Instagram comment filters and reply options" width="1751" height="1075" data-path="images/instagram_comment_automation_filters_and_options.png" />
    </Frame>
  </Step>

  <Step title="Set the reply timing">
    Under **Reply Timing**, open **Reply after** and select when the reply should be sent:

    * **Immediately:** Reply as soon as the comment is received.
    * **After X seconds**, **After X minutes**, or **After X hours:** Reply after the delay you specify.
    * **Random within 3 minutes** through **Random within 60 minutes:** Reply at a random time within the selected period.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_reply_after.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=573b79b2b17aa0e15378748d59e5e2f0" alt="Set the Instagram comment automation reply timing" width="1760" height="414" data-path="images/instagram_comment_automation_reply_after.png" />
    </Frame>
  </Step>

  <Step title="Configure hidden comments and save">
    Under **Hide Comments**, select the types of comments to hide:

    * **Hide all comments:** Hide every comment handled by the automation.
    * **Contains phone number:** Hide comments containing a phone number.
    * **Contains link:** Hide comments containing a link.
    * **Contains keywords:** Hide comments containing words entered in **Keywords**.

    Under **Show comments after**, select **Never** to keep the comments hidden. You can also select **6h**, **12h**, or **1d** through **10d** to show them again after the corresponding period.

    Review the settings, then click **Save**.

    <Frame>
      <img src="https://mintcdn.com/chatbotx/hWNHMrmV1RfpaDtd/images/instagram_comment_automation_hide_comments.png?fit=max&auto=format&n=hWNHMrmV1RfpaDtd&q=85&s=f8b4dcec8fdf981220d9b8c984afdb71" alt="Configure hidden Instagram comments and save the automation" width="1762" height="1195" data-path="images/instagram_comment_automation_hide_comments.png" />
    </Frame>
  </Step>
</Steps>

## Example: collect quote requests

Suppose you want to handle price questions under a product post:

| Setting                                   | Suggested value                                                                                    |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------- |
| **Track comments on**                     | Select **Specific posts**, then choose the product post.                                           |
| **Private reply (inbox)**                 | Select **Flow**, then choose a consultation Flow that collects the customer's phone number.        |
| **Public reply to comment**               | Select **Text message** and enter: `I sent the details to your Inbox. Please check your messages.` |
| **Reply to (optional)**                   | Select **Contains** and add `price`, `how much`, and `consultation`.                               |
| **Reply only once to each user per post** | Enable this option to avoid repeated messages when one person comments more than once.             |
| **Reply after**                           | Select **Immediately**.                                                                            |
| **Contains phone number**                 | Enable this option to protect contact information posted in the comments.                          |

When a customer comments `How much is this product?`, the automation posts a public reply and starts the consultation Flow in Inbox. If the customer comments again on the same post, ChatbotX does not send another reply while the one-reply option is enabled.

## Manage automations

Use the automation list to find and monitor the automations you created:

* **Folders:** Create folders to organize automations by campaign or purpose.
* **Enter name:** Find an automation by name.
* **Status:** Use the switch to activate or pause an automation.
* **Replies:** View the number of replies sent by the automation.
* **Actions:** Click the three-dot menu to open the available actions for an automation.
* **Rows per page:** Select how many automations appear on each page.

<Note>
  Test the automation on one specific post before enabling it for multiple posts. Check both the public reply and the Inbox message to prevent incorrect content from being sent.
</Note>
