Integration Patterns

Request-reply, events, batch, middleware — pick the integration pattern before the tool, and design for the failure first.

Article 1 min read Updated 14 Nov 2025
Integration Patterns
Modules

Request-reply, events, batch, middleware — pick the integration pattern before the tool, and design for the failure first.

What you'll learn

The four patterns that cover nearly every Salesforce integration: synchronous request-reply behind named credentials, fire-and-forget with platform events, nightly batch sync on external IDs, and when the middleware question actually becomes a middleware answer.

Prerequisites

Comfortable Apex (the Apex Triggers module or equivalent) and a basic grasp of REST. The video section builds a callout live if you have never written one.

How the sections chain

Four written sections plus a build-along video: synchronous first because it is the default everyone reaches for, then events for when the caller should not wait, then batch for when nobody is waiting at all — closing with the architecture question that decides how the next integration gets built.

What you'll be able to do

  • Stand up a named-credential callout with a tested mock
  • Design idempotent subscribers for at-least-once delivery
  • Build reruns-are-safe batch loads on external IDs
  • Argue middleware vs point-to-point with edge counts
  • Choose a pattern from latency and ownership, not fashion
The idea

We start from the basics

Every module assumes nothing going in. From there we build the core concepts — selling, go-to-market, automation, AI — because tools change, but companies selling and customers buying won't.

Not just Salesforce

This platform teaches the concepts underneath the clicks — sales cycles, lead capture, lead enrichment — the same ideas whether the tool is Salesforce or whatever replaces it.

Go-to-market, end to end

From a lead's first touch to a closed deal — capture, enrichment, routing, automation — how the systems around a sale actually fit together.

My plan to learn

I'm learning this in public too — Clay, n8n, 6sense and the rest of the GTM/AI stack, documented here as I go.