Comment Keywords
Enhance your social media engagement by automating responses to comments on your Facebook and Instagram posts. With Flexito's Comment Keywords feature, you can effortlessly manage interactions, ensuring timely replies and maintaining a consistent presence. This guide walks you th
Listen to an audio overview
A short, AI-generated podcast-style summary of this article.
Enhance your social media engagement by automating responses to comments on your Facebook and Instagram posts. With Flexito's Comment Keywords feature, you can effortlessly manage interactions, ensuring timely replies and maintaining a consistent presence. This guide walks you through setting up automated responses, integrating with Facebook Ads Manager, and leveraging AI for personalised interactions.
Introduction
Create FB Ad Post
Creating a Comment Keyword Trigger
Integration with Facebook Ads Manager
Creating the Comment Trigger Flow
End Result as Seen on FB Ad Post Comments
Comment Keywords enable your chatbot to automatically engage with users who comment on your Facebook or Instagram posts. The bot can like comments, reply publicly, and send private messages to those who comment.
How to Access Comment Keywords
Go to: Automation → Comment Keywords
Select the + Comment Keyword button located in the top right corner.
Setup Steps Step 1: Select Post Choose the Facebook or Instagram post you wish to monitor for comments. If the post is not listed, you can select 'custom post id' and enter it manually.
Step 2: Define Trigger Conditions Set up keywords and matching conditions. Options include:
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) |
Step 3: Create Reply Variations Add several variations for public comment replies.
Tip: Include at least five variations to prevent being flagged as spam by the platform.
Step 4: Select Private Message Flow Choose the flow that will be triggered when sending a private message to the commenter.
Important: The initial message must contain only one text message with a button. Users must interact with this message to become subscribers.
Step 5: Save Comment Payload (Advanced) Enable this feature to store comment data (including User ID, comment text, and other details) in a JSON variable for advanced applications.
This feature allows you to use comment information within your PM subflow to create AI-driven personalised 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: Refer to the "Facebook Ads Comment Automation with AI" section below for a comprehensive implementation example.
Step 6: Set Delay (Optional) Introduce a delay before the bot responds to simulate a more natural, human-like interaction.
Step 7: Configure Additional Settings Options available:
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
Access the full training tutorial here:
Instagram Comments Automation Tutorials
How to Use AI to Automatically Reply to Your Facebook Ads Comments
Introduction
A new feature allows you to like and reply to user comments on your dark posts or ads using the comment keyword trigger.
Create an FB Ad Post
Let's create an Ad Post in Ads Manager.
Creating a Comment Keyword Trigger
Go to Automations -> Comment Keywords -> Create New Comment Keyword
After clicking on New Comment Keyword, you can set up this function to trigger responses to FB Ad Post User Comments.
Let's configure the necessary parameters:
Select the FB Ads Post for which you need to respond to User Comments and give likes.
Set the comment condition to Anything (to trigger for all types of comments).
Public - Not used
Ensure the status is set to Active.
Save Comment Payload (the Comment information along with the User ID and other details are stored in this JSON Variable for further data retrieval).
Private Reply in Messenger - (select the Subflow that executes when the Comment Trigger occurs.
The following options are activated:
Reply to new User
Reply to existing Subscriber
Like the User Comments
Reply to replies to Comments
Integration with Facebook Ads Manager
Navigate to Integration -> Others -> Facebook Ads
Here, link your Ads Account Manager with your FB account Page.
Creating the Comment Trigger Flow
Let's proceed to the Subflow named Facebook ads comment trigger.
Here's an explanation of how to build this SubFlow:
Create a Condition block to differentiate between the keyword comment 'chatgpt' and general questions about your business or services.
When the comment is 'chatgpt', trigger an Action Block that calls the Facebook API for Ads Post Comment Reply Action.
In this Action Function, retrieve and map the Post or Comment ID from the JSON Variable declared in the Comment Trigger Automation.
Next, send a PM message to the user on their Messenger channel.
If the comment is not 'chatgpt', divert to another Action Block with OpenAI Integration, performing an Embedding Match with the user's comment to check if it relates to your business or services, and retrieve the related Openai_embed_text.
If the Embed Score is greater than 0.8, trigger an Action Block by integrating OpenAI Create Chat Completion Action.
Create a new variation of the Mapped output of Openai_embed_text and send the OpenAI variation reply to the FB Ad Post User's Comment.
If the Embed Score is less than 0.8, send the FB Ad Post comment collected in the JSON Variable to the Action Block with OpenAI - Create Chat Completion with a new System Message to OpenAI to respond or greet accordingly if the message is a greeting.
Condition Block -> JSON Variable - "fb_ads_comment match value with chatgpt"
Action Block -> Facebook API -> Ads Post Comment Reply Action
Message Block -> Send a PM message on Messenger to the Ad Post User Comment
Action Block -> Integration with OpenAI - Embedding Match
Condition Block -> Check if 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 FB Ad Post Comments
In conclusion, using OpenAI and ChatGPT to manage comments on your ad posts is straightforward. By following these steps, you can automate your comment responses and save time. Be sure to customise your replies and settings to suit your needs, and you'll efficiently manage comments.

