Pular para o conteúdo

How I Solve an Integration Scenario

Este conteúdo não está disponível em sua língua ainda.

Module 1 of 5 in the chapter What I Would Architect, chapter 24 of the Integration Architect course. Each module stands on its own. Next: Review Early and at the Gates

The question this module answers: How does an integration architect work a scenario from the first read to a design they can defend, arrow by arrow?

You’ve worked through every piece of this course. Clients and servers, contracts, the landscape, requirements, patterns, the doors in and out, data at scale, events, trust, failure, orchestration, other orgs and agents. Then someone hands you a scenario: a company, its systems, its partners, its volumes, and a list of requirements, some of which pull against each other. Where do you start?

Knowing each piece isn’t the same as designing the whole. When I teach architects preparing for the CTA review board, I say solving a scenario is like a Rubik’s cube: you keep turning every piece until the whole thing fits one design. What you need is an order to work in, so the decisions you make first are the ones everything else depends on.

The first rule is the simplest, and people break it all the time: read the whole scenario before you draw anything.

Scenarios have a shape. A project overview, the current landscape, the business use cases, then requirements: security, access, reporting and the rest. And there’s almost always something near the end that changes an arrow near the top. A partner joining next quarter. A rule about how long a photo can be kept. A company being bought that has its own org. If you designed the partner integration on page two, you’ll be redesigning it on page eleven.

As an integration architect, I also read for what the scenario doesn’t say out loud:

  • Which systems aren’t Salesforce, and which of them can start a call and which can only answer one (chapter 5).
  • The volumes, even when they’re hidden in the story: “a few thousand deliveries a day” is a number, and so is “every truck reports its position” (chapter 6).
  • The legacy system. There’s nearly always one, with data to bring across or to keep in step for a while.

Before any arrow, one decision: one org or many? It’s the biggest decision you’ll make in the first few minutes, because everything else depends on it: reporting, data privacy, and how many arrows you’re about to draw between your own orgs. Chapter 21 teaches it; here, just make it first, and say why.

Then I ask myself the question I ask every class: which of my diagrams solves this beautifully? Landscape. It’s the landscape.

Draw the current state first: every system, every box in its place, every arrow you already know about (chapter 5). Then the target. On my Architect Dreamin’ slide, the landscape had three jobs: build the correct bones, see where the data is going, and decide what’s on platform and what’s off it. That’s the frame. Get the boxes right, and the arrows have somewhere to go.

Two habits from earlier in the course matter here. The arrow points from the system that starts the call (chapter 5). And whatever moves data between two stores is a process, so it gets a box: a warehouse doesn’t fetch from Salesforce on its own.

Now take the arrows one at a time. Not all at once, and not in the order you happen to notice them. Pick one, finish it, then the next.

For each arrow, the same questions, in the course’s order:

  1. What’s the requirement? Its shape and how soon (chapter 6), and its Number of Zeros, today and three years out.
  2. Which pattern, then which mechanism? Pattern first, then what carries it (chapter 16).
  3. Who is the call made as, and how does it authenticate (chapter 13)?
  4. What happens when it fails? Log, tell, retry, and who gets told (chapter 14).
  5. Write it down. One record per arrow (chapter 16).
The order I solve in, and every arrow's five questions Two columns. On the left, the order I solve in, top to bottom: read to the bottom, because the curveball is near the end; the single big decision, one org or many; the landscape, current then target, to build the bones; the arrows, one at a time, the step that matters most, in Deep Navy: finish one, then the next; balance it and review it, sub-optimal on purpose, then the card; and the curveball, in amber, a late change absorbed one arrow at a time. From the arrows step, an arrow labelled "for each arrow, all five" leads to the right column, five questions for every arrow: the requirement, its shape and its Number of Zeros; pattern, then mechanism; who it runs as, and how it signs in; when it fails, log, tell, retry, and who is told; and write it down, one record per arrow, in green. Underneath: say each arrow in one breath: the requirement, the solution, and why. {"author": "Steve Simpson", "blueprint": "1.0.0", "builder": "standard 1.59.0", "built": "2026-11-21", "id": "DGM-INT-WA-11", "rights": "\u00a9 2026 Twinshark LLC. All rights reserved.", "template": "cells 0.5.0", "theme": "stevetecharc 1.4.0"} THE ORDER FOR EVERY ARROW Read to the bottom the curveball is near the end The single big decision one org or many? The landscape current, then target: build the bones The arrows, one at a time finish one, then the next Balance it, review it sub-optimal on purpose, then the card The curveball a late change, one arrow at a time The requirement its shape, and its Number of Zeros Pattern, then mechanism the shape first, then what carries it Who it runs as and how it signs in When it fails log, tell, retry, and who is told Write it down one record per arrow for each arrow, all five Say each arrow in one breath: the requirement, the solution, and why. © 2026 Twinshark LLC · stevetecharc.com
Click to enlarge

