Templates / WhatsApp group chat with your vector database — no Facebook Business required

WhatsApp group chat with your vector database — no Facebook Business required

Needs changes

by Cecilia Mukima · 1,958 views · created 2025-06-10 · Support Chatbot, AI RAG

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: AI Agent v1 (old agent modes). 1 breaking item(s) found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 16 nodes and runs on Google Drive events (specific file) (plus 1 other trigger). Along the way it connects Embeddings OpenAI, OpenAI Chat Model, Pinecone Vector Store and Google Drive.

How it runs

Trigger: On Google Drive events (specific file) (plus 1 other trigger).

  1. Download the file from Google Drive (Google Drive): download
  2. Check for individual or group messages (If): checks a condition and branches into true / false
  3. Index Pinecone Vector Store (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  4. Set max chunks to send to model (Edit Fields (Set)): sets 1 field: chunks
  5. Get top chunks matching query (Pinecone Vector Store): searches the Pinecone vector store, with embeddings: Embeddings OpenAI
  6. Prepare chunks (Code): runs custom JavaScript code
  7. Question & Answer (AI Agent): runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory
  8. Respond to Whatsapp Webhook (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Embeddings OpenAIOpenAI Chat ModelPinecone Vector StoreGoogle Drive

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • AI Agent v1 (old agent modes) in Question & Answer (v1.8): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Removed in 3.0Replace with
AI Agent v1 (old agent modes)
Question & Answer (v1.8)
Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.

Nodes used (14)

From the author

Enable smart, real-time answers in your WhatsApp groups using a custom webhook, Pinecone vector database, and no Facebook Business setup. > 🟡 Note: This template uses a custom WhatsApp webhook. It does not use the official WhatsApp Business API. --- 👥…

Excerpt from Cecilia Mukima'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.