State governmentโ—† Realistic composite#benefits#business-rules#portal#public-sector

Integrated benefits application for a state human services agency

A state agency offers one online application for energy assistance, childcare subsidy and emergency food support, with rules-based eligibility, caseworker review, authorised representatives and payments through the existing state payment system.

Illustrative design parameters: about 300,000 applications a year, 1,200 caseworkers, peaks in winter and after policy announcements.

Your confidence:Not rated
Request and Reply ร— 1Batch Data Synchronization ร— 2Fire and Forget ร— 1
1

Income and identity verification

Salesforce โ†’ State and federal verification services Outbound
Request and Reply
Why this pattern

Verification during application reduces caseworker effort and fraud.

Protocol / API
REST and SOAP system APIs
Middleware
MuleSoft
Frequency / volume
Tens of thousands of calls a day at peak.
Error handling and retry
Timeouts route to manual verification tasks; responses logged for audit.
Security / auth
Named Credential with External Credential (OAuth 2.0 client credentials) to the integration layer.
2

Disbursements to payment system

Salesforce โ†’ Mainframe payment system Outbound
Batch Data Synchronization
Why this pattern

The mainframe accepts payment instructions as a nightly file.

Protocol / API
File generated by integration layer from disbursement records
Middleware
MuleSoft
Frequency / volume
Nightly; hundreds of thousands of rows a month.
Error handling and retry
Control totals; rejected rows returned and turned into tasks.
Security / auth
Named Credential with External Credential (OAuth 2.0 client credentials) to the integration layer.
3

Payment confirmations

Mainframe payment system โ†’ Salesforce Inbound
Batch Data Synchronization
Why this pattern

Constituents and caseworkers need to see what was actually paid.

Protocol / API
Bulk API 2.0 upsert by disbursement external ID
Middleware
MuleSoft
Frequency / volume
Nightly.
Error handling and retry
Unmatched confirmations reported; retries next run.
Security / auth
Integration layer calls Salesforce through an External Client App (JWT bearer) as a least-privilege integration user.
4

Childcare enrolments

Salesforce โ†’ Childcare subsidy system Outbound
Fire and Forget
Why this pattern

The childcare system manages providers and attendance; it needs approved enrolments.

Protocol / API
Platform events via Pub/Sub API
Middleware
MuleSoft
Frequency / volume
Hundreds a day.
Error handling and retry
Replay from last replay ID; acknowledgements written back.
Security / auth
Integration layer calls Salesforce through an External Client App (JWT bearer) as a least-privilege integration user.