Templates / WhatsApp support bot with Google Drive RAG, GPT-4.1-mini and Cohere reranking

WhatsApp support bot with Google Drive RAG, GPT-4.1-mini and Cohere reranking

Ready for 3.0

by Basil Irfan ✓ · 1,263 views · created 2025-09-28 · Support Chatbot, AI RAG

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 21 nodes and runs on WhatsApp events (messages) (plus 1 other trigger). Along the way it connects Supabase Vector Store, Google Drive, Embeddings OpenAI and OpenAI Chat Model and 3 more.

How it runs

Trigger: On WhatsApp events (messages) (plus 1 other trigger).

  1. Switch: routes items into 2 branches
  2. Edit Fields (Edit Fields (Set)): sets 1 field: id
  3. Merge: merges the data from its input branches
  4. HTTP Request: calls an HTTP API
  5. Download file (Google Drive): download
  6. Edit Fields (Edit Fields (Set)): sets 2 fields: Phone, text
  7. HTTP Request: calls an HTTP API
  8. Supabase Vector Store: stores documents in the Supabase vector store, with embeddings: Embeddings OpenAI; document loader: Default Data Loader
  9. AI Agent: runs an AI agent, with model: OpenAI Chat Model; 1 tool (Kknowledge_base); memory: Simple Memory
  10. Translate a recording (OpenAI): translate (audio)

…plus 1 more step. See the full node list below.

Services it uses

Supabase Vector StoreGoogle DriveEmbeddings OpenAIOpenAI Chat ModelOpenAIReranker CohereWhatsApp Business Cloud

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 (17)

From the author

WhatsApp RAG Agent (Text + Voice) with Weekly Google Drive Sync One-line summary : Answers WhatsApp in under 100 words, understands voice notes, and retrieves trusted answers from your Google Drive docs (RAG) kept fresh weekly. --- What this template does…

Excerpt from Basil Irfan'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.