Chatbot Tutorial Roadmap
Since this is a vast topic and beyond the scope of a single article, I have divided the sections into multiple articles. In the first article, we saw how to create a chatbot using Google’s Dialogflow and test the bot in the Dialogflow console. We also saw how it could be integrated with Slack. The second article demonstrated how to create a custom chatbot using Microsoft’s Bot Framework and enable the webhooks in Dialogflow and return the response from the custom bot to Dialogflow intents as a fulfillment response. This third article of the series (this one) will demonstrate how to integrate the complete created bot in part two and three with Facebook Messenger and Slack and test the webhook response in the two environments. Following are the links of all three articles of the tutorial series about learning how to create a custom chatbot.
- Your first Chatbot using Microsoft’s Bot Framework and Dialogflow API: Part 1 (Dialogflow and Slack Integration)
- Your first Chatbot using Microsoft’s Bot Framework and Dialogflow API: Part 2 (Bot using Microsoft’s Bot Framework)
- Your first Chatbot using Microsoft’s Bot Framework and Dialogflow API: Part 3 (Integrate and test the bot on Slack and Facebook Messenger)
Prerequisites
The reader of this article is expected to have covered the first two articles in the series.
Deploy the Chatbot in Facebook Messenger
Our initial basic bot is completed. You can enhance it more as per your will and requirement. In this section, we’ll see how to deploy the bot on Facebook messenger as a chatbot to our custom Facebook page.
So, the need here would be like this. Suppose you have a Facebook page for your business/company and you need to deploy a feature of auto chatbot in that page so that any visitor can seek information or talk to that bot.
First things first; for the deployment of the bot to the Facebook page, we need to have a Facebook page.
- Open the Facebook URL and sign in with your existing Facebook credentials or create a new account.

- I am signing in with my existing Facebook account. It will ask to create a Facebook developers account, and yes, we need to, so click Next.

- Provide the App Name (whatever you want) and contact email and click Next.

- Pass the security check and click Submit.

- It will show the welcome message and ask to add your first product. Click on “Add Your First Product” button.

- The next screen you’ll see is the Facebook developer’s dashboard. Since we need to set up the Facebook Messenger, click on the button to setup messenger as shown below.

- You need to have an access token and a secret key for that. So, navigate to Settings and scroll down to the section that says Token Generation. Select an existing page if you have or create a new one as per your wish.

- Select the type of page you want to create i.e. Community or Business.

- Provide the page name and the category.

- You can skip the steps like providing profile pic or choose to apply one.

- In the next step, you’ll see the page created.

- Now again go to settings and Token generation section and choose the newly created page.

- It will again prompt you for authentication. Do that.






















Join the conversation! Your thoughts help the community grow.