What is a Facebook Chatbot and How to Create It?


By Joren Wouters Updated on

Are you struggling to turn your Facebook followers into leads? Or is your Facebook inbox flooded with messages? Then, you should create a Facebook Chatbot.

So in this tutorial, I will explain:

  • What Facebook chatbots are
  • How you can create your first Facebook automations
  • And how to automatically reply to comments and messages on Facebook

And I will even give you two free templates so you don’t have to build it out yourself.

Let’s dive in!

What is a Facebook Bot?

A Facebook chatbot is a program that automatically replies to comments and messages on Facebook. These bots have multiple conversations with different people at the same time and work 24/7! Using these bots, you can:

How to Create a Facebook Chatbot for Free

Creating Facebook chatbots is super easy and can be done by following 4 steps. To create one, here’s what you need to do:

Step 1: Create a Free ManyChat account

ManyChat is the chat automation platform I have been using for my own clients because it is:

  • Easy to use: you don’t need any prior chat automation experience
  • There is no risk of getting banned since the platform is 100% Meta approved.
  • It’s very cheap, comes with a free plan, and their paid plan starts at just $15 per month.

To create a ManyChat account, just click the button below:

Create Free ManyChat Account

Now click on Get Started:


Then, click on Facebook Messenger:

Get started with Manychat using your Facebook account

Once you’ve done that, click on the Continue with Facebook option to log in with your Facebook profile:

Continue with your Facebook account to log in to Manychat

Step 2: Connect your Facebook Page to ManyChat

Once you are logged in with your Facebook account, you need to give Manychat access to your Facebook Profile. Here, you can just click on Continue as:

Give Manychat access to your Facebook profile

Then, Manychat will ask you a couple of questions and you need to verify your email address:

Verify your email address when creating your Manychat account

Lastly, you need to click on Connect for the Facebook Page you want to connect:

Connect your Facebook Page to Manychat

And now your Facebook Page is connected to Manychat!

Important: You still need to do the next step to use all Manychat features for your Facebook Page! So let’s go to the next step.

Step 3: Set Manychat as Primary Receiver

You also need to ensure that the Current Page Role is set to Primary.

Enable button page role in ManyChat Facebook page

If it’s set to primary, you can check the Handover Protocol support page and follow the steps explained in the article. Remember, if this isn’t set to primary, the reply automation and all the features will not work properly.

Once you’ve done that, you can create your first ManyChat automation.

Step 4: Create your Facebook Greeting Message

The first thing we’re going to do is create an automated greeting message. So, when someone reaches out to you on Facebook, the chatbot will automatically greet them.

To create this message, go to Automation and click on New Automation:

Add a New Automation in Manychat

Now click in the top right corner and rename the chat flow. For this tutorial, we’ll call it Facebook Greeting Message.

Greeting message for Facebook in ManyChat

In ManyChat, each automation consists of a trigger and the content of the flow. To set up the trigger, click on Add Trigger.

ManyChat Add Trigger button

Then, choose Messenger and click on User sends a message:

Manychat User Sends a Message Button

Now choose the Detect specific word in message option:

Manychat Detect Specific Message Option

Now, click on +Keyword to add different options. You can add words like Hi, Hey, Hello, and more. Once you’ve done that, click on Create:

Greeting keywords for Facebook automation in ManyChat

The next step here is to create the actual greeting message. To do this, go over to the content flow and choose Messenger.

ManyChat Messenger button for Facebook automation

Here, you can add the actual text. But, when you’re creating your greeting message, remember you need to:

  1. Greet the user.
  2. Tell them they are talking to a chatbot.
  3. Let them know if the chatbot doesn’t know the right answer, they can be connected to a real support agent.
  4. Ask their questions and tell them what they need to do.

Here’s the example message I created for this tutorial:

“Hey! 👋 

I will try to answer your question. If I don’t know the answer, I can always connect you with a support agent. 

What is your question about? 

