Utilitiesโ Realistic composite#experience-cloud#integration#lwr#portal
Customer self-service portal for an energy utility
Two million residential customers view bills, submit meter readings, report faults and move home on an LWR site, with billing in SAP and an AI agent for common questions.
Illustrative design parameters: about 2 million customers, roughly 1 million logins a month, peaks of several times normal traffic after monthly bill runs.
Your confidence:Not rated
Request and Reply ร 1Fire and Forget ร 1Batch Data Synchronization ร 1UI Update on Data Changes ร 1
1
Bill retrieval
Salesforce (site) โ SAP billing Outbound
Why this pattern
Customers need the current bill now; bills are mastered in SAP.
- Protocol / API
- REST system API
- Middleware
- MuleSoft
- Frequency / volume
- On demand; peaks after bill runs.
- Error handling and retry
- 5-second timeout, cached last bill in middleware, friendly error with retry.
- Security / auth
- Named Credential with External Credential (OAuth 2.0 client credentials) to the middleware API.
2
Meter reading submission
Salesforce (site) โ SAP metering Outbound
Why this pattern
The customer only needs confirmation of receipt; validation happens in SAP.
- Protocol / API
- Platform event consumed by middleware
- Middleware
- MuleSoft
- Frequency / volume
- About 300,000 readings a month.
- Error handling and retry
- Idempotency key per reading; status written back; rejected readings create a task.
- Security / auth
- Named Credential with External Credential (OAuth 2.0 client credentials) to the middleware API.
3
Customer and service point sync
SAP โ Salesforce Inbound
Why this pattern
Daily changes to customers, addresses and tariffs; volume suits bulk.
- Protocol / API
- Bulk API 2.0 upsert by external ID
- Middleware
- MuleSoft
- Frequency / volume
- Nightly delta of about 20,000 records.
- Error handling and retry
- Failed rows reprocessed next run; reconciliation report.
- Security / auth
- Middleware calls Salesforce through an External Client App (JWT bearer) as a least-privilege integration user.
4
Outage alerts
Outage management system โ Salesforce Inbound
Why this pattern
Customers and agents must see outages as soon as they're declared.
- Protocol / API
- Platform events via Pub/Sub API
- Middleware
- MuleSoft
- Frequency / volume
- Bursty during storms.
- Error handling and retry
- Replay from last replay ID; outage records persisted for display.
- Security / auth
- Middleware calls Salesforce through an External Client App (JWT bearer) as a least-privilege integration user.