All projects
01 / CUSTOMER SUPPORT
Completed

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.

n8nLLM / AI AgentShopify APIEvolution APIWhatsAppGoogle SheetsStructured Output ParserHTTP APIsSub-workflows
V1 / TOOL ORCHESTRATIONInteractive illustration
“What is your returns policy?”
CustomerWhatsAppEvolution API
AI OrchestratorLLM reasoning · n8n workflow
TOOL RESULTGoogle Sheets / store policies

Retrieved policy information is used to prepare a customer reply.

STRUCTURED OUTPUT → CONTROLLED ROUTING
status
reply
reason
Store-policy information requested
priority
standard
customer_reply
Answer or request for missing information
AI response → Customer on WhatsApp

Illustrative requests and routing labels. No live messages or store data are used.

ILLUSTRATIVE WALKTHROUGH

WhatsApp message

01 / OVERVIEW

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.

02 / SYSTEM DESIGN

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.
03 / AGENT RESPONSIBILITIES

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.
04 / WORKFLOW

From request to response.

  1. Customer sends a WhatsApp message.
  2. Evolution API passes the message into the n8n workflow.
  3. The AI agent interprets the request and selects a policy, order, or escalation tool.
  4. Structured output is validated and routed by workflow logic.
  5. The customer receives a reply or clarification; staff receive escalated cases.

Technology stack

n8nLLM / AI AgentShopify APIEvolution APIWhatsAppGoogle SheetsStructured Output ParserHTTP APIsSub-workflows
05 / ENGINEERING NOTES

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.

06 / NEXT STEPS

Future improvements.

Evolve toward persistent customer context and controlled order operations through V2. Validate additional edge cases and improve escalation context.

Explore V2 in development
LET’S BUILD SOMETHING USEFUL

Have 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
Available for selected AI automation & agentic system projects.