AI-powered WhatsApp customer support for Shopify brands with LLM agents
Ready for 3.0What this workflow does
This AI workflow has 22 nodes and runs on WhatsApp events (messages). Along the way it connects WhatsApp Business Cloud, OpenRouter Chat Model, HTTP Request and OpenAI Chat Model and 1 more.
How it runs
Trigger: On WhatsApp events (messages).
- Get Customer from Shopify (HTTP Request): calls an HTTP API
- Customer Details (Edit Fields (Set)): sets 4 fields: customerID, customerName, lastOrderID…
- Normalize Input (Edit Fields (Set)): sets 2 fields: messages[0].text.body, categorized
- Switch: routes items into 4 branches
- Welcome message (WhatsApp Business Cloud): send
- Orders Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model, OpenRouter Chat Model; 1 tool (Get Customer Orders); memory: Simple Memory; output parser: Structured Output Parser
- Products Agent (AI Agent): runs an AI agent, with model: OpenAI Chat Model, OpenRouter Chat Model; 1 tool (Get Products from Shopify); memory: Simple Memory; output parser: Structured Output Parser
- Send a message to support (Slack): uses Slack
- Send Order Status (WhatsApp Business Cloud): send
- Send Products message (WhatsApp Business Cloud): send
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 (13)
- WhatsApp Trigger
n8n-nodes-base.whatsAppTrigger - Switch
n8n-nodes-base.switch - Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow - OpenRouter Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenRouter - Http Request Tool
n8n-nodes-base.httpRequestTool - Edit Fields (Set)
n8n-nodes-base.set - AI Agent
@n8n/n8n-nodes-langchain.agent - HTTP Request
n8n-nodes-base.httpRequest - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Slack
n8n-nodes-base.slack - No Operation, do nothing
n8n-nodes-base.noOp - WhatsApp Business Cloud
n8n-nodes-base.whatsApp
From the author
🚀 AI-Powered WhatsApp Customer Support for Shopify Brands This n8n template builds a WhatsApp support copilot that answers order status and product availability from Shopify using LLM "agents," then replies to the customer in WhatsApp or routes to human…