CASE STUDY 08

AI Customer Support Chatbot for E-Commerce

AI chatbot that resolves order status, tracking, and cancellations end-to-end with a clean handoff to Gorgias when escalation is needed.

Industry: E-commerce Timeline: 4 weeks AI AgentsCustomer SupportE-Commerce
AI Customer Support Chatbot for E-Commerce — architecture diagram
SYSTEM ARCHITECTURE

The pain

The team was getting 600+ support tickets per week. The top 5 questions were "Where is my order," "Cancel my order," "Order arrived damaged," "Order status," and "Tracking number." All 5 were answerable from internal APIs.

The team was paying human agents to answer them, slowly, with copy-pasted responses.

They wanted a bot that could actually take action, not just deflect.

What I built

n8n chat orchestrator

Handles message routing, session state, and tool calling.

OpenAI reasoning layer

Function calling to invoke order lookup, cancellation, and tracking tools.

Custom API connectors

To the e-commerce backend with proper auth and rate limiting.

Gorgias integration

Clean ticket creation on escalation with full chat history attached.

Storefront chat UI

Lightweight n8n-compatible widget.

Damage report flow

Captures photos and creates a Gorgias ticket with all evidence pre-attached.

WhatsApp channel

Secondary channel for high-touch customers.

Outcome

64%
Tickets auto-resolved
12sec
Resolution time, down from 4.7h
4.6/5
CSAT (higher than human-resolved)
1FTE
Reduced without service drop

Stack

n8nOpenAIGorgiasCustom REST APIsn8n chat UIWhatsApp Business APIWebhook routing
← PREVIOUS

RevOps Engine for a HubSpot-Powered SaaS

NEXT →

High-Volume Invoice and Email Processing Pipeline

Want to see what AI can replace in your business?

Free 30-min scoping call. No pitch deck, no obligation, just a conversation about what's worth building.

Book a 30-min scoping call
Or email me directly: aqib@thisisaqib.com