ChatBots: Messenger ChatBot with API.AI and Node.JS
4.5 (757 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,433 students enrolled
Wishlisted Wishlist

Please confirm that you want to add ChatBots: Messenger ChatBot with API.AI and Node.JS to your Wishlist.

Add to Wishlist

ChatBots: Messenger ChatBot with API.AI and Node.JS

Use API.AI to train chatbot to answer questions and have dialogs. Master API.AI. Create chatbot for Messenger. Chatbots
Best Seller
4.5 (757 ratings)
Instead of using a simple lifetime average, Udemy calculates a course's star rating by considering a number of different factors such as the number of ratings, the age of ratings, and the likelihood of fraudulent ratings.
3,433 students enrolled
Created by Jana Bergant
Last updated 9/2017
Current price: $10 Original price: $50 Discount: 80% off
5 hours left at this price!
30-Day Money-Back Guarantee
  • 5 hours on-demand video
  • 20 Articles
  • 6 Supplemental Resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
What Will I 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
  • 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 API.AI
  • have a chatbot that answers FAQ
View Curriculum
  • 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 personal 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 take job interviews. We’ll use API.AI to process natural language, that is understand what users want. Chat bot will communicate to it’s customers via the Facebook Messenger. 

And in the second part we’ll use Node.js to upgrade the bot. So the basic knowledge of javascript and Node.js 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 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 for other people. 

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

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


Last edit:

12. September

- updated videos for creating fb app, connecting ApiAi with fb app and publishing a chatbot


Do you want to catch the train in the new tech revolution, the bot revolution?

Chatbots represent one of the major trends in 2016. Some have even suggested they’ll eventually supplant our app-based ecosystem. 

App leaders like Facebook, who want to guarantee that people spend most of their time in their apps, are placing big bets on aggregating content and collecting bot integrations to keep users active and engaged.

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!


Edit history:

26. July:

- updated videos with Rich messages, persistant menu

- added video for start button, greeting text and disable user input

12. July:

More work with a database - retrieving and using user's preferences


- Prebuilt agents

- Follow-up intents

16. January:

- save and retrieve information from a chatbot to a database

- add quick replies to parameters


- we learn how to add rich messages to your Chatbot in API.AI. 

- we learn how to connect to 3rd party api, get data from it and use it in a chatbot

- I added extra resources for chatbot prototyping, chatbot analytics, chatbot developer platforms, chatbot stores, chatbot marketing, chatbot translators, chatbot customer service engines, chatbot job boards, chatbot magazines, chatbot newsletters, discussion forums, podcasts and conferences

11.September: added 2 part of the course. We upgrade the chatbot, add new features using Node.JS


So join me and let's build a chat bot together!

Who is the target audience?
  • everybody that realizes the potential chatbots bring
  • everybody who wan't a deeper knowledge of API.AI
  • 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
Compare to Other Node.Js Courses
Curriculum For This Course
73 Lectures
Introduction to the course
5 Lectures 11:03

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 03:59

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 API.AI. You'll understand how chatbots work behind the scenes.

ChatBot behind the scenes

ChatBot architecture
Connect Facebook app with API.AI and have a first conversation with the chatbot
5 Lectures 14:44

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 API.AI

Create a Facebook application - updated 12.Sept

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

API.AI setup and introduction

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

Connect API.AI and Facebook application - updated 12.Sept

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

First conversation with your bot
Teach chatbot to answer FAQ. Test and train the ChatBot
2 Lectures 12:53

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 API.AI tool for training.

How to test and train a ChatBot
Teach a bot how to have dialogs. Master API.AI!
4 Lectures 26:28
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 API.AI contexts.

No application context
Rich messages
2 Lectures 14:14

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.

Rich messages Part 1 - - updated on 26th July

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.

Rich messages Part 2 - updated on 26th July
Make your chatbot super smart!
4 Lectures 16:13

API.AI offers powerful knowledge packages that you can use with your bot. Your chat bot can learn how to:

  • be polite, 
  • tell weather, 
  • make reservations in a restaurant, 
  • schedule a flight, 
  • read recent news, 
  • tell you common knowledge, 
  • call a number, 
  • compose and read a message or email, 
  • control music, 
  • change name of users,  
  • search a web,
  • open websites,
  • open, close, remove, search apps,
  • work with time and date,
  • perform basic calculations and conversions,
  • work with calendar,
  • work with reminders and notifications,
  • manage apps (open, close, update),
  • search in maps,
  • navigate to places, 
  • search for venues,
  • control device's settings,
  • change default format for units,
  • translate text to various languages,
  • switch between different languages,
  • search for things to buy,
  • work with notes,
  • work with tasks,
  • work with Twitter and Facebook,
  • search for events,
  • request a Taxi.
Preview 02:03 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.

Prebuilt agents

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

Follow-up intents

You can not set the intents priority 

API.AI intents priority
Publish a chatbot
1 Lecture 05:49

You'll learn what you need to do to get your chatboot approved with the Facebook review team.

Make your chatbot public - updated 12.Sept
Upgrade a chatbot - PART 2
3 Lectures 18:35

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
5 Lectures 22:45

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

Project configuration

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

First deploy to server

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
Add extra features to Chatbot
11 Lectures 59:37
Quick replies notes

We'll add quick replies in the job enquiry, so that users can click on the job they want.

Add quick replies to job enquiery

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

Get information from conversation - part 1

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

Get information from conversation - part 2

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 - updated on 26th July

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
6 More Sections
About the Instructor
Jana Bergant
4.6 Average rating
1,101 Reviews
7,206 Students
3 Courses
Web developer, IT instructor

I 'm web developer with over 17 years of experience. I have track record of success in delivering web solutions. I’ve developed a wide variety of web applications.

I am also an IT instructor teaching web development. I love to teach and inspire my students. And I love making complex web development topics easy to understand.

I'm passionate about teaching web development and I love to teach interesting new trends in development. Like ChatBots right now :)

I’m a self–taught programmer, so I know how frustrating can it be at the beginning with so many resources and not knowing where to turn first. And bugs, all those bugs!

My experience as a self-taught developer with no previous experience has directly influenced my teaching style, and I am now proud to help students reach their goals and helping them with their first steps, first jobs in the world of programming.

Being a web developer has its perks but it can be difficult as well. There never seems to be enough time for what we want to learn and master. Particularly at the beginning things can get overwhelming.

I'm driven to help people experience the positive side of switching to web development, not the negative.

Sign up to my courses and join me in this amazing adventure today.