Solve in an order; take the arrows one at a time, each through the same five questions.

And when you say it, say it the way I tell my classes: the words that come out of your mouth should blend the requirement with the solution, in the context of the whole design. Not “I’ll use an Apex callout.” Instead: “The credit check has to answer while the rep waits, so it’s a synchronous callout from the page, with a five-second timeout and a fallback that lets the order continue as pending.”

Here’s a question I ask the room. I say I’ll do a callout to the credit check. Why? And what kind of callout? Who can tell me three ways to call out of Salesforce that are completely different? If you can only name one, you’ll design every arrow with it. Chapter 9 has the map.

In a design review, and on any review board, I may ask about any arrow. How does it authenticate? How is the data flowing? Synchronous or asynchronous? I want to hear concrete things.

Here’s the one I use. Someone says, “We’ll publish a platform event, fire and forget.” I love fire and forget. But that doesn’t answer my question. So I ask: what happens when the subscriber goes down and comes back? The answer I’m listening for is precise: “I store the last replay ID I processed, and I send it when I reconnect, within the 72-hour window” (chapter 11). Say that, and I’m done. Move on.

If the answer is “it’s a queue, so it’s fine,” I ask a second question, and maybe a third. I’m not trying to catch anyone out. I’m checking whether they know what they’re saying, or are reading the buzzwords. A reviewer can tell the difference in about two sentences, and so can the developer who has to build it.

So for every mechanism in your design, know the one detail that proves you’ve used it: the replay ID for events, the external ID for an upsert, the named credential for a callout, the job ID for a Bulk load. If you’ve never used it, learn that detail before you put it on the landscape.

The artifacts carry the design. For integration, the ones I build are:

  • The system landscape, current and target.
  • A swim lane for any flow that crosses several systems in order, each call with its answer underneath.
  • The arrow records, one per arrow.
  • The sign-in flows where identity is the hard part.

Then tell one clean story with them. Start on the landscape, pick an arrow, go to its swim lane, come back. What I don’t want to see is someone jumping from the landscape to a sign-in flow to a data model and back, with no thread. If I’m thinking “where is this person going?”, the design is fine and the story isn’t.

Three more steps, each taught elsewhere and brought together here.

Balance it. On my Architect Dreamin’ slide: there may be ten ways to solve a problem. Five may be wrong immediately, two may go bad in a year, and two or three may be viable. Your job is one of the viable ones, with its sub-optimal parts chosen on purpose (chapter 16).

Review it before you call it done. Modules 2 to 4 of this chapter: when to review, what to ask, and how to take an arrow away and see what breaks.

Expect the curveball. Real projects change late: a new partner, an acquisition, a new rule about data. A design that was built arrow by arrow, with every arrow written down, absorbs a late change one arrow at a time. A design that was built all at once has to be redone all at once.

That’s what “what I would architect” means. Not the only answer: a possible viable solution, with its trade-offs said out loud. Module 5 works the whole order on Steve Trucking.

Beyond the exam. The Integration Architect exam asks you to identify the trade-offs, limitations and constraints of a proposed solution. This module is the order that gets you a solution worth asking that about: the landscape first, then each arrow with its requirement, mechanism, identity and failure plan, said in concrete words.

  • The single big decision, one org or many, made first and said with its reason.
  • The landscape, current and target, with every box in its place.
  • For every arrow: the requirement, the pattern and mechanism, the identity, the failure plan, and its record.
  • The one concrete detail you can give for every mechanism you choose.
  • The story the artifacts tell, in order.
  • Where the design is sub-optimal on purpose, and why.