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:
- Capture requirements: business process, data entities, volumes (records per day and peak), latency (real-time, near-real-time, batch), consistency needs.
- 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.
- Define security: OAuth flows (JWT bearer, client credentials), connected apps or external client apps, least-privilege integration users, IP and mutual TLS controls, encryption.
- Define resilience: retries, idempotency, dead-letter handling, monitoring and alerting, and runbooks.
- Define data governance: system of record, external IDs, field mapping, PII handling.
- 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.