- Home
- Case Studies
- Bilingual WhatsApp Support Agent for an E-Commerce Retailer
Bilingual WhatsApp Support Agent for an E-Commerce Retailer
Octacer built a WhatsApp support workflow for Arabic and English conversations, with a route to hand the conversation to staff.
- bilingual WhatsApp AI support agent
- WhatsApp customer support automation
- e-commerce AI customer support
- Arabic English WhatsApp support
- AI customer support system
- WhatsApp human agent handoff
Operational outcome
Bilingual WhatsApp Support Agent for an E-Commerce Retailer
AI Systems
Measured result
Arabic and English support flows include a staff handoff.
Recorded results
automated Routine inquiry handling
product, order, and policy questions are resolved by the agent without human involvement.
consistent Bilingual support
Arabic and English conversations are handled in the customer's own language.
structured Escalation
conversations requiring human judgment are transferred with full context rather than discovered reactively.
The system changed how the retailer's support operation handled its incoming volume. Routine inquiries (product questions, order status checks, policy clarifications) could be resolved without consuming a human agent's time. The bilingual capability removed a constraint on who could respond to which conversations, and the memory layer eliminated the need for customers to repeat context across conversations.
The challenge
From shared inbox to structured triage
The retailer's support team managed customer conversations through a shared WhatsApp Business inbox. Every inquiry (a product question, an order status check, a return request) landed in the same queue and required a human agent to read, interpret, and respond. As order volume grew, so did the volume of routine, repetitive questions that consumed agent time without requiring any special expertise. The operational problem was not that the support team was underperforming. It was that the structure of the channel forced the same human effort onto every conversation, regardless of complexity.
Octacer's approach combined a bilingual AI conversation layer with deterministic workflow control around it. The system was built to handle the full conversation lifecycle: receive a message, understand it, resolve it if possible, and hand off to a human when necessary, with all relevant context packaged for the receiving agent. The decision to make the system self-hosted rather than relying on a third-party support SaaS was deliberate. The retailer retained full control over conversation data, model configuration, and the escalation workflow, rather than depending on a vendor's constraints.
What was at risk
-
Bilingual conversations on one thread
Customers switched between Arabic and English, sometimes within a single conversation. The support team needed agents who could handle both languages comfortably and respond in the language the customer was using. This constrained hiring, increased training time, and made consistent response quality harder to maintain across shifts.
-
No continuity between conversations
Each customer conversation started without context. If a customer followed up on a previous inquiry, the agent had to reconstruct the history from scattered WhatsApp threads. There was no reliable mechanism to carry relevant context (a prior order, an ongoing issue, a previous resolution) from one conversation to the next.
-
Routine questions consumed agent capacity
A large share of inbound messages were predictable: product availability, shipping timelines, return policies, order status. Each one required an agent to look up information, compose a response, and send it. The volume of these routine inquiries created a ceiling on how many meaningful conversations the team could handle, because every routine exchange consumed the same time as a complex one.
-
No graceful escalation path
When a customer's issue went beyond what the team could resolve (a damaged shipment, a payment dispute, a request that needed human judgment) there was no structured mechanism to identify that need early and transfer the conversation cleanly. Escalation happened when an agent decided a conversation needed attention, which was reactive and inconsistent.
- Industry
- e-commerce retail
- Project
- AI customer support system
- Octacer's role
- Integration
- Status
- Shipped
What we built
How the workflow works
Structure every conversation: the agent knows when to hand off.
-
OpenAI
provided the language model used for conversation understanding and response generation…
-
n8n
managed the workflow logic connecting WhatsApp messages, catalog lookups, memory retrie…
-
WhatsApp Business Platform
the channel through which customers sent and received messages and where human agents t…
-
Step 1: Bilingual Arabic and English inquiry handling
n8nCustomers message via WhatsApp in Arabic or English; the n8n AI agent reads catalog data and maintains conversation memory across turns.
-
Step 2: Structured staff handoff
Complex orders, complaints, or escalation intents route cleanly to a human agent takeover flow with full context.
Deliverables
What we delivered
-
AI conversation engine
The core conversation engine handled incoming WhatsApp messages, detected the language, classified the intent, and composed responses in the appropriate language. It processed each message within the context of the customer's conversation history and resolved what it could independently.
- Arabic and English language detection and response matching
- Intent classification for common support categories
- Context-aware responses using per-customer memory
-
Catalog lookup layer
Product-related inquiries were resolved against the retailer's catalog data rather than the model's internal knowledge. The system retrieved current product information before composing responses about availability, pricing, or product details.
- Product information retrieval grounded in catalog data
- Responses reflect current catalog state at the time of inquiry
- Reduces hallucinated or stale product answers
-
Conversation memory
Each customer's conversation history was stored and made available to the agent in future conversations. The memory layer allowed the agent to recognize returning customers and reference prior interactions when relevant.
- Persistent per-customer conversation history
- Cross-conversation continuity for repeat customers
- Context available to both AI responses and human handoffs
-
Escalation and handoff workflow
When the agent could not confidently resolve a conversation, it initiated a structured handoff. The conversation thread and supporting context were passed to the human support queue, where a live agent could take over within the same WhatsApp thread.
- Confidence-based escalation triggers
- Structured context packaged with each handoff
- Clean transition without requiring the customer to repeat themselves
-
Human takeover interface
Human agents received transferred conversations with the context assembled by the system. The interface presented the conversation history plus the agent's assessment of why the conversation needed human attention, allowing the support agent to respond without reconstructing the thread.
- Conversation history presented at takeover
- Context about what the AI had already attempted
- Support agents operate in the same WhatsApp channel
-
Self-hosted deployment
The entire system was deployed on infrastructure the retailer controlled, rather than running inside a third-party support platform. The customer's conversations, configuration, and escalation workflows remained within the retailer's own environment.
- Full control over conversation data
- Model and workflow configuration managed in-house
- No dependency on a vendor's support platform
Engineering decisions
Two decisions that shaped the build
Self-host WAHA and n8n with per-customer conversation memory
Self-hosting avoids per-message middleware limits while preserving multi-turn context across Arabic and English threads.
Gate catalog answers on live product lookup with explicit escalation triggers
Grounding replies in live catalog data prevents hallucinated stock or pricing while ensuring human handoff for exceptions.
Validation
What we verified
| Status | What the record shows |
|---|---|
| Tested | Tested Arabic and English support threads, live catalog lookup, and staff handoff escalation on WAHA and n8n. |
Building support in Arabic and English?
Tell us what the assistant should handle and when staff should step in.
Need something like this? See the related service: AI apps and integrations.
Tell us about your project