Just type in your question below 👇”

ManyChat greeting message setup for Facebook automation
Now, all you have to do is click on the Set Live button, and your automation is working!

Greeting Message Set Live option in ManyChat for Facebook automation

How to Boost Sales with a Facebook Bot

As mentioned, Facebook chatbots can be used for different purposes, one of which is to boost sales. Doing so can double your conversions when compared to other channels, such as email or landing pages.

For this tutorial, let’s say you’re a fitness coach who’s selling a program for people looking to gain muscle. In this case, your Facebook post could read something like:

“Comment “GAIN” below and unlock your personal 50% discount code!”

Now, let’s say that you have the chatbot step up. When someone comments “GAIN,” your chatbot will automatically reply to their comment and can send a message using Facebook Messenger.

It’s pretty cool, isn’t it? Let’s look at how you can build this automation in ManyChat.

To do this, first, click Automation and then click New Automation.

Add a New Automation in Manychat

When creating a chatbot, the first thing we need to do is create a trigger. To do that, click on the New Trigger option.

Add a new trigger to a Manychat flow

Now, choose User comments on your Post option.

User comments on post ManyChat Facebook Automation

Once you’ve done that, you can choose whether you want the chatbot to reply to a specific post or any post in general. I recommend going with any post because, this way, you can just use the same automation over and over again.

Here, you can also choose whether you want to reply to any comment or the ones that contain specific words. For this tutorial, since we’re only replying to people who comment “GAIN” we will choose the comment contains specific words option.

To add the specific word, click on +Keyword and type in “GAIN.” But remember, you should also include some variations of that word, as some people could make spelling mistakes.

Tigger Configuration in ManyChat Facebook Chatbots

Another thing you need to do is turn on the Track first-level comments-only option.

First level comments only in Facebook ManyChat

Now, replies will only be sent to first-level comments. These are the initial comments on a Facebook post, whereas second-level comments are replies to the initial ones. Then, you need to turn on the Public auto-response in Feed option.

Here, ManyChat will randomly select one of the variations.

By adding multiple variations, the replies seem more authentic and it don’t come off as spam. Once you’ve added the response, check the Like comment option to automatically drop a like, and then click Save.

Facebook comments auto reply in ManyChat

The next thing we need to do is determine the messages that will be sent in Facebook Messenger. To add the first message, click the Messenger option.

Add a new trigger to a ManyChat flow

Now, choose the Send as Comment Reply option. If you don’t choose this option, the automation protocols won’t work.

Send as Comment Reply option in ManyChat

When you do that, you’ll notice that you’re only allowed to add text, quick replies, and buttons in the first message.  So, the first message could say something like: 

“Are you ready to gain more muscle and take your body to the next level?

Just click the button below to unlock your 50% discount. 👇”

Now, click on the Add Button option to add an action that people can take, and then click Done.

Facebook Message Add Button options in ManyChat

When someone clicks on this button, we can send them a new message. That message could be something like this: 

“You can use this coupon code on checkout to unlock your 50% discount: DISCOUNT50

Just click the button below to get access to the program.👇” 

To continue, paste the message in ManyChat and then add a button redirecting users to your website. Click the Open website option to add a link to your website.

ManyChat Facebook Message Add Button option to website URL

Now, enter your website URL and click Done.

Enter Website URL in ManyChat Facebook message

And here’s what complete automation will look like.

Complete preview of Facebook automation

What you need to know here is that we even take this automation one step further. We can use it to retarget users. The best part of doing this is that since we’re using a Facebook Chat Funnel, we can re-target the user for free! 

To do this, we need to add a Smart Delay.

ManyChat Smart Delay Option

Then, we need to set the duration of that delay to 1 hour.

ManyChat Smart Delay Duration

What this means is that ManyChat will wait for one hour and then continue with the automation. 

After the Smart Delay, we can add another Facebook message asking the user whether or not they were able to access the program. Along with the message, you can also add two quick reply options:

