Retail bank complaints management
Complaints are captured from any channel, tracked against regulator-mandated response deadlines, and handled with full audit, Shield encryption and monitoring, and a core-banking integration for context and redress.
Illustrative design parameters: multi-brand retail bank, several hundred complaint handlers, branch, phone, digital and social intake. The regulatory example uses UK FCA rules (DISP); adapt it to your jurisdiction.
Customer and account lookup
The handler needs current product and account status while logging and investigating. That's synchronous Request and Reply, but it's designed so a core outage never prevents a complaint being recorded. Capturing the complaint is itself a regulatory obligation.
- Protocol / API
- Apex β Named Credential β bank API gateway System API (REST, JSON)
- Middleware
- Bank API gateway
- Frequency / volume
- On complaint creation and on demand in the console
- Error handling and retry
- Timeout with a 'core banking unavailable' state. Complaint logging is never blocked, and enrichment retries asynchronously.
- Security / auth
- OAuth 2.0 client credentials via External Credential; mTLS; responses limited to the fields needed
Transaction history
Transaction volumes are huge and change constantly. Copying them would duplicate regulated data and go stale. Data Virtualization shows exactly what the handler needs, when they need it.
- Protocol / API
- Salesforce Connect OData 4.0 β Transaction__x
- Middleware
- OData faΓ§ade in the API gateway
- Frequency / volume
- On demand when a handler opens the transactions tab
- Error handling and retry
- Read-only. Failures show an inline error, with no data written.
- Security / auth
- Per-user identity where the gateway supports it; otherwise named principal plus object and field permissions
Redress payment instruction
Paying redress shouldn't hold a Salesforce transaction open while the payment hub processes. Fire and Forget with an idempotent event and an explicit confirmation callback is safer and auditable. The status stays 'Instructed' until confirmed.
- Protocol / API
- Approval β Redress_Instruction__e (Platform Event) β gateway subscriber (Pub/Sub API) β payment hub; confirmation via REST callback
- Middleware
- Bank API gateway / integration layer
- Frequency / volume
- Tens to hundreds a day
- Error handling and retry
- Idempotency key per redress prevents double payment on replay. Rejected payments call back with a reason and reopen the redress task. Daily reconciliation against the payment hub.
- Security / auth
- Event published only after a four-eyes approval; integration user with publish-only permission; callback user limited to Redress_Payment__c
Regulatory MI extract
The regulatory return and Board MI need a consistent, reconcilable snapshot combined with other bank data. That's a classic Batch Data Synchronization, not a real-time need.
- Protocol / API
- Nightly Bulk API 2.0 extract of complaints, issue lines, outcomes and milestone results
- Middleware
- Data platform ETL
- Frequency / volume
- Nightly delta; full reconciliation monthly
- Error handling and retry
- Row counts and control totals checked. A failed load blocks the MI refresh and alerts the data owner.
- Security / auth
- Dedicated integration user with read-only access to the complaint objects; extract encrypted in transit and at rest
Correspondence generation
Letters are produced and dispatched by a specialist platform (templates, print, post). Salesforce requests the letter and records evidence of sending. Fire and Forget plus callback keeps the handler's save fast while the milestone waits for the evidence.
- Protocol / API
- Flow β Platform Event (letter request) β composition platform; document URL and sent date returned via REST
- Middleware
- Integration layer
- Frequency / volume
- Per milestone letter (acknowledgement, SRC, holding, final)
- Error handling and retry
- A letter not confirmed within 1 business hour raises a task. The milestone isn't marked complete until the 'sent' callback arrives.
- Security / auth
- Integration user; document links require bank SSO