Route RAG customer support across WhatsApp and Outlook with Pinecone and OpenRouter
Ready for 3.0What this workflow does
This AI workflow has 41 nodes and runs when someone submits an n8n form (“Knowledge Base Document Upload”) (plus 3 other triggers). Along the way it connects Pinecone Vector Store, Embeddings Google Gemini, WhatsApp Business Cloud and Slack and 3 more.
How it runs
Trigger: When someone submits an n8n form (“Knowledge Base Document Upload”) (plus 3 other triggers).
- Insert into Vector Store (Pinecone Vector Store): stores documents in the Pinecone vector store, with embeddings: Embeddings Model; document loader: Document Loader
- Normalize WhatsApp (Edit Fields (Set)): sets 7 fields: channel, contact_id, contact_name…
- Normalize Email (Edit Fields (Set)): sets 7 fields: channel, contact_id, contact_name…
- Extract Contact ID (Edit Fields (Set)): sets 3 fields: contact_id, resolved_by, channel_id
- Ingestion Success (Edit Fields (Set)): sets 3 fields: status, message, ingested_at
- Merge (Edit Fields (Set)): sets 7 fields: channel, contact_id, contact_name…
- Contact ID Provided? (If): checks a condition and branches into true / false
- Check Handoff (Google Sheets): uses Google Sheets
- Respond to Slack (OK) (Respond to Webhook): sends the response back to the webhook caller
- Respond to Slack (Error) (Respond to Webhook): sends the response back to the webhook caller
…plus 19 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 (20)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Pinecone Vector Store
@n8n/n8n-nodes-langchain.vectorStorePinecone - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Edit Fields (Set)
n8n-nodes-base.set - Embeddings Google Gemini
@n8n/n8n-nodes-langchain.embeddingsGoogleGemini - Token Splitter
@n8n/n8n-nodes-langchain.textSplitterTokenSplitter - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack - Switch
n8n-nodes-base.switch - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - Microsoft Outlook
n8n-nodes-base.microsoftOutlook - Microsoft Outlook Trigger
n8n-nodes-base.microsoftOutlookTrigger - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Google Sheets
n8n-nodes-base.googleSheets - Webhook
n8n-nodes-base.webhook - Respond to Webhook
n8n-nodes-base.respondToWebhook
From the author
Quick overview A production-ready 3-workflow system that handles customer support across WhatsApp and Email using RAG-powered AI. Automatically routes queries, detects escalation intent, logs handoffs to Google Sheets, alerts your team via Slack, and lets…