Retailโ—† Realistic composite#agent-design#agentforce#data-360#voice

Customer service agent for an online retailer across web, app and voice

A retailer deploys one service agent to web chat, the mobile app and phone for order status, delivery changes and returns, with verification, Data 360 context, carrier integrations, human hand-off, automated tests and cost optimisation.

Illustrative design parameters: 400,000 service contacts a month, 60% about orders and returns, 300 human service reps.

Your confidence:Not rated
Request and Reply ร— 3Fire and Forget ร— 1
1

Delivery change

Salesforce โ†’ Carrier APIs Outbound
Request and Reply
Why this pattern

Customers need instant confirmation of the new date.

Protocol / API
REST via Apex action
Middleware
None
Frequency / volume
Thousands a day.
Error handling and retry
Timeouts return a friendly message and offer hand-off.
Security / auth
Named Credential with External Credential (OAuth 2.0 client credentials).
2

Return creation

Salesforce โ†’ Returns provider Outbound
Request and Reply
Why this pattern

Return label must be issued in the conversation.

Protocol / API
REST via Flow HTTP callout
Middleware
None
Frequency / volume
Thousands a day.
Error handling and retry
Retries with idempotency key; failure creates a case.
Security / auth
Named Credential with External Credential (OAuth 2.0 client credentials).
3

Order context

Data 360 โ†’ Agent Inbound
Request and Reply
Why this pattern

Fast access to orders and loyalty for verified customers.

Protocol / API
Real-time data graph lookup
Middleware
None
Frequency / volume
Per conversation.
Error handling and retry
Fallback to order management API.
Security / auth
Runs as the agent user with least-privilege permission sets.
4

Order updates

Order management system โ†’ Salesforce and Data 360 Inbound
Fire and Forget
Why this pattern

Order status changes must be current for the agent.

Protocol / API
Platform events and streaming ingestion
Middleware
MuleSoft
Frequency / volume
Continuous.
Error handling and retry
Replay and reconciliation.
Security / auth
Integration user via External Client App.