ChatBots Messenger ChatBot DialogFlow and nodejs

Dialogflow ES Messenger chatbot: intents, contexts, Node.js webhook, database, webviews & handover
🎁 Get our premium AI courses free for life:
👉 https://myaiforthat.com/supporters/sign_up
Build a Facebook Messenger chatbot with Dialogflow ES and Node.js: FAQs, a job interview flow, rich messages, a webhook backend, a Postgres database, broadcasts, webviews and human handover.
⏱️ Chapters
0:00 Course Preview
1:29 Welcome & What You'll Build
5:54 What Are Chatbots?
9:06 Chatbot Architecture
12:22 Create a Facebook Page
14:22 Create a Facebook App
16:05 Dialogflow Setup
20:50 Connect Dialogflow to Messenger
24:09 First Conversation
29:02 Answer FAQs
36:24 Test & Train the Bot
41:53 Job Enquiry Intent
48:22 Collect Candidate Info
1:00:21 Test the Job Interview
1:04:49 No Application Context
1:07:35 Rich Messages: Cards & Images
1:17:30 Rich Messages: Buttons & Replies
1:21:50 Prebuilt Agents
1:28:25 Follow-Up Intents
1:34:31 Intent Priority
1:35:29 App Review Steps
1:41:37 pages_messaging Permission
1:44:17 App Basic Settings
1:46:45 Privacy Policy Page
1:50:17 Submit for Review
1:54:05 Part 2: Node.js Backend
1:59:42 Heroku, Git & Node.js
2:05:52 Starter Project
2:13:08 Project Configuration
2:20:18 Google Service Accounts
2:26:29 Code Walkthrough: Events
2:33:53 Code Walkthrough: Messages
2:42:11 Keeping Secrets Secure
2:44:58 First Deploy
2:49:35 Common Deploy Mistakes
2:53:46 Capture Conversation Data
2:58:51 Email the Application
3:11:11 Button Messages
3:17:22 Greeting & Get Started
3:26:35 Persistent Menu
3:33:13 Disable Text Input
3:35:10 Get User Info
3:39:36 Quick Replies in Prompts
3:44:20 Third-Party API Setup
3:52:37 Make the Service Call
3:57:47 Postgres Database Setup
4:03:29 Users Table
4:08:39 Save User Info
4:14:09 Refactor User Module
4:19:17 Refactor app.js
4:25:19 User Preferences
4:29:49 Colors Intent
4:31:16 Preference Tables
4:36:19 Read Options from DB
4:40:20 Remember the Choice
4:44:26 Use Saved Preferences
4:48:40 Refactored Code Tour
4:54:51 Trigger Intents with Events
4:58:16 Broadcasting Intro
5:01:44 Newsletter Quick Menu
5:05:00 Save Subscriptions
5:10:29 Unsubscribe Flow
5:12:49 Subscribe from Menu
5:15:51 Notification Permission
5:18:44 Broadcast Admin App
5:20:43 Facebook Login Setup
5:32:12 Login Authentication
5:40:26 EJS Login Page
5:45:04 Logged-In User
5:48:54 Secure the Login
5:52:04 Broadcast Form
5:54:16 Confirmation Page
6:02:24 Send the Broadcast
6:05:28 Webviews Intro
6:08:56 Whitelist Domains
6:14:28 First Webview
6:19:41 Settings Form
6:22:36 Close the Webview
6:24:41 Read Form Data
6:28:07 User ID via Extensions
6:31:57 Materialize Styling
6:38:58 Save Settings
6:42:07 Show Saved Settings
6:45:11 Handover Protocol Intro
6:50:20 Handover Flow
6:55:17 Handover Setup
6:57:45 Pass Thread Control
7:01:36 Standby Channel
7:04:07 Handover + Intents
7:06:57 Test the Handover
7:12:19 Validate Parameters
7:36:20 Call Intent from Fulfillment
7:50:45 Prevent Conversation Loops
8:13:20 Names in Fulfillment
8:30:36 Read Names in Backend
8:40:14 Conclusion
⚠️ Recorded in 2020: Heroku's free tier is gone and some Messenger features and Facebook review rules have changed. Expect to adapt hosting and permissions, never share API keys, and follow Meta's messaging policies for broadcasts.
🔔 Subscribe for practical AI tutorials, tested before they are taught.
🚀 Go Further
📚 All courses: https://myaiforthat.com/collections/all
🎓 Members area: https://myaiforthat.com/supporters/videos
📲 Follow MyAiForThat
YouTube: https://www.youtube.com/@MyAiForThat
Website: https://myaiforthat.com
⭐ Enjoying our lessons? Leave a review:
https://www.trustpilot.com/review/myaiforthat.com
🤝 Partnerships: [email protected]
🛟 Member support: [email protected]
🔥 Intents, contexts and webhooks: the fundamentals every bot builder still needs.
#PromptWriting #MyAiForThat #AITools #LearnAI #AITutorial #Dialogflow
