# What key architectural components define a comprehensive enterprise integration blueprint in Salesforce?

**Topic:** Integration · **Difficulty:** Medium · **Tags:** Integration, Architectural Blueprints, Enterprise Strategy

Read it on the site: https://www.forcechallenges.com/interview-questions/what-key-architectural-components-define-a-comprehensive-enterprise-integration-blueprint-in-salesforce

## Answer

**Basics:** A blueprint is the architecture document that stops integrations being built ad hoc. For each interface it answers: what data and process, which direction, how fast, how much, who owns the data, how it fails, and how it is secured. Salesforce's integration pattern catalog gives a common vocabulary: Request and Reply, Fire and Forget, Batch Data Synchronization, Remote Call-In, UI Update Based on Data Changes, and Data Virtualization.

**How it works:**
1. Capture requirements: business process, data entities, volumes (records per day and peak), latency (real-time, near-real-time, batch), consistency needs.
2. Map each interface to a pattern, then to technology: Apex callouts with Named/External Credentials, Flow HTTP callout, External Services, Platform Events/CDC with Pub/Sub API, Bulk API, Salesforce Connect, MuleSoft or other middleware.
3. Define security: OAuth flows (JWT bearer, client credentials), connected apps or external client apps, least-privilege integration users, IP and mutual TLS controls, encryption.
4. Define resilience: retries, idempotency, dead-letter handling, monitoring and alerting, and runbooks.
5. Define data governance: system of record, external IDs, field mapping, PII handling.
6. Plan testing, deployment and operations.

**Advanced / deep dive:** Decision criteria matter more than tool names. Real-time and user-blocking needs favor request-reply with short timeouts or Salesforce Connect; large volumes favor Bulk API or replication tools; event-driven decoupling favors platform events/CDC; many-to-many system landscapes favor middleware or an API-led layer (system, process, experience APIs) to avoid point-to-point sprawl. Account for platform limits at design time (100 callouts per transaction, 120-second cumulative callout time, API request allocations, event allocations, 6 MB/12 MB heap). Identify failure modes: partial failures, duplicate delivery, ordering, replay windows (72 hours), and schema changes. Record decisions as Architecture Decision Records and keep an interface catalog with owner, SLA, version and security classification.

**Code / config example:**
```
Interface catalog row (example)
ID: INT-014 | Order to ERP | Pattern: Fire and Forget (outbox + Queueable)
Direction: SF -> ERP | Volume: 20k/day, 5/s peak | Latency: < 2 min
Auth: External Credential (OAuth client credentials) | Idempotency: Order Id header
Errors: 3 retries w/ backoff, then Failed status + alert | Owner: Integration team
```

**Hidden gotchas & must-remember points:**
- Design from limits and volumes, not from the preferred tool.
- Authentication has moved toward External Credentials/Named Credentials and External Client Apps; verify current guidance before creating new connected apps.
- Point-to-point integrations multiply maintenance; centralize through middleware when many systems are involved.
- Each pattern has failure semantics; fire-and-forget needs acknowledgement or reconciliation.
- Monitoring and runbooks are part of the design, not an afterthought.
- Document system of record per entity or conflicts will appear.

**Best practice:** Treat the blueprint as a living, versioned catalog tied to ADRs, reviewed at each release.

---
Source: ForceChallenges · last updated 2026-11-02