Facebook message for Smart Delay in ManyChat

If they click on the first quick reply, we can send another Facebook message that says: 

“That’s great! I’m glad you are part of the program. If you have any questions going through it, feel free to send an email to info@chatimize.com.”

However, if they haven’t joined the program yet, your next message could be something like: 

“I understand! I will bring in someone from our team to help you with this. 💪.”

Smart Delay Facebook message in ManyChat

From here, you can assign the conversation to one of your sales agents, who can close the deal. To do that, click Next Step, then click +Actions, then click +Action again.

Action Button for ManyChat Facebook Automation

Now, choose the Live Chat option, and then click Mark conversation as Open.

Add the action Mark Conversation as Open in Manychat

Click on Live Chat again, and now choose Assign conversation to assign it to a specific team member.

Add the action Assign Conversation in Manychat

After that, click +Action, Live Chat, and then Notify Assignees to send a notification to the team member.

Add the Notify Assignee action in Manychat

And that’s how to create a Facebook chatbot that replies to comments and can also be used for retargeting. All that’s left to do now is click the Set Live button. 

Complete automation preview in ManyChat

How To Auto Reply to Facebook Messages

Since we are promoting a program, it’s possible that people will have questions about it. Guess what? We can use a Facebook chatbot to answer these questions. To do that, click Automation and then click New Automation.

Add a new automation in ManyChat

After that, you need to choose which questions you want to reply to. People can have a lot of different questions, but for all these examples, we chose payments. Some common questions about payment could be:

  1. What payment plans are available for the program?
  2. What payment methods are available?

To set up automatic responses, click New Trigger and choose the User sends a message option.

ManyChat User Sends a Message button

Now, choose the Detect specific words in message option.

ManyChat Detect specific words in a message button

Once you’ve done that, click +Keyword, enter “payment” as a keyword, and then click Create.

Adding Payment keyword in ManyChat

Once you have done that, click the Messenger option to add a new message.

Facebook automation Messenger button in ManyChat

In that message, you must reply to the question that the user is asking and need to make sure response protocols are set to within 24 hours. The response itself could be something like:

“You can pay for our program by using a credit card or Paypal. The program is available for a one-time payment of $199 or you can pay in three terms of $99.”

Payment message reply for Facebook automation in ManyChat

Now add another message that acts as a follow-up asking the users whether their question has been answered or not. Here, you also need to include two buttons.

Payment message reply options for Facebook automation in ManyChat

If they say “Yes,” you can end or continue the conversation by sending a message similar to:

“Great! If you have any other questions, feel free to ask them here. 😊”

However, if their response is “No,” you can ask them whether they want to be connected to a support agent or not by saying:

“That’s a bummer… Shall I connect you to one of our customer support agents?”

Payment message reply automation messages for Facebook in ManyChat

If they want to be connected to a customer, you say something like, “We will now connect you with one of our support agents.” Then, you can mark the conversation as open, assign the conversation to one of your agents and notify the person that it’s assigned to.

Connect to agent in ManyChat

However, if they don’t want the conversation to be assigned to a support agent, you can send them a message similar to this:

“Okay! If you have any other questions, feel free to ask them here 😊”

Do not connect to agent in ManyChat

Once you’ve done that, click the Set Live button, and you’re good to go.

Facebook automation sequence for questions in ManyChat

You can even replicate this automation for other questions coming to your Facebook inbox. If you want to learn more about automating responses to questions in your Facebook inbox, I have a complete course called Customer Support System. You can visit my website to learn more about the course.

Get Free Facebook Chatbots Template

And that’s how you can create a chatbot for Facebook!

Want to get started right away? Just fill in the form below and download my FREE template:

Facebook Chatbot Template

Your Next Steps

And that’s all it takes to create a Facebook chatbot.

Now I want to hear from you:

How do you plan on using Facebook chatbots?

Let me know in the comments below!

Leave a Reply