Comment Keywords
A very important and great feature inside of UChat is the ability to let the chatbot 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.
From here you will have a blue button in the top right corner name + New Comment Keyword.
How to create a Comment Keyword Automation
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.
If we follow along with the image above we have 6 steps to take.
During step 1 you will be able to select any of your Facebook or Instagram page posts depending on which channel you are in.
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”
Do note that if you select Is anything the ability to type in your keywords will be disabled.
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.
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.
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.
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.
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.
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
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:
We are selecting the FB Ads Post, for which we need to reply for the Ads Post User Comments and give likes.
Comment is Anything, (need to trigger for types of Comments)
Public - Not used
Status set to Active
Save Comment Payload (the Comment information along with the User ID & other details are stored in this JSON Variable for further data retrieving.
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:
Create a Condition block - to differentiate between the Keyword comment chatgpt and general questions asked about your Business / Services
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.
In this Action Function, we are retrieving and Mapping the Post or Comment ID from the JSON Variable declared in the Comment Trigger Automation.
Next we are sending a PM Message to the User on their Messenger.Channel.
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.
Incase the Embed Score is >0.8, we are triggering an Action Block by Integration of OpenAI Create Chat Completion Action.
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.
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.