Handle AI customer support chats via WhatsApp, web chat, Ollama, and Qdrant
Ready for 3.0What this workflow does
This AI workflow has 33 nodes and runs when a chat message arrives (plus 2 other triggers). Along the way it connects WhatsApp Business Cloud, Redis, Ollama Chat Model and Redis Chat Memory and 3 more.
How it runs
Trigger: When a chat message arrives (plus 2 other triggers).
- Standardize Web Chat Format (Edit Fields (Set)): sets 5 fields: userMessage, sessionKey, channel…
- Check Real WhatsApp Message (If): checks a condition and branches into true / false
- Insert Knowledge into Qdrant (Qdrant Vector Store): stores documents in the Qdrant vector store, with embeddings: Knowledge Embeddings; document loader: Knowledge Data Loader
- Configure Agent Input (Edit Fields (Set)): sets 12 fields: userMessage, sessionKey, channel…
- Verify WhatsApp Message ID (Redis): get
- Retrieve Conversation Status (Redis): get
- Check Duplicate WhatsApp Message (If): checks a condition and branches into true / false
- Check Greeting Message (If): checks a condition and branches into true / false
- Register WhatsApp Message ID (Redis): set
- Evaluate Past Conversations (If): checks a condition and branches into true / false
…plus 9 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 (15)
- Chat Trigger
@n8n/n8n-nodes-langchain.chatTrigger - WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - If
n8n-nodes-base.if - Redis
n8n-nodes-base.redis - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - Ollama Chat Model
@n8n/n8n-nodes-langchain.lmChatOllama - Redis Chat Memory
@n8n/n8n-nodes-langchain.memoryRedisChat - Qdrant Vector Store
@n8n/n8n-nodes-langchain.vectorStoreQdrant - Embeddings Ollama
@n8n/n8n-nodes-langchain.embeddingsOllama - Google Sheets Tool
n8n-nodes-base.googleSheetsTool - WhatsApp Business Cloud
n8n-nodes-base.whatsApp - n8n Form Trigger
n8n-nodes-base.formTrigger - Default Data Loader
@n8n/n8n-nodes-langchain.documentDefaultDataLoader - Recursive Character Text Splitter
@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter
From the author
Quick overview This workflow provides AI-powered customer support for WhatsApp and an n8n web chat, using Ollama for responses, Redis for deduplication and conversation memory, Qdrant for RAG knowledge retrieval, and Google Sheets for product/property lookups…