Local governmentโ Realistic composite#inspections#permitting#portal#public-sector
Building permits and business licences for a growing city
A city moves building permits, plan review, inspections and business licences from paper and an ageing permitting system to Public Sector Solutions with a resident and contractor portal, GIS validation and online payments.
Illustrative design parameters: about 25,000 permit and licence applications a year, 60 internal staff, 30 inspectors, 15,000 contractor and business portal users.
Your confidence:Not rated
Request and Reply ร 2Fire and Forget ร 1Batch Data Synchronization ร 1
1
Parcel and zoning validation
Salesforce โ GIS Outbound
Why this pattern
Applicants must pick a real parcel and see zoning constraints while applying.
- Protocol / API
- REST map service via system API
- Middleware
- MuleSoft
- Frequency / volume
- Thousands of lookups a day.
- Error handling and retry
- 3-second timeout; fallback lets staff validate manually and flags the application.
- Security / auth
- Named Credential with External Credential (OAuth 2.0 client credentials) to the integration layer.
2
Online payment
Salesforce (portal) โ Payment provider Bidirectional
Why this pattern
Card data must stay with the provider; Salesforce needs confirmation to proceed.
- Protocol / API
- Hosted payment page with signed callback
- Middleware
- None
- Frequency / volume
- Peaks at month end.
- Error handling and retry
- Callback idempotent by payment reference; daily reconciliation catches missed callbacks.
- Security / auth
- Signed callback verified with a shared secret; no card data stored.
3
Receipts to finance
Salesforce โ Finance system Outbound
Why this pattern
Finance needs receipts for revenue accounting, not in real time.
- Protocol / API
- Platform event consumed by integration layer
- Middleware
- MuleSoft
- Frequency / volume
- About 30,000 receipts a year.
- Error handling and retry
- Retries with dead-letter queue; daily reconciliation report.
- Security / auth
- Named Credential with External Credential (OAuth 2.0 client credentials) to the integration layer.
4
Legacy permit migration and coexistence
Legacy permitting DB โ Salesforce Inbound
Why this pattern
Active permits and history must be visible while permit families move in phases.
- Protocol / API
- Bulk API 2.0 upsert by external ID
- Middleware
- MuleSoft
- Frequency / volume
- Initial 400,000 records, then nightly deltas during coexistence.
- Error handling and retry
- Row-level error files reprocessed; record counts reconciled per run.
- Security / auth
- Integration layer calls Salesforce through an External Client App (JWT bearer) as a least-privilege integration user.