Telecom contact-centre modernisation
A mobile and broadband operator replaces a legacy CRM and a standalone CTI with Service Cloud, Amazon Connect-based Voice, skills-based Omni-Channel and an archive strategy built for a very high case volume.
Illustrative design parameters: ~2,500 agents (in-house plus 2 outsourced BPO sites), several million cases a year, voice-heavy with growing messaging.
Caller identification (Voice data dip)
The IVR needs customer context before it routes the call (tier, open case, language). The external system has to call into Salesforce synchronously, which makes this Remote Call-In. Bulk replication into Connect would be stale and duplicate PII.
- Protocol / API
- REST API called from the Salesforce-provided Lambda in the Amazon Connect contact flow โ verify function name
- Middleware
- None (AWS Lambda)
- Frequency / volume
- Every inbound call; peaks during outages
- Error handling and retry
- A short timeout in the contact flow. On failure the IVR falls back to default routing and the agent searches manually.
- Security / auth
- OAuth JWT bearer for a dedicated integration user with a minimal permission set
Billing summary in the console
The agent needs current balance and invoice data while the customer is on the line, and it comes from an orchestrated, computed response. That makes it synchronous Request and Reply. Data Virtualization suits row-level reads that need little orchestration, which this isn't.
- Protocol / API
- LWC โ Apex โ Named Credential (External Credential, OAuth 2.0 client credentials) โ MuleSoft Experience API
- Middleware
- MuleSoft (Experience โ Process โ System API)
- Frequency / volume
- On case open for billing cases; Platform Cache (session) for 5 minutes
- Error handling and retry
- A 10-second callout timeout and a circuit breaker in MuleSoft. The UI shows 'Billing unavailable' and the last-known statement date.
- Security / auth
- Named Credential, mutual TLS to MuleSoft, card details masked at the API layer
Network outage feed
OSS pushes state changes into Salesforce (Remote Call-In). Using an event decouples OSS from Salesforce limits and lets one message drive several consumers. The console banner subscribes through lightning/empApi, which is the UI Update Based on Data Changes pattern on the same event.
- Protocol / API
- Pub/Sub API publishes Network_Outage__e; a platform event-triggered Flow upserts Network_Outage__c
- Middleware
- MuleSoft (System API on OSS alarms, correlation in the Process API)
- Frequency / volume
- Bursty: quiet for days, then hundreds of updates an hour during incidents
- Error handling and retry
- MuleSoft retries with Outage_Ref__c as the idempotency key. Subscribers replay from the last replay ID within the event retention window.
- Security / auth
- Integration user limited to publishing that event; mTLS between MuleSoft and OSS
Fault ticket creation
The agent doesn't need to wait for the fault system, so the case can be saved and the conversation can continue. Fire and Forget keeps the save transaction fast and isolates Salesforce from fault-system outages. The callback is a separate Remote Call-In.
- Protocol / API
- Flow publishes Fault_Ticket_Request__e; MuleSoft subscribes via Pub/Sub API and calls back REST to set Fault_Ticket_Id__c
- Middleware
- MuleSoft
- Frequency / volume
- Tens to hundreds an hour
- Error handling and retry
- MuleSoft dead-letter queue with alerting. The case shows 'Ticket pending' until the callback arrives, and a nightly reconciliation catches gaps.
- Security / auth
- Callback through a dedicated integration user and permission set; no inbound credentials stored in Salesforce
Closed-case archive extract
Large volume, no real-time need, and a set-based reconcile-then-delete flow is exactly the Batch Data Synchronization use case. CDC streaming would add cost and complexity without improving anything.
- Protocol / API
- Bulk API 2.0 query (Case, EmailMessage, file metadata); verified counts; then Bulk API 2.0 hard delete
- Middleware
- Data lake ingestion pipeline (scheduled)
- Frequency / volume
- Nightly, off-peak, in date-range batches
- Error handling and retry
- Delete runs only after row-count and checksum reconciliation. Failed batches are retried, and nothing is deleted without a verified copy.
- Security / auth
- Dedicated integration user; Bulk API Hard Delete granted only to it; archive encrypted at rest; Legal-approved retention
Archived case read-back
Agents only occasionally need old history, and it must not consume storage again. Data Virtualization shows it in context without copying it back.
- Protocol / API
- Salesforce Connect OData 4.0 adapter โ Archived_Case__x external object
- Middleware
- OData service in front of the lake
- Frequency / volume
- On demand, when an agent opens the related list
- Error handling and retry
- Read-only. If the OData service is down, the related list shows an error and nothing else is affected.
- Security / auth
- Named principal identity on the external data source (a read-only service account). Agents hold no lake credentials, and access is gated by object and field permissions in Salesforce