Integration Patterns: Quick Reference
All 6 official Salesforce integration patterns on one page, with a selection matrix, timing guide, and middleware decision framework. For full details with sequence diagrams, see Integration Patterns Deep Dive.
The 6 Patterns - Master Table
Section titled “The 6 Patterns - Master Table”| # | Pattern | Direction | Timing | Tech | Error Strategy | Use When |
|---|---|---|---|---|---|---|
| 1 | Request-Reply | SF —> External | Real-time | REST/SOAP callout, Named Credentials | Circuit breaker + graceful degradation | User needs immediate response (validation, credit check) |
| 2 | Fire-and-Forget | SF —> External | Near-RT | Platform Events, Outbound Messages | Retry + DLQ + idempotency | Response not needed now (order fulfillment, notifications) |
| 3 | Batch Data Sync | Bidirectional | Batch | Bulk API 2.0, ETL tools | Partial failure handling + reconciliation | High volume, data freshness in hours is OK |
| 4 | Remote Call-In | External —> SF | Real-time | REST/SOAP/Composite API | Idempotency keys + rate limiting | External system owns the process (ERP push, portal writes) |
| 5 | UI Update (Data Changes) | SF —> Subscriber | Near-RT | CDC, Platform Events, Pub/Sub API | Replay from checkpoint + subscriber monitoring | React to changes without polling (dashboards, portals) |
| 6 | Data Virtualization | SF —> External | On-demand | Salesforce Connect, External Objects | Fallback cache + high-availability external system | Display external data without replication |
Pattern Selection Flowchart
Section titled “Pattern Selection Flowchart”Timing Quick-Decision Table
Section titled “Timing Quick-Decision Table”| Business Need | Timing | Default Pattern | Default Tech |
|---|---|---|---|
| User waiting for answer | Real-time (< 2s) | Request-Reply | REST callout |
| Process can continue without answer | Near-RT (seconds-minutes) | Fire-and-Forget | Platform Events |
| Data sync, reporting refresh | Batch (hours) | Batch Data Sync | Bulk API 2.0 |
| Display external data inline | On-demand | Data Virtualization | Salesforce Connect |
| External system pushes to SF | Real-time | Remote Call-In | REST API |
| React to SF changes externally | Near-RT | UI Update | CDC + Pub/Sub API |
Middleware Decision Framework
Section titled “Middleware Decision Framework”When to Recommend Middleware
Section titled “When to Recommend Middleware”| Systems | Recommendation | Rationale |
|---|---|---|
| 2 systems, simple | Point-to-point | Middleware adds cost with no benefit |
| 2 systems, will grow | Consider middleware | Future-proofing may justify early investment |
| 3-5 systems | Hybrid | Middleware for complex, P2P for simple |
| 6+ systems | Middleware | Centralized governance, reuse, monitoring |
MuleSoft API-Led Connectivity (3 Layers)
Section titled “MuleSoft API-Led Connectivity (3 Layers)”| Layer | Purpose | Owned By | Example |
|---|---|---|---|
| System | Expose backend as reusable API | Backend teams | ”Salesforce Contact API” |
| Process | Orchestrate across System APIs + business logic | Integration team | ”Customer 360 API” |
| Experience | Tailor for consumer (mobile, web, partner) | Consumer teams | ”Mobile Customer API” |
Middleware Platform Comparison
Section titled “Middleware Platform Comparison”| Factor | MuleSoft | Dell Boomi | Informatica | Workato |
|---|---|---|---|---|
| Best for | Complex enterprise, API programs | Mid-market, rapid deploy | Data-heavy, MDM | Business process automation |
| SF alignment | Native (SF-owned) | Strong connector | Strong connector | Good connector |
| Cost | $$$ | $$ | $$-$$$ | $$ |
| When to recommend | Default for SF-heavy | MuleSoft cost prohibitive | Data quality is primary | Business users manage integrations |
Reverse-Engineered Use Cases
Section titled “Reverse-Engineered Use Cases”Scenario 1: Insurance Claims Processing
Section titled “Scenario 1: Insurance Claims Processing”Situation: Insurance company with Salesforce (CRM), Guidewire (claims), SAP (finance), and a customer portal. Claims status must appear on the portal within 30 seconds of update.
What you’d present:
- Guidewire —> SF: Remote Call-In (REST API) for claim creation
- SF claim status change —> Portal: UI Update (CDC + Pub/Sub API) for near-RT push
- SF —> SAP: Fire-and-Forget (Platform Events + MuleSoft) for payment processing
- Nightly reconciliation: Batch Sync (Bulk API 2.0 + MuleSoft batch)
- Middleware justified: 4 systems, shared transformations, centralized monitoring
Scenario 2: Retail POS Integration
Section titled “Scenario 2: Retail POS Integration”Situation: Retail chain needs real-time inventory checks at point of sale. External inventory system response time averages 800ms. 500 stores, peak of 2,000 checks/hour.
What you’d present:
- POS —> Inventory check: Request-Reply (REST callout, < 1s response)
- Fallback when inventory system is down: Circuit breaker opens, show cached inventory with staleness warning
- Daily inventory sync: Batch Sync (Bulk API 2.0) to refresh cache and reconcile
- No middleware needed: Only 2 systems, simple payload, no transformation
Scenario 3: Multi-Cloud Healthcare Platform
Section titled “Scenario 3: Multi-Cloud Healthcare Platform”Situation: Healthcare org with Salesforce Health Cloud, Epic (EHR), Snowflake (analytics), and a patient portal. HIPAA compliance required. 50+ integration touchpoints planned.
What you’d present:
- Epic —> SF: Remote Call-In (FHIR/REST API) for patient data sync
- SF —> Patient Portal: UI Update (Platform Events, not CDC - custom event semantics for HIPAA-filtered payload)
- SF —> Snowflake: Batch Sync (Bulk API 2.0 + MuleSoft batch, nightly)
- MuleSoft mandatory: 50+ touchpoints, HIPAA audit trails, API governance, reusability across experience layer
Multi-Org Integration
Section titled “Multi-Org Integration”When the scenario involves multiple Salesforce orgs (common in M&A, global enterprises, franchise models):
| Approach | Best For | Limitations |
|---|---|---|
| Salesforce Connect (Cross-Org Adapter) | Read-only access to another org’s data without replication | No DML on external objects, no triggers, limited reporting |
| Platform Events (Cross-Org) | Near-real-time business event sharing between orgs | Requires Connected App auth between orgs, event retention limits |
| Salesforce-to-Salesforce | Native record sharing between orgs with subscription model | Being retired - use Salesforce Connect cross-org adapter or API-based integration instead |
Default Decisions Cheat Sheet
Section titled “Default Decisions Cheat Sheet”| Decision | Default | Override When |
|---|---|---|
| Sync vs Async | Async | User is blocked without immediate response |
| Middleware vs P2P | P2P (< 4 systems) | 4+ systems, complex transforms, governance |
| REST vs SOAP | REST | Legacy WSDL requirement |
| ETL vs ELT | ETL (transform outside SF) | Trivial transforms or SF-native logic needed |
| Timing | Batch (cheapest) | Business requires fresher data |
| Events | CDC for data changes | Custom semantics or external publish needed |
Sources
Section titled “Sources”Personal study notes for the Salesforce CTA exam. Content compiled from VJ's study notes, official Salesforce documentation, community sources, and online publicly available content, then organized and presented with AI assistance. Not affiliated with Salesforce. © 2025–2026 VJ Srivastava.