Comment Keywords

Comment Keywords


Comment Keywords allow your chatbot to automatically respond when users comment on your Facebook or Instagram posts. The bot can like comments, reply publicly, and send private messages to commenters.

Accessing Comment Keywords

Navigate to: Automation → Comment Keywords

Click the + Comment Keyword button in the top right corner.

image-20260201-221728.png

Setup Steps

Step 1: Select Post

Choose the Facebook or Instagram post you want to monitor for comments. If you cannot find it you can choose custom post id and insert the same.

image-20260201-221758.png

Step 2: Define Trigger Conditions

Set keywords and matching conditions. Available options:

Condition

Description

Is

Exact matches any keyword in a list

Contains

Triggers if keyword appears anywhere in comment (default)

Starts with

Comment must begin with keyword

Is anything

Triggers on any comment (keyword field disabled)

image-20260201-221818.png

Step 3: Create Reply Variations

Add multiple reply variations for public comments.

Tip: Add at least 5 variations to avoid being flagged as spam by the platform.

image-20260201-221832.png

Step 4: Select Private Message Flow

Choose the flow to trigger when sending a private message to the commenter.

Important: The initial message must contain only 1 text message with a button. Users must interact with this message to become subscribers.

image-20260201-221930.png

Step 5: Save Comment Payload (Advanced)

Enable this option to store the comment data (including User ID, comment text, and other details) in a JSON variable for advanced use cases.

This allows you to use the comment information within your PM subflow to create AI-powered personalized responses. For example:

  • Custom DM responses: Use AI integrations within your flow to generate personalized private messages based on the comment content.

  • AI-powered public replies: Generate contextual public comment replies using AI. This requires the use of Instagram API or Facebook API Advanced Action node within the subflow (detailed in the use case section below).

Note: See the "Facebook Ads Comment Automation with AI" section below for a complete implementation example.

image-20260201-221957.png

Step 6: Set Delay (Optional)

Add a delay before the bot responds to create a more natural, human-like experience.

image-20260201-222014.png

Step 7: Configure Additional Settings

Available options:

  • Reply to new users

  • Reply to existing subscribers

  • Like user comments

  • Reply to replies on comments

Click Save to activate your Comment Keyword automation.Facebook Comments Automation Tutorials

Check full training tutorial here:

Instagram Comments Automation Tutorials

How to using AI to automatically reply your Facebook Ads Comments

Introduction

A New Feature has been introduced, where the user comments on your dark post or ads, you can give a Like as well as reply to these User Comments under the comment keyword trigger.

 

Create FB Ad Post

Let’s create a Ad Post in Ads Manager.

 

Creating A Comment Keyword Trigger

 

Automations -> Comment Keywords -> Create New Comment Keyword

 

Once we click on New Comment Keyword, we can set up this function to trigger our FB Ad Post User Comments.

 

Let’s set up the required parameters:

 

 

  1. We are selecting the FB Ads Post, for which we need to reply for the Ads Post User Comments and give likes.

  2. Comment is Anything, (need to trigger for types of Comments)

  3. Public - Not used

Status set to Active

  1. Save Comment Payload (the Comment information along with the User ID & other details are stored in this JSON Variable for further data retrieving.

  2. Private Reply in Messenger - (selecting the Subflow, which executes when the Comment Trigger happens.

Following Options are turned Active

  • Reply to new User

  • Reply to existing Subscriber

  • Like the User Comments

  • Reply to replies to Comments

 

Integration With Facebook Ads Manager

Integration -> Others -> Facebook Ads

 

 

Here you are linking your Ads Account Manager along with your FB account Page

 

 

Creating the Comment Trigger Flow

Lets go to the Subflow which we have name as Facebook ads comment trigger

 

Let me explain the concept in building this SubFlow:

  1. Create a Condition block - to differentiate between the Keyword comment chatgpt and general questions asked about your Business / Services

  2. Once the Comment is chapgpt, we are triggering an Action Block where we are calling the Facebook API for Ads Post Comment Reply Action Function.

  3. In this Action Function, we are retrieving and Mapping the Post or Comment ID from the JSON Variable declared in the Comment Trigger Automation.

  4. Next we are sending a PM Message to the User on their Messenger.Channel.

  5. In case the Comment is not chatgpt, we are diverting to another Action Block with OpenAI Integration, where we are doing an Embedding Match with the User’s Comment to check the comment is related to our Business / services we offer and retrieving the related Openai_embed_text.

  6. Incase the Embed Score is >0.8, we are triggering an Action Block by Integration of OpenAI Create Chat Completion Action.

  7. Here we are creating a new variation of the Mapped output of Openai_embed_text, and sending the OpenAI variation reply to the FB Ad Post User’s Comment.

  8. In case the Embed Score is <0.8, the FB Ad Post comment collected in the JSON Variable to be sent to the Action block with OpenAI - Create Chat Completion with a new System Message to OpenAI to answer or greet accordingly if the message is a greeting message.

 

 

Condition Block -> Json Variable - “fb_ads_comment match value with chatgpt”

 

Action Block -> Facebook API -> Ads Post Comment Reply Action

 

 

 

 

Message Block -> Sending a PM message on Messenger to the Ad Post User Comment

 

Action Block -> Integration with OpenAI - Embedding Match

 

 

Condition Block -> Check openai_embed_score is greater than or equal to 0.8

 

Action Block -> Integration with OpenAI - Create Chat Completion function

 

 

 

 

Action Block -> Integration with OpenAI - Create Chat Completion function

 

 

Note: As the page was big, split into two - up and below images includes one page.

 

Action Block -> Advanced Actions -> Facebook API

 

End Result as seen on the FB Ad Post Comments

In conclusion, managing comments for your ad posts with OpenAI and ChatGPT is a simple process. By following these steps, you can automate your comment responses and save time. Make sure to customize your replies and settings to your liking, and you'll be on your way to managing comments effectively.