D2C retail omnichannel service
Messaging (web, in-app, WhatsApp), an OMS/ERP integration for orders and returns, and an Agentforce service agent deflecting 'where is my order' and returns, built for seasonal peaks.
Illustrative design parameters: a direct-to-consumer brand selling online in several countries. Contact volume multiplies in peak season. Order-status questions are the largest single contact reason.
๐ค Two-minute pitch
โ 2 min spokenThis is a composite scenario. Use your own brand's intents and numbers.
"For a direct-to-consumer brand, I designed omnichannel service where 'where is my order?' was the top contact reason and peak season multiplied volume.
The design: enhanced messaging on web, app and WhatsApp, routed through Omni-Channel, plus an Agentforce service agent for order status, returns and policy questions. Its actions call a cached order API on MuleSoft, it's grounded on returns-policy articles, and it escalates to humans with context. Carrier webhooks trigger proactive delay messages, and Data 360 unifies the customer profile.
Key decisions: a deliberately narrow AI agent scope with verification and refund value limits; live, cached order APIs instead of replicating orders; and surge BPO agents on the same org with simplified pages and tier-1 skills.
What I'd emphasise: proactive notifications removed contacts before any bot had to deflect them, and we measured true deflection (no repeat contact within 7 days), not just containment."
โญ STAR story
Situation
In the first peak after launch, the order API started timing out at lunchtime spikes. The AI agent fell back to 'let me get a human', and queues ballooned.
Task
Restore order-status self-service within the peak window without changing the OMS.
Action
- Analysed the traffic: most calls were repeat status checks for the same orders by the AI agent and console.
- Added a short-TTL cache in the Experience API and Platform Cache in Salesforce for the console component, plus per-customer rate limiting.
- Gave the AI agent a graceful degradation path: share the last known status with its timestamp and offer a notification when it changes, instead of escalating.
- Added the lunchtime traffic profile to the pre-peak load tests.
Result
Timeouts stopped, AI agent resolution recovered, and escalations fell back to normal levels for the rest of peak. The cache and degradation pattern became standard for any customer-facing read API.
๐ What I'd do differently
- Load-test the AI agent's API usage pattern, which differs from human usage, before peak.
- Launch proactive notifications before the AI agent, because they're cheaper and remove contacts outright.
- Agree the true-deflection definition with Finance up front, since it drives the business case.
๐งญ Lessons learned
- Start the AI agent on one high-volume, low-risk intent, prove true deflection, then expand.
- Proactive delay messages remove more contacts than any bot. Design notifications first.
- Cache the order API. Peak traffic from AI agent and console reads will otherwise hit the OMS hard.
- Seasonal staff need a different, simpler console. Same org, different pages.
๐ Outcomes and metrics
KPIs the design is measured against. This is a composite, so no figures are claimed.
| KPI | Why it matters |
|---|---|
| True deflection rate for order status and returns | Resolved without a human and no repeat contact within 7 days |
| Escalation quality (context passed, no repeat questions) | Customer effort |
| Contacts per order in peak | Proactive delay messages should cut this |
| AHT for human-handled contacts | Order timeline in context |
| Time-to-proficiency for seasonal agents | Simplified console and macros |