01Chapter 1: Why integration patterns matterMost Salesforce orgs do not work alone. Orders live in an ERP, invoices live in a billing system, and customers sign in through an identity provider. Someone has to decide how these systems exchange data. This chapter explains why that decision is better made with a small set of named patterns than 8 min read
02Chapter 2: Synchronous and asynchronous communicationThis chapter covers the timing model behind every Salesforce integration pattern. It assumes you know the basic Salesforce data model, can read Apex and JSON, and understand HTTP methods and status codes. Later chapters build request-reply, fire-and-forget, and batch sync on the ideas introduced her8 min read
03Chapter 3: The Salesforce integration toolboxThis chapter assumes you know the Salesforce data model (objects, fields, records), basic Apex and triggers, REST and JSON, and HTTP methods and status codes. The previous chapters covered integration styles and the synchronous and asynchronous trade-offs. This chapter surveys the five Salesforce fe8 min read
04Chapter 4: Authenticating integrations with Named CredentialsEvery integration pattern in this tutorial needs a way to prove identity. A request-reply callout must authenticate to the external API. A Bulk API 2.0 job must authenticate to Salesforce. This chapter covers both directions, then focuses on Named Credentials, the Salesforce feature that keeps endpo7 min read
05Chapter 5: Request-reply: calling out and waiting for an answerThis chapter covers the request-reply pattern, where Salesforce sends a request to another system and waits for the response. It assumes you can read basic Apex, know HTTP methods and status codes, and have seen a Named Credential. Earlier chapters introduced Named Credentials and the sync/async tra6 min read
06Chapter 6: Fire-and-forget: publishing events without waitingThis chapter assumes you know Apex basics and triggers, the Salesforce data model, and HTTP and JSON. It also assumes you have read the earlier chapters on synchronous versus asynchronous communication and on the Salesforce integration toolbox. Here you will see how fire-and-forget works with platfo7 min read
07Chapter 7: Batch sync: moving large volumes with Bulk API 2.0This chapter assumes you know the Salesforce data model, REST and JSON basics, HTTP methods and status codes, and the idea of an external ID field. It also assumes you have read the earlier chapters on synchronous and asynchronous trade-offs and on Named Credentials. Here you will learn how batch sy8 min read
08Chapter 8: Limits that shape your designThis chapter assumes you know basic Apex (triggers, SOQL, DML), the Salesforce REST API, and the callout and event examples from the earlier chapters. Salesforce is a multitenant platform, so it caps how much work one transaction, one user, or one org can do. Those caps decide which pattern is feasi7 min read
09Chapter 9: Making repeated messages safe with external IDsThis chapter assumes you know the Salesforce data model (objects, fields, records), can read Apex and JSON, and understand HTTP methods and status codes. It also assumes you have seen the request-reply, fire-and-forget, and batch sync patterns from earlier chapters.7 min read
10Chapter 10: Handling failures, retries, and replayThis chapter assumes you have read the earlier chapters on request-reply, fire-and-forget, and batch sync. It also assumes you know how external IDs make an upsert safe to repeat. You should be comfortable with Apex triggers, Queueable jobs, and HTTP status codes.7 min read
11Chapter 11: Choosing the right patternThis chapter assumes you know the Salesforce data model, basic Apex and triggers, REST and JSON, and HTTP methods and status codes. It also assumes you have read the earlier chapters on the three patterns, Named Credentials, governor limits, idempotency, and retries. Here you combine that material i6 min read
12Chapter 12: Monitoring and operating integrationsThis chapter assumes you have read the earlier chapters on the three patterns, Named Credentials, governor limits, idempotency, and retries. You should be comfortable with Apex callouts, platform events, Bulk API 2.0 jobs, and reading HTTP status codes.8 min read