Build a WhatsApp customer support bot with OpenAI and CRM integration
UnknownWhat this workflow does
This AI workflow has 22 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects OpenAI Chat Model, HTTP Request and Evolution Api (community).
How it runs
Trigger: When an HTTP GET request hits its webhook URL.
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; memory: Simple Memory; output parser: Structured Output Parser
- Switch: routes items into branches
- Branches System Prompt (Edit Fields (Set)): sets or maps fields
- Menu System Prompt (Edit Fields (Set)): sets or maps fields
- Orders System Prompt (Edit Fields (Set)): sets or maps fields
- Complaints System Prompt (Edit Fields (Set)): sets or maps fields
- Send WhatsApp Greeting (Evolution Api): uses Evolution Api
- AI Agent: runs an AI agent, with model: OpenAI Chat Model; 6 tools (crm_search_tool, items_search_tool, branches_search_tool, save_crm_record_tool…); memory: Simple Memory
- Send Answer to User's WhatsApp (Evolution Api): uses Evolution Api
Services it uses
Other OpenAI + Evolution Api templates (8)
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 n8n-nodes-evolution-api is verified or supports 3.0 (used in Send WhatsApp Greeting, Send Answer to User's WhatsApp).
Nodes used (9)
- Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Http Request Tool
n8n-nodes-base.httpRequestTool - Webhook
n8n-nodes-base.webhook - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - Evolution Api
n8n-nodes-evolution-api.evolutionApi
From the author
Full Customer Support WhatsApp AI Bot (Self-Hosted, Evolution API) 🧑💼 Who’s it for This template is for businesses using WhatsApp for customer communication who want to automate support using AI and real-time CRM data — especially in retail, food &…