How to integrate ChatBot with Messenger

Daria Zaboj product content specialist
Daria Zabój
4 min read
updated: Apr 28, 2023

Create a Facebook Messenger chatbot with a few clicks. Make it easier for your followers and potential customers to connect with you regardless of the time of day.

Connect ChatBot with Facebook MessengerLink icon

  1. Go to the story view and choose Messenger from the Integrations menu.

  2. Click the Connect with Messenger button.

  3. Continue with your logged-in account.

  4. Select a fan page or pages you want to connect with ChatBot. Click the Next button.

  5. Adjust permissions. Without them, the Messenger integration won’t work correctly. Click Done.

  6. To continue, click Ok.

  7. The integration will show on the list. Click on the Connect button to activate ChatBot on your page.

  8. Decide whether to turn the Get started button on or off. We recommend turning it on. Add a greeting that will show in the Messenger window.

The Get started button informs a user about the possibility of connecting with your chatbot. We recommend turning the Get started button 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 Story. In this case, you can’t get full control over your chatbot’s behavior and experience.

The Get started button informs a user about the possibility of connecting with your chatbot. We recommend turning the Get started button 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 Story. In this case, you can’t get full control over your chatbot’s behavior and experience.

  1. Click the Add integration button.

  2. Your active integration will show on the list.

How to disable an active integrationLink icon

When you finish the integration process, it shows on the list active by default. You can disable it by sliding the blue toggle. When the integration is inactive, the slider is gray.

How to delete the Messenger integrationLink icon

  1. Choose the Messenger integration from the Integrations list.

  2. Click on the Delete integration field.

  3. Confirm.

Facebook allows displaying 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, please use the Gallery response where you can add more than one card within one bot response.
Facebook allows displaying 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, please use the Gallery response where you can add more than one card within one bot response.

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?Link icon

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.

chatbot messenger integration

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

  1. Go to your fan page’s Settings section.

    Facebook Messenger

  2. Choose the Advanced Messaging section on the left-hand side of the screen.

    facebook messneger chatbot integration

  3. Check if ChatBot is displayed there.

    chatbot for facebook messenger

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

Why doesn’t my Story function properly after I integrated ChatBot with Facebook Messenger?Link icon

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:Link icon

  •  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?Link icon

  • 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.

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