Public sectorโ Realistic composite#experience-cloud#identity#portal#regulated
Grant application portal for a public funding agency
Organisations apply for grants, upload documents, answer reviewer questions and report on outcomes; staff review and score applications in Salesforce.
Illustrative design parameters: 20,000 applicant organisations, several funding rounds a year with sharp deadline peaks.
Your confidence:Not rated
Remote Call-In ร 1Request and Reply ร 1Fire and Forget ร 2
1
Business identity login
National identity service โ Salesforce (site) Inbound
Why this pattern
Applicants must authenticate with the government's business identity.
- Protocol / API
- OpenID Connect via Auth. Provider
- Middleware
- None
- Frequency / volume
- Every login.
- Error handling and retry
- Clear error page if the identity service is down; status banner.
- Security / auth
- OIDC with signed ID tokens; registration handler links the identity to the organisation contact.
2
Company registry check
Salesforce โ Company registry Outbound
Why this pattern
Registration details must be validated during application.
- Protocol / API
- REST API
- Middleware
- None
- Frequency / volume
- One call per new organisation.
- Error handling and retry
- Timeout with manual verification fallback task.
- Security / auth
- Named Credential with API key in an External Credential.
3
Grant payments
Salesforce โ Finance system Outbound
Why this pattern
Payments are executed by finance; Salesforce tracks status.
- Protocol / API
- Platform event consumed by middleware
- Middleware
- Middleware
- Frequency / volume
- Thousands per round.
- Error handling and retry
- Idempotency key per payment; status updates back; failures alert finance.
- Security / auth
- Named Credential with External Credential (OAuth 2.0 client credentials) to the middleware API.
4
Document scanning
Salesforce โ Antivirus scanning service Outbound
Why this pattern
Uploads must be scanned without blocking the applicant.
- Protocol / API
- Queueable callout on file upload
- Middleware
- None
- Frequency / volume
- Tens of thousands of files per round.
- Error handling and retry
- Files quarantined until clean; failed scans retried and flagged.
- Security / auth
- Named Credential with OAuth client credentials.