ChatBots: Messenger ChatBot - DialogFlow and nodejs
4.4 (2,604 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
13,391 students enrolled

ChatBots: Messenger ChatBot - DialogFlow and nodejs

Use DialogFlow to train chatbot to have dialogs. Develop backend app to connect chatbot to web services and databases
4.4 (2,604 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
13,393 students enrolled
Created by Jana Bergant
Last updated 5/2020
English, Italian [Auto], 3 more
  • Polish [Auto]
  • Portuguese [Auto]
  • Spanish [Auto]
Current price: $111.99 Original price: $159.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 9 hours on-demand video
  • 13 articles
  • 13 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Assignments
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • understand how chatbots work
  • build chatbots for Messenger
  • know how to create custom code to add flexibility to your chatbot
  • have in-depth knowledge of natural language processing with DialogFlow
  • know and use the fb messenger api
  • get information from the conversation
  • add persistent menu
  • use all the possible message types: text, images, video, quick replies, buttons, carousels,...
  • students will get a codebase that is easily extendable
  • have a chatbot that can be easily extended to connect to other APIs
  • add rich media messages in DialogFlow
  • have a chatbot that answers FAQ
Course content
Expand all 118 lectures 09:20:26
+ Introduction to the course
7 lectures 13:19

I'll introduce myself and show you the project we'll build that is ChatBot that can answer frequently asked questions and give job interviews. We'll also talk about what makes chatbots such a great opportunity. I'll also give you some tips on how you can reach me. 

Preview 04:25

In this video I'll introduce you to bots and ChatBots. And we'll talk about chatbot engines.

You'll get your first instructions.

Preview 03:11
What can I do with bots?

You'll get an overview of the chat bot architecture. And you'll see how we can include a ChatBot engine like DialogFlow. You'll understand how chatbots work behind the scenes.

ChatBot behind the scenes
ChatBot architecture
How to get help
Additional resources
+ Connect Facebook app with DailogFlow / have a first conversation with a chatbot
5 lectures 16:38

You'll learn how to create a Facebook page and we'll set one up for the chatbot we'll be building. Facebook page will be a page for our new bot.

Create a Facebook page

You'll learn how to create a Facebook application and set it up so we can connect it to DialogFlow

Create a Facebook application

We'll setup DialogFlow and we'll make first steps in connecting DialogFlow with Facebook app.

DialogFlow setup and introduction

We'll connect Facebook App with DialogFlow agent and this will be a starting point for the new chatbot.

Connect DialogFlow and Facebook application - updated

You'll have your first conversation with the new chatbot via the DialogFlow and via the Messenger. 

First conversation with your bot
+ Teach chatbot to answer FAQ. Test and train the ChatBot
2 lectures 12:49

You'll learn how to train a chat bot to answer frequently asked question instead of you!

Show chat bot how to answer FAQ

You'll learn how to test a ChatBot and you'll learn how to train chat bot. We'll use the powerful DialogFlow tool for training.

How to test and train a ChatBot / Add friends as testers
+ Teach a bot how to have dialogs. Master DialogFlow!
4 lectures 25:48
Chatbot job enquiry

You'll learn how to train a chat bot to get candidates info.

Teach chat bot to take candidates info

You'll learn how to test a chatbot. 

Test your chatbot - job interview test

You'll learn how to diverse dialogs. One thing happens if users want to apply and the other if they don't. With this simple example you'll know hot to teach a chatbot even more complex dialogs with the DialogFlow contexts.

No application context
+ Rich messages
2 lectures 14:07

In this video we'll work with rich messages. Rich messages yo can use with Facebook are image, card, quick replies and custom payload. We'll take a look at them in this video.

DialogFlow - Rich messages Part 1

In this video we'll play with custom payload. Custom payload enables you to send structured messages. I'll tell you more in the video.

DialogFlow - Rich messages Part 2
+ Extra DialogFlow features
4 lectures 13:35 offers prebuilt agents for your bot with the premade knowledge for common things like:

- navigation

- Flights

- Currency converter

- Food delivery 

- Date

- Hotel Booking

- News

- Music

- Maps

- Smart home

- Radio

- Traffic

And many more...

Prebuild agent enable even faster development of chatbots.

Preview 06:34

Follow up intent will help you build more natural dialog flow fro your bot

Follow-up intents

You can not set the intents priority 

DialogFlow intents priority
DialogFlow tutorial FREE ebook
+ Publish a chatbot
5 lectures 18:59

In this video I will tell you what steps need to be taken to have your chatbot live on Messenger. We will talk about rights, permissions and features. And what is the minimal steps to have your bot aproved

Introduction to app review - Steps to take

Pages_messaging enables our app to send and receive messages using Facebook page. It is the right you need to have if you want your bot to have permissions to answer questions on your pages behalf.

Get the pages_messaging right

We will add all the basic information that is needed to submit your chatbot.

Facebook app basic settings

You will learn how to use online FREE service to get a privacy policy link for your chatbot.

Privacy policy link for Facebook app

And finally we will submit the request. You will have to verify your business or verify the individual information if you are individual. And after that you will be finally able to make your chatbot go live.

Submit for review / publish the chatbot on Messenger
+ Upgrade a chatbot - PART 2
3 lectures 19:02

Introduction to second part where we will upgrade our bot. We'll talk about the change in the infrastructure and the new options we'll have.

Preview 05:36

Introduction to Node.JS, GIT, Heroku server

Heroku, GIT and Node.js

Set up initial project in nodejs

Initial project in Node.js
+ Code walkthrough and configuration
9 lectures 40:35

Set the configuration parameters for the project. Connect elements together.

Project configuration
Google authentication / service accounts / google project
How to test Messenger Bots localy?

Let's go trough all the initial code together. Part 1

Code walktrough - part 1

Let's go trough all the initial code together. Part 2

Code walktrough - part 2
Take care of security

Deploy, that is publish, to Heroku server with a simple GIT command

First deploy to server
Common mistakes that happen when first deploying to Heroku
GRPC not working with node v12 WARNING!
+ Add extra features to Chatbot
10 lectures 50:58

Get the parameters from the conversation, from the dialog. Part 1.

Get information from conversation - part 1 - updated

Get the parameters from the conversation, from the dialog. Part 2.

Get information from conversation - part 2 - updated

We'll test new feature, to see if the mail is sent.

Test new feature
Send button message - delivery extra options

In this video we'll set the greeting text that will appear to users that visit your bot for the first time.

Set a greeting text for your chatbot
Set get started button
Set persistant menu

In this video we'll take a closer look on how to disable text input for the user. If you want your user's to communicate only with menus, quick replies and buttons, then this is the vide you need to look at.

Disable text input
Get information about the user
Quick replies in parameters
  • you need to know what chatbots are
  • for the second part of the course you need to know the basics of JavaScript and Node.js

Do you want to build a chatbot, so a bot that can talk? Yes, a bot that can talk to your friends or customers or fans while you sleep or do something else. You can make one for your customer that keep on asking the same questions. Or if you have a community for your fans and followers that want to know your details. Use your imagination, any time you have to reply the same thing over and over again, someone else like a bot can do it for you.

In the first part of the course, we'll make a chatbot without programming skills. We'll build a ChatBot that can answer frequently asked questions, and I'll show you how to teach your bot to have any other dialogs. We'll learn this by teaching our ChatBot to make job interviews.

We'll use DialogFlow to process natural language. DialogFlow will help the bot to understand what users want.

The chatbot will communicate to its customers via Facebook Messenger.

And in the second part, we'll use NodeJS to upgrade the bot. So the basic knowledge of javascript and NodeJS is needed.

With the new app, our bot will be able to remember things, that is, store information into a database or connect to other API services. With this, the bot will gain external knowledge and functionality.


At the end of the course, you'll have a fully functional ChatBot. And you'll also know how to teach the bot to have other dialogs with customers. You'll know how to make a bot for yourself and other people.

My name is Jana Bergant, and I'm a developer with over 20 years of experience. I'm an IT instructor teaching people new tech skills. Over 17000 people are already taking my course.

I help all my students at every step of development. And I'll be here for you!

So if the predictions turn right, this will open up a new channel for businesses to reach a large audience. And here is a BIG OPPORTUNITY FOR YOU! Be one of the first people that know how to build chatbots. You can build it for your business or other people.

This course will show you how to create a ChatBot!

In the course, we use the latest version of DialogFlow. Also, I update videos regularly to stay up to date.

The last update of the course was on 27th February 2020

I added DialogFlow mega agents

Who this course is for:
  • everybody that realizes the potential chatbots bring
  • everybody who wan't a deeper knowledge of DialogFlow
  • everybody who wants to build a chatbot for Messanger
  • everybody who needs a bot to answer FAQ
  • everybody who needs a bot to take job interviews
  • everybody who need the bot to talk to customers or friend or fans or ...
  • You should not take the course if you don't know what chatbot is. Take a peak at the first FREE videos first!
  • for the second part of the course you need to know the basics of JavaScript and Node.js