Smart human takeover & auto pause AI-powered Facebook Messenger chatbot
Ready for 3.0What this workflow does
This AI workflow has 32 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Google Gemini Chat Model.
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- Confirm Webhook (Respond to Webhook): sends the response back to the webhook caller
- Is message (If): checks a condition and branches into true / false
- Set Context (Edit Fields (Set)): sets or maps fields
- Is from page? (If): checks a condition and branches into true / false
- User is Reciepient (Edit Fields (Set)): sets or maps fields
- User is Sender (Edit Fields (Set)): sets or maps fields
- Is from AI? (If): checks a condition and branches into true / false
- Check Paused List (Data table): uses Data table
- Insert to Paused List (Data table): uses Data table
- In Paused List? (If): checks a condition and branches into true / false
…plus 20 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (11)
- Webhook
n8n-nodes-base.webhook - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Wait
n8n-nodes-base.wait - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - If
n8n-nodes-base.if - Data table
n8n-nodes-base.dataTable - Respond to Webhook
n8n-nodes-base.respondToWebhook - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
🤖 Facebook Messenger Chatbot - Smart Human Takeover, Auto Pause & Context-Aware Adaptable to n8n 1.113+ and 2.x by Nguyen Thieu Toan (Jay Nguyen) --- 📖 Overview An intelligent Facebook Messenger chatbot that automatically detects human agent intervention…