Templates / Smart message batching AI-powered Facebook Messenger chatbot use Data Table

Smart message batching AI-powered Facebook Messenger chatbot use Data Table

Ready for 3.0

by Nguyễn Thiệu Toàn (Jay Nguyen) ✓ · 2,330 views · created 2025-10-02 · Support Chatbot, AI Chatbot

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 25 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.

  1. Confirm Webhook (Respond to Webhook): sends the response back to the webhook caller
  2. Is message (If): checks a condition and branches into true / false
  3. Set Context (Edit Fields (Set)): sets or maps fields
  4. Is from page? (If): checks a condition and branches into true / false
  5. User is Sender (Edit Fields (Set)): sets or maps fields
  6. Seen (HTTP Request): calls an HTTP API
  7. Insert To Unprocessed (Data table): uses Data table
  8. Wait: pauses before continuing
  9. Get unprocessed message (Data table): uses Data table
  10. Get Max ID + Merged Mess (Code): runs custom JavaScript code

…plus 13 more steps. See the full node list below.

Services it uses

Google Gemini Chat Model

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)

From the author

🤖 Facebook Messenger Smart Chatbot - Smart Batch, Format & History with n8n Data Table v3 Version 2026 - Adaptable to n8n v1.113+ and v2.x by Nguyen Thieu Toan (Jay Nguyen) --- 📖 Overview A production-ready, enterprise-grade chatbot solution for Facebook…

Excerpt from Nguyễn Thiệu Toàn (Jay Nguyen)'s description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.