Facebook Messenger Channels
- Create a new Facebook Messenger Channel
- Create a new Messenger/WhatsApp bot
- Link your bot to a Facebook Messenger Channel (your Facebook page)
- Add the bot in the Settings of your Facebook Page
- How to preview a Messenger bot
- FAQ and Troubleshooting
Create a new Facebook Messenger Channel
To create a new Facebook Messenger Channel, click on the Channels icon on the left bar of your Dashboard, then click on Messenger.
Click on the Create a new Channel button.
Then, click on the Log In button and you'll be redirected to Facebook.
Log-in into your Facebook account with your email and password.
Once you're logged-in, you'll be able to select the Facebook page you want from the dropdown menu.
Choose a Name for your facebook channel and click on Confirm.
Now you'll be able to see your Facebook Messenger Channel created in your Channel section.
The info showed on the channel preview are: the creation date, the channel's name, the linked bot and the number of chats.
Create a new Messenger/WhatsApp bot
Click on Build a chatbot in the top-right corner of your dashboard:
Then on Start from scratch:
Then, you'll have the option to choose the channel you want to create the bot for: choose Messenger and WhatsApp.
You'll be redirected to the your New bot's builder.
Notice that, at this point, your new bot will have a logo of both Messenger and WhatsApp.
That's because we didn't link the bot to a channel yet.
You can keep it like this if you are taking your time to just build the bot.
But, if you want to run some tests in Facebook, or put the bot in production on your Facebook page, you need to link it to the channel you previously created (step 1 of this article).
Let's learn how to do it in the next step!
Link your bot to a Facebook Messenger Channel (your Facebook page)
To have your bot linked with your Facebook page, go back to Channels > Messenger > your Messenger channel > Linked bot.
Then, choose the bot you want to link from the dropdown menu and click on Link Bot, then on Confirm.
Notice that, if you go back to the dashboard, the bot's logo has changed to the Messenger logo.
⚠️ Keep in mind that, after you link a bot to a specific channel, you can't duplicate it for another channel.
So, if you want to use the same bot for your WhatsApp and Facebook, make sure you duplicate it when it's still "unliked" (WhatsApp and Facebook combined logos) ⚠️
Add the bot in the Settings of your Facebook Page
To do so, access your Facebook Page and click on Settings > Advanced Messaging > Choose the option Responses are all automated.
How to preview a Messenger bot
Please read this article to learn how to preview a Messenger bot!
FAQ and Troubleshooting
Can I link the same facebook page to multiple bots?
❌ No. You can have just a bot active on your facebook page at the same time.
✅ Of course, you can change the bot at any time from the Linked Bot section, as we've seen before.
Can I create multiple channels with the same Facebook page?
❌ No, you can't create multiple Messenger channels with the same Facebook page. If you try to do this, you'll get this error:
✅ What you can do is have multiple channels, each from different Facebook pages (from the same Facebook account).
Can I send a proactive message to open the chat?
It is possible to do this in the setup of your Facebook Page.
Go to the page Settings > Choose Messaging from the left side Menu > Starting a Messenger Conversation > turn the option "show a greeting" ON > Customize the message .
Renew Facebook Token
Since the Messenger bots integrate with Facebook, there is some setup required in your own Facebook page.
Facebook requires you to update the token every couple of months. The tokens have to be manually updated.
So to renew the token, you just have to link the bot again to the Messenger Channel (doing the login in Facebook, if required again)
This process automatically renews the token, and it's always the first thing to try when the sending/reception fails!
Update pages in Business Integrations setup in the Facebook account.
If you are not being able to see the facebook page you want to integrate with Landbot, Please access your Facebook Account and click on the Settings option on the upper right side.
After this, click on the option Business integrations:
Click on the View and Edit option in the Landbot.io integration, and add the pages you want to display in Landbot.
Save your changes, refresh the page in Facebook and Landbot, and you should be able to see all pages in Landbot 🚀