AI Ecommerce Customer Support System — V1
A WhatsApp-based ecommerce support system that connects an AI agent to store policies, Shopify order information, and a human escalation workflow.
Retrieved policy information is used to prepare a customer reply.
- status
- reply
- reason
- Store-policy information requested
- priority
- standard
- customer_reply
- Answer or request for missing information
Illustrative requests and routing labels. No live messages or store data are used.
WhatsApp message
The problem
Routine shipping, policy, and order questions require information scattered across business tools. Cases needing staff attention must reach the right people with useful context.
The solution
A coordinated n8n workflow receives WhatsApp messages through Evolution API, lets an AI agent select the appropriate tool, and routes a structured result into a customer reply, a clarification request, or an escalation.
Architecture with a purpose.
WhatsApp is the customer channel, Evolution API connects messages to n8n, and the main agent coordinates specialized tools. Workflow routing keeps the final outcome explicit.
{
"status": "reply | clarification | escalation",
"customer_reply": "…",
"reason": "…",
"priority": "…"
}Illustrative structure; status labels depend on workflow configuration.Clear roles. Useful tools.
- Retrieve shipping, returns, and store policies from Google Sheets.
- Read Shopify order information to answer order-related questions.
- Identify cases needing human support and notify staff on WhatsApp.
- Return status, customer_reply, reason, and priority in structured output.
From request to response.
- Customer sends a WhatsApp message.
- Evolution API passes the message into the n8n workflow.
- The AI agent interprets the request and selects a policy, order, or escalation tool.
- Structured output is validated and routed by workflow logic.
- The customer receives a reply or clarification; staff receive escalated cases.
Technology stack
Challenges & learning.
Design challenges
The design needs to connect open-ended customer messages with predictable workflow branches. Clear tool responsibilities and structured output make those boundaries explicit.
What I learned
This project brought tool selection, API integration, sub-workflows, and structured agent responses into one support system.
Result & current status
A completed support workflow that retrieves business information and routes customer requests. No client performance metrics are claimed.
Future improvements.
Evolve toward persistent customer context and controlled order operations through V2. Validate additional edge cases and improve escalation context.
Explore V2 in developmentHave a Business Process
You Want to Automate?
Tell me what your team currently does manually. I’ll help explore how AI agents, workflow automation and integrations could turn it into a smarter system.
abubakarkhalid0300@gmail.com