Integration & data
The six integration patterns with interview scenarios, Salesforce APIs and events, Bulk API 2.0, Salesforce Connect and external objects, big objects, Data Loader and migrations, Named Credentials and middleware.
Start here: Integration & data
Plain-language orientation before the detail.
What this track covers
Almost every Salesforce architecture interview turns into an integration discussion: no org lives alone. This track covers the six integration patterns with scenarios you can quote, the APIs and events Salesforce offers, data at scale (Bulk API 2.0, Salesforce Connect and external objects, big objects, Data Loader and migrations), and outbound callouts with Named Credentials and middleware.
An analogy: a city's transport network
| City transport | Integration on Salesforce |
|---|---|
| A phone call to ask a question and wait for the answer | Request-reply: callout and wait |
| Posting a letter and getting on with your day | Fire-and-forget: event or async message |
| Freight trains running at night | Batch data sync with Bulk API |
| Visitors arriving at the city's front door | Remote call-in: external systems call Salesforce APIs |
| Departure boards that update by themselves | UI update on data change: events + empApi |
| A live camera feed of another city instead of moving it | Data virtualization: Salesforce Connect |
| The central station where lines connect | Middleware: routing, transformation, retries, monitoring |
If you remember one thing: every integration answer names the pattern, the mechanism, and what happens when it fails.
Same idea, explained to four audiences
| Audience | Say it like this |
|---|---|
| Business sponsor | "Salesforce shows people the right information from every system, and hands work to other systems reliably, without re-keying." |
| Integration team | "We agree a system of record per data set, then pick request-reply, fire-and-forget, batch, call-in, events or virtualization per flow, through governed APIs." |
| Developer | "Named Credentials outbound, External Client Apps inbound, Composite or Bulk for volume, platform events for decoupling, idempotency keys and external IDs everywhere." |
| CTA review board | "The design minimises coupling and data duplication, states ownership, and has explicit error handling, monitoring, security and limits for each flow." |
How to study this track
- Memorise the six patterns and prepare one scenario per pattern from your own work.
- Be able to choose between REST, Composite, Bulk, Apex REST, events and Salesforce Connect with reasons.
- Prepare a migration runbook (external IDs, load order, bypass, rehearsal, reconciliation).
- Always add error handling: timeouts, retries, idempotency, monitoring.
Misconceptions interviewers like to test
- "Real time is always better." Real time adds coupling and failure modes. Use it when the business needs it.
- "Middleware solves integration." It moves complexity to a better place, but ownership, contracts and error handling still need design.
- "External objects are just objects that live elsewhere." They don't run triggers, report poorly and depend on the source being up.
Concept map
How the building blocks fit together. Select a concept to open it.
Patterns and APIs4
Data at scale4
Concepts
Grouped by theme.
Patterns and APIs
Request-reply, fire-and-forget, batch data sync, remote call-in, UI update on data change and data virtualization: what each is, how it's built on Salesforce, and a scenario you can quote for each.
Which API to use for which job, how to reduce round trips with Composite, when to write a custom Apex REST service, and the API limits architects must plan for.
Publishing and subscribing to business events and record changes, replay and retention, delivery guarantees, and when events beat callouts.
Calling external systems securely: Named Credentials with External Credentials and principals, timeouts and retries, External Services from Flow, Continuations for long calls, and when to go through middleware.
Data at scale
Asynchronous loading and querying of large data volumes: ingest and query jobs, CSV payloads, upserts with external IDs, locking, limits, and how it compares with Bulk API 1.0.
Data virtualization: external objects backed by OData, cross-org or custom Apex adapters, external and indirect lookups, and what you give up compared with copying the data.
Storing billions of records inside Salesforce: custom big objects with a defined index, how to write and query them, their restrictions, and where they fit against archiving products and external storage.
Data Loader vs Data Import Wizard, Bulk vs SOAP mode, the command line for repeatable loads, external IDs and load order, automation bypass, and a migration runbook.