Board scenario: a utility with SAP, a billing platform, a field workforce system and a data lake wants Salesforce as the customer engagement layer. Present the integration architecture.
Model answer
1. Systems of record: SAP (customers, contracts, assets), billing (accounts, invoices, payments), field workforce (work orders, appointments), data lake (consumption history). Salesforce owns engagement: cases, interactions, consent, and service requests.
2. Integration layer: MuleSoft with system APIs per back end, process APIs (for example move-in/move-out), and experience APIs for Salesforce, the portal and the mobile app.
3. Flows and patterns
- Customer and contract master โ batch sync nightly plus events for changes.
- Balance and next bill โ request-reply on page load (cached).
- Move-in request from Salesforce โ fire-and-forget process API; status back via remote call-in.
- Outage and payment-failure alerts โ platform events โ console banners (UI update).
- Meter readings and consumption history โ data virtualization (external objects) or Data 360 for analytics.
- Work orders โ events between Salesforce (Field Service or the existing workforce system) and SAP.
4. Security: inbound via External Client Apps (JWT bearer or client credentials) with least-privilege integration users; outbound via Named Credentials; no card data in Salesforce; encryption and event monitoring where regulated.
5. Operations: correlation IDs end to end, central monitoring and alerting, replay and reconciliation jobs, and API limits dashboards.
6. Phasing: start with read-only views and request-reply (quick value), then events and process APIs, then retire legacy point-to-point links.
Risks: SAP performance for request-reply (cache), data quality in customer matching (MDM rules), event volumes (allocations).
โ Key points to hit
โ Red-flag answers
- Copying everything into Salesforce
- No middleware for five back ends
- No error handling or monitoring story
โช Follow-ups
Why not put consumption history in Salesforce?
Volume (readings every 15 or 30 minutes per meter) would overwhelm storage and performance. Virtualize detail, sync summaries, and use the data lake or Data 360 for analytics.
How do you handle a customer who exists in SAP and billing with different IDs?
A master data rule (MDM or middleware cross-reference) maps IDs; Salesforce stores both external IDs on the account and middleware resolves them for each call.