ChatBots: Messenger ChatBot – DialogFlow and nodejs

ChatBots: Messenger ChatBot – DialogFlow and nodejs

English | MP4 | AVC 1280×720 | AAC 44KHz 2ch | 9h 20m | 5.25 GB

Use DialogFlow to train chatbot to have dialogs. Develop backend app to connect chatbot to web services and databases 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. 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
+ Table of Contents

Introduction to the course
1 Introduction
2 ChatBots – what are they and how do we build one
3 What can I do with bots
4 ChatBot behind the scenes
5 ChatBot architecture
6 How to get help
7 Additional resources

Connect Facebook app with DailogFlow have a first conversation with a chatbot
8 Create a Facebook page
9 Create a Facebook application
10 DialogFlow setup and introduction
11 Connect DialogFlow and Facebook application – updated
12 First conversation with your bot

Teach chatbot to answer FAQ. Test and train the ChatBot
13 Show chat bot how to answer FAQ
14 How to test and train a ChatBot Add friends as testers

Teach a bot how to have dialogs. Master DialogFlow!
15 Chatbot job enquiry
16 Teach chat bot to take candidates info
17 Test your chatbot – job interview test
18 No application context

Rich messages
19 DialogFlow – Rich messages Part 1
20 DialogFlow – Rich messages Part 2

Extra DialogFlow features
21 Prebuilt agents
22 Follow-up intents
23 DialogFlow intents priority
24 DialogFlow tutorial FREE ebook

Publish a chatbot
25 Introduction to app review – Steps to take
26 Get the pages messaging right
27 Facebook app basic settings
28 Privacy policy link for Facebook app
29 Submit for review publish the chatbot on Messenger

Upgrade a chatbot – PART 2
30 Introduction to part 2
31 Heroku, GIT and Node.js
32 Initial project in Node.js

Code walkthrough and configuration
33 Project configuration
34 Google authentication service accounts google project
35 How to test Messenger Bots localy
36 Code walktrough – part 1
37 Code walktrough – part 2
38 Take care of security
39 First deploy to server
40 Common mistakes that happen when first deploying to Heroku
41 GRPC not working with node v12 WARNING!

Add extra features to Chatbot
42 Get information from conversation – part 1 – updated
43 Get information from conversation – part 2 – updated
44 Test new feature
45 Send button message – delivery extra options
46 Set a greeting text for your chatbot
47 Set get started button
48 Persistent menu is no longer supported
49 Set persistant menu
50 Disable text input
51 Get information about the user
52 Quick replies in parameters

Connect to 3rd party API
53 Connect to 3rd party API – Part 1
54 Request module upgrade
55 Connect to 3rd party API – Part 2
56 Publish the update

Save and retrieve information into a database
57 Setup a database for the chatbot on Heroku
58 Create user table for the user information
59 Save user information into a database
60 Postgres authorization with certificates
61 Refactor user module – Part 1
62 Refactor user module – Part 2
63 More work with a database – retrieving and using user’s preferences
64 Create DialogFlow intent for colors inquiry
65 Setup database tables to store information and user’s preference
66 Read information user seeks (available colors) from database
67 Remember user’s preference (color)
68 Use user’s preference later in the conversation – updated
69 Refactor all the bot code
70 DialogFlow – trigger the intent with event

Broadcasting messages to users
71 Introduction to broadcasting
72 Newsletter Quick menu callback
73 Newsletter save settings to database
74 Newsletter unsubscribe
75 Newsletter quick menu – Subscribe to news
76 Get the FB rights to send notifications – updated
77 Application for sending news to bot users
78 Facebook login Introduction and setup -updated
79 Ejs templating Introduction
80 Facebook Login Authentication implementation
81 Ejs templates and login page
82 Logged in user object
83 Secure login
84 Broadcast form
85 Broadcast confirm
86 Send messages

Messenger WebViews
87 WebViews Introduction
88 Whitelisting domains
89 Add WebView to persistent menu
90 Create first WebView
91 Create settings form
92 Close WebView window
93 Get information from a WebView (the form)
94 Get user id from Messenger Extensions
95 Beautify form with Materialize design
96 Save setting from a WebView to a database
97 Read settings from database and display them in a WebView

Handover protocol – chatbots work hand in hand with live agents and other bots
98 Handover protocol – Introduction
99 Handover protocol Flow
100 Handover protocol setup
101 Pass thread control – code
102 Stand by channel events
103 Connecting the dots with DialogFlow intents
104 Test the conversation

Extra content – DialogFlow Q&A
105 How to validate a parameter in DialogFlow
106 How to call another intent from DialogFlow fulfillment
107 How to prevent parameter validation loop in bots
108 REGEXP entities
109 Regex cheat sheet
110 Allow automated expansion
111 Fuzzy matching
112 DialogFlow Mega Agents

Sentiment analysis
113 Sentiment analysis in a nutshell
114 Sentiment analysis for a chatbot
115 Common implementation scenarios in chatbot
116 More about sentiment analysis

Platforms, NLP & Libraries for Voice Bots & Chatbots
117 Tools for chatbot and voice bot developers

Conclusion
118 Conclusion

BONUS section
119 Bonus lecture discount for my students