WhatsApp support agent for a Shopify store
A support agent for an Indian D2C apparel store that answers the most common tickets on WhatsApp, straight from live Shopify orders and courier tracking, and hands the chat to a person over Telegram when needed.
This is a demonstration build on a test store with test data, not a paying-client engagement. Test results are from scripted test conversations, described below.
The problem
For a D2C brand, most WhatsApp messages are the same few questions: where is my order, can I return this, can I exchange the size. Each one means a person opening Shopify, finding the order, checking the courier and the return policy, and typing a reply. It's slow for customers and repetitive for the team, and it peaks right after a sale.
What the agent does
- Finds orders by WhatsApp number and shares details only with the customer who placed them.
- Order status and live courier tracking in the customer's language, including Hinglish.
- Returns, exchanges and cancellations follow store policy (a 7-day window, exchange offered first), and each one is logged on the Shopify order.
- Human handoff over Telegram: the team gets the conversation with a summary, replies from their phone, and hands the chat back with one command.
- Guardrails in the tools, not just the prompt: no invented statuses, no refund promises, no other customers' data.
How it's built
Messages arrive through the WhatsApp Cloud API. n8n runs the agent: it keeps the conversation history in Postgres, lets the model choose a tool, and executes it. Each of the seven tools, such as order lookup, tracking, policy check and exchange options, checks permissions and policy itself before returning anything, so the model can only say what the store's systems actually return. Handoff pauses the agent for that customer and routes messages to a Telegram group until staff hand it back.
Stack: n8nOpenAIShopifyWhatsApp Cloud APIPostgresTelegram
How it was tested
Before calling it done, I ran 31 scripted test conversations against the test store: ordinary questions, Hinglish and typos, returns inside and outside the window, requests about other people's orders, and attempts to talk the agent into a refund. The agent gave no wrong answers across those conversations. Scripted tests show the agent behaves correctly on known cases; a real deployment adds monitoring of live conversations on top.
Limitations
- It is a demonstration on a test store; a real store needs its own policies, products and courier integrations wired in.
- Refunds and payment disputes are deliberately not automated: they go to a person.
- It answers from store data and policy, not general product advice beyond what the catalogue says.
Related
WhatsApp and Telegram AI agents
Agents that resolve support questions, check orders and take bookings from live data, with human handoff.
Read more Case study · Voice agentMultilingual voice support agent
Order support by voice in English, Hindi and Hinglish, with caller verification and barge-in.
Read more n8nn8n development and consulting
Production n8n workflows and AI agents, self-hosting, migrations from Zapier or Make, and fixes.
Read moreWant this for your store?
Book a free 30-minute call. We'll look at your support volume and the questions your team answers most, and scope an agent around them.