Templates / Facebook Messenger Chatbot That Learns From Your Documents

Facebook Messenger Chatbot That Learns From Your Documents

Unknown

by Tristan V ✓ · 1,118 views · created 2026-01-20 · Support Chatbot, AI RAG

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 20 nodes and runs when an HTTP GET request hits its webhook URL (plus 1 other trigger). Along the way it connects OpenAI Chat Model and Pinecone Assistant (community).

How it runs

Trigger: When an HTTP GET request hits its webhook URL (plus 1 other trigger).

  1. Is Token Valid? (If): checks a condition and branches into true / false
  2. Acknowledge Event (Respond to Webhook): sends the response back to the webhook caller
  3. Respond with Challenge (Respond to Webhook): sends the response back to the webhook caller
  4. Respond Forbidden (Respond to Webhook): sends the response back to the webhook caller
  5. Filter Valid Messages (If): checks a condition and branches into true / false
  6. Store Message for Batching (Code): runs custom JavaScript code
  7. Send Seen Indicator (HTTP Request): calls an HTTP API (POST)
  8. Wait: waits 3 seconds
  9. Retrieve Batched Messages (Code): runs custom JavaScript code
  10. Has Messages to Process? (If): checks a condition and branches into true / false

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

Services it uses

OpenAI Chat ModelPinecone Assistant (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that @pinecone-database/n8n-nodes-pinecone-assistant is verified or supports 3.0 (used in Get context snippets in Pinecone Assistant).

Nodes used (11)

From the author

Quickstart Guide: Facebook Messenger Chatbot with Pinecone RAG Step-by-step instructions to get this workflow running in n8n. --- Prerequisites - Self-hosted n8n instance (v1.113.0+ recommended) - Community nodes enabled in n8n - Facebook Page (you must be an…

Excerpt from Tristan V'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.