How to integrate ChatBot with Messenger

Image of an author
Sylwia Kocur
5 min read
updated: Dec 4, 2024

Connect your chatbot to a Facebook page with a few clicks. This will make it easier for your followers and potential customers to connect with you regardless of the time of day.

Start your free ChatBot trial to connect the bot to your Facebook page!
Start your free ChatBot trial to connect the bot to your Facebook page!

The bot will ensure your customers are always cared for, and you can review their chats in the Archives. You can stay on top of the cases resolved by the bot by adding your users to Segments and collecting their information in the All leads section in the Visitors section.

Good to knowLink icon

  • The integration does not support the typing indicator, delay, and welcome interaction, so you must remember to put the User input block at the beginning.

    Check what Keywords/Machine Learning phrases you have in the User input block at the start of your bot flow - you need to use them correctly for the bot to start the chat later. You can also create an attribute with the Any validation type.

  • If you previously integrated bots into Facebook Messenger, you might need to use the Edit settings option first to ensure the correct page is selected.

  • Facebook allows only 3 buttons in the Button bot response type. So, if you have more than 3 options and you’d like to use the button response, use the Gallery response, where you can add more than one card within one bot response.

  • The Get started button informs users about the possibility of connecting with your chatbot. We recommend turning it on because it improves the conversation flow. Every user who clicks on this button will see your welcome message. 

    If you turn the Get started button off, the welcome interaction will be triggered only if a user types in the input that matches this interaction. In other cases, the bot may display the fallback message. It’ll be repeated until the user’s query matches the phrases included in your bot flow. In this case, you can’t get full control over your chatbot’s behavior and experience.

Connect ChatBot with MessengerLink icon

You can connect your bot to the Facebook page in the bot builder view.

Before you start the integration process, ensure your page is not added to the Meta Business Suite. You won’t see the page on the pages list available to connect if the page is added to the Suite.
Before you start the integration process, ensure your page is not added to the Meta Business Suite. You won’t see the page on the pages list available to connect if the page is added to the Suite.
  1. Go to your bot and open the Integrations panel. Choose Messenger from the list.

  2. Continue with your logged-in account. Choose the Opt in to current Pages only option (1) and select the page from the list (2). Continue.

  1. Review and ensure all permissions are granted. Save.

  2. The selected page will be displayed in the integration configurator. Click the Connect button.

  3. Decide whether to turn the Get started button on or off. Add a Welcome greeting that will show in the Messenger window. Click the Add integration button.

    We recommend turning the Get started button on.

  1. The integration will appear on the integrations list.

How to disable the Messenger integrationLink icon

When you finish the integration process, it is active by default on the list. You can disable it by sliding the toggle to the off position in the Integrations panel. When the integration is inactive, the slider is gray.

Switch the toggle back on to enable the bot on your Facebook page again.

How to delete the Messenger integrationLink icon

To delete the integration, go to the Integrations panel and click on the Facebook integration. Click the Delete integration button at the bottom. Confirm your choice.

Deleting the integration erases the bot from the Facebook page entirely. If you’d like to enable the bot again, you must start the integration process from the start.
Deleting the integration erases the bot from the Facebook page entirely. If you’d like to enable the bot again, you must start the integration process from the start.

Integrating ChatBot with LiveChat and MessengerLink icon

To Integrate ChatBot with both LiveChat and Messenger, you need to add the Facebook Messenger integration on the LiveChat side first. Only after that can you add ChatBot to LiveChat.

If you’ve already integrated ChatBot with Messenger and want to add the LiveChat integration, you need to disconnect ChatBot from Messenger first. Then, integrate LiveChat with Messenger. Lastly, connect ChatBot with LiveChat by following this tutorial.

FAQLink icon

  • While integrating ChatBot with Messenger, I can’t see any of my fan pages on the list. What should I do? - Log out of Facebook in your ChatBot app. Log in again, and click on the Edit Settings button. Your fan pages should appear on the list.

  • How can I verify whether ChatBot is connected to my Facebook page?

    1. Go to your page Settings.
    2. Go to the Page setup section.
    3. View the Advanced Messaging section.
    4. The ChatBot.com app should be at the top of the site.

    If you integrate ChatBot with LiveChat and Messenger, LiveChat should be displayed on that list instead of ChatBot.

  • Why doesn’t my bot function properly after integrating ChatBot with Facebook Messenger? - You probably turned the Get started button off. If you do that, a chat session starts when a user sends a message, and not when they click on the Get started button. Then, if a user asks a question that isn’t covered in the story, the bot will display the fallback message, and that’s not a bug.

    How you can change that:

    • If you’re using ChatBot, Messenger, and LiveChat together, enable the pre-chat form.
    • If you’re using the ChatBot and Messenger integration, enable the Get started button.

    How can you enable the Get started button in Facebook Messenger?

    • If you’re using the ChatBot and Facebook Messenger integration, you can turn on the Get started button in the Integrations section here.
    • If you’re using ChatBot, LiveChat, and Messenger together, you have to do it via the API call described here.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products