Skip to main content

Create Comment Reply

Comment Reply is a feature that allows your bot to react to users' comments on a Facebook post.

In short, Public Reply refers to the message which the bot will reply in your post's comment section. Apart from that, the bot can also inbox users privately on behalf of your Facebook page.

For this section, you will learn how to connect the chatbot to your Facebook posts on WOZTELL.

Expected Outcome

You are able to connect the chatbot to your Facebook post, and successfully receive a Comment Reply and a Inbox Reply.

Public reply
Public reply
Private reply
Private reply

You may download a sample result tree to cross check with your chatbot!


Create a Comment Reply Node

Enter your Bot Builder.
  1. Create a new tree and name it as Comment Reply Tree.

  2. Then, create the first node of this tree. Fill in the node details.

Create new tree & new node
Create new tree & new node
  1. Create a new response. Click "Add Platform", and select Facebook.
Create a Comment Reply
Create a Comment Reply
  1. Select "Public Reply" from the dropdown, and fill in the text content. This will appear as a reply in the comment section of your post.
Create a Comment Reply
Create a Comment Reply
  1. Select "More Response".
Create a Comment Reply
Create a Comment Reply
  1. Select "Like Comment", this response will automatically like the user's comment on behalf of your page.
Create a Comment Reply
Create a Comment Reply
  1. Select "More Response" again, create a text response. This text response will appear in user's inbox, asking them to check out the special menu.
Create a Comment Reply
Create a Comment Reply
  1. Click "+Quick Replies", create a quick reply "Yes" with the payload "HIDDEN_MENU", so that the users can click the button to proceed.
Create a Comment Reply
Create a Comment Reply

Create Global Node

  1. Create a Global Node for triggering the comment reply.
Facebook Comment
Create a Comment Reply
  1. Create a trigger, select the type Facebook Comment. Enter the relevant Facebook Page ID and Post ID (You can refer to the previous section).
tip

The dropdown list will be able to get Post ID and Page ID from your Facebook Integration.

Facebook Comment Trigger
Facebook Comment Trigger
Facebook Comment Trigger
Facebook Comment Trigger
  1. Fill in the comment keywords "Hidden Menu" as you specify on the post.
Create a Facebook comment trigger
Create a Facebook comment trigger
  1. Toggle on "Redirect" back to the first node and save this global node.
Redirect to Comment Reply
Redirect to Comemnt Reply

Create a Tree Node to Send Hidden Menu

  1. Then, repeat the same steps to create the tree node to send out the hidden menu.
Create a child node to send hidden menu
Create a child node to send hidden menu
  1. Create a new response under the platform "Facebook", select "Button" and fill in the text field. Then click "+ Buttons".
Create button response for hidden menu
Create button response for hidden menu
  1. Select "URL" as the button type, fill in the Title and Image URL.
Create button response for hidden menu
Create button response for hidden menu
  1. Create a new global node for triggering the "Send Hidden Menu" tree node.
Create Global Node
Create Global Node
  1. Create a keyword trigger for this global node.
Create Keyword Trigger
Create Keyword Trigger
  1. Redirect to the "Send Hidden Menu" tree node and remember to "Save" this node.
Create Keyword Trigger
Create Keyword Trigger

Add Tree into Channel

  1. Head to "Channels", click "Edit" to enter the Facebook channel.
Add global nodes into the testing channel
Add global nodes into the testing channel
  1. Go to your corresponding channel and add back the tree you have just created for this public/private bot. Remember to select the global node and click "Save".
Add back the chatbot tree
Add back the chatbot tree