At 22:10 on a Friday, a customer of Blouberg Bank, our fictional South African bank, reports on WhatsApp that her card was stolen and that two transactions on her statement are not hers. Four things need to happen: block the card, open a dispute for the two transactions, order a replacement card and book a courier to deliver it. Each of those lives in a different system. The chat assistant blocks the card in seconds. The dispute is opened on Monday by a contact-centre agent who has to ask her to repeat the details. The replacement card is ordered twice, because a timeout made the first order look as if it had failed. Nobody books the courier, so she calls the bank three more times.
Blouberg's first instinct was to buy a more capable agent. But every individual step worked. What was missing was the layer that knows which steps belong to this request, which have run, which failed, who owns the next decision and what to tell the customer.
It builds on the case as defined in Part 2, Design around the case: one customer need the organisation has accepted to resolve, with a single identifier, an accountable owner, evidence, tasks, decisions, status and an audit history, kept until resolution is confirmed. The AI control plane is in Series 03 and production engineering is in Series 05. This part is about the service, not the model.
The executive view: five jobs, one case
Executives need the jobs the layer must do and who answers for each, not the component list.
| Job | What it does | Accountable owner | What breaks without it |
|---|---|---|---|
| Hold the case | Keeps one record of the request, its evidence, status and owner | Service owner | Customers repeat themselves; staff see different versions of the truth |
| Run the steps | Sequences actions, waits for people and partners, enforces service-level timers | Process owner | Steps are forgotten between channels and shifts |
| Connect the systems | Exposes core systems as governed APIs, events and tools | Platform or integration owner | Every new channel builds its own point-to-point links |
| Apply judgement | Classifies, summarises, retrieves and drafts where rules cannot | Product owner, with risk sign-off | Staff do repetitive reading and typing; or an ungoverned model does it |
| Decide and approve | Applies policy and human authority to consequential actions | Business owner of each action | The model, or whoever built the integration, decides by default |
Every failure in the last column happened at Blouberg, and none was caused by the model.
The logical architecture
This is a logical view: it names responsibilities, not products.
Three components form the orchestration core, and the most common design mistake is to blur them.
- The case system of record holds the truth about the request: who asked, what evidence was given, what was decided, what the status is and who owns it. A customer-relationship management (CRM) platform or a dedicated case-management system can play this role, as long as one of them is named as the record. Digital case management as the spine of a regulator shows the same idea in a public body.
- The workflow engine holds the truth about the steps: which ran, which are waiting, which timers run and what happens on failure. It is durable. An agent without durable state cannot own a long-running process explains why that matters.
- The agent coordinator holds nothing durable. It handles the steps that need judgement, using bounded specialist agents, and returns proposals and results to the workflow. If the coordinator disappears mid-case, the case and the workflow should still know exactly where things stand.
The rule that falls out of this is simple. Conversation history is not the case, and the model's memory is not the workflow. Part 2 makes the same point for channels: conversation memory is not a system of record.
APIs, events, workflows and MCP do different jobs
Each integration style has a job. Most arguments come from using one for another's job.
| Mechanism | Use it for | Avoid it for |
|---|---|---|
| Synchronous API | A request that needs an answer now: card status, balance, block a card | Long-running work that waits for people or partners |
| Event | Announcing a fact other systems may care about: "card blocked", "dispute opened" | Commands that must be acted on exactly once by one owner |
| Workflow engine | Multi-step work with waits, timers, retries, approvals and compensation | Single calls that an API already handles |
| Case system | The durable record of the request, its owner and its status | Step sequencing and timers |
| Tool catalogue and MCP | Describing approved capabilities so an AI application can discover and call them | Granting authority; it describes capability, it does not approve use |
A few standards help keep these honest. CloudEvents, a Cloud Native Computing Foundation (CNCF) graduated project, gives events a common envelope (core specification v1.0.2, checked on 18 November 2026). Business Process Model and Notation (BPMN) from the Object Management Group gives business and technical teams one notation for workflows (current version 2.0.2).
The Model Context Protocol (MCP) is the newest of the five. The current specification, version 2026-07-28 as checked on 18 November 2026, defines how servers offer tools, resources and prompts to AI applications over JSON-RPC. It also states plainly that MCP "cannot enforce these security principles at the protocol level", and that hosts must obtain explicit user consent before invoking a tool. In other words, MCP is a good way to publish Blouberg's "order replacement card" capability once for several AI applications. It is not where the decision to order a card is made. CloudNala's series MCP Without the Hype covers the protocol, and API, function calling and MCP are different layers separates the three.
A coordinator that routes, and authority that stays outside the model
Where a step needs judgement, a coordinator can route it to a specialist. Four kinds cover most service work. Each has a narrow job, and none holds authority of its own.
| Specialist | Example in the Blouberg case | May do | May not do |
|---|---|---|---|
| Lookup | Find the card, the account and the two transactions | Read named records for this customer | Read other customers' records or change anything |
| Retrieval | Find the dispute policy and the time limits that apply | Search approved knowledge with the customer's permissions | Treat a retrieved policy as a decision |
| Reporting | Summarise the case for the dispute team and the customer | Draft summaries and status messages | Send a message that commits the bank without a check |
| Action | Propose "order replacement card to the address on file" | Propose a tool call with arguments | Execute it; the workflow and policy check do that |
The action specialist is where most of the risk sits, so the architecture keeps the decision outside it. The model proposes a tool call. The workflow engine checks that this step is allowed at this point in the case. A policy check confirms the customer's identity strength, the action limits and whether a person must approve. Only then does the call reach the system of record, through the tool catalogue, with credentials scoped to that one action. Part 2 of Series 03 sets out the harness that does this inside one agent; Part 1 shows which boundary owns which control.
Many steps need no agent at all. Blocking a reported card is a rule, and it should run as a rule; use a workflow until the unknown forces an agent gives the test. Bind each specialist to the case type and the tools it needs.
Idempotency: make every action safe to repeat
Blouberg's duplicate card order is a common failure: a call timed out, the caller could not tell whether it had worked, and it tried again. Both attempts succeeded.
An operation is idempotent when doing it twice has the same effect as doing it once. Ordering a card is not idempotent unless you make it so. The usual method is an idempotency key: a unique value sent with the request so that the receiving system recognises a repeat and returns the original result instead of acting again. The IETF's HTTP API working group is standardising this as an Idempotency-Key header for methods such as POST and PATCH. It is still an Internet-Draft (version 08, checked on 18 November 2026), not an RFC, so treat it as a design reference rather than a settled standard.
For a case, three rules matter more than the header format:
- Build the key from the business request, not the technical attempt. Case reference plus step name plus step version is a good start. A key generated fresh on each retry protects nothing.
- Make the receiving system honour it. A key the card platform ignores is decoration. If a downstream system cannot honour keys, the workflow must check state before it retries.
- Give one layer ownership of retries. When the channel, the agent and the workflow all retry, three sensible settings multiply. Who owns the retry? explains the arithmetic, and Part 7 of Series 03 covers safe retries during a model or cloud outage.
Compensation: when one action in four fails
The courier booking is the second failure. Three actions succeeded and the fourth did not. A database would roll back. A connected service cannot, because the card block has already protected the customer, the dispute reference has already been sent to her and a card may already be printing.
Microsoft's compensating transaction pattern (updated 16 April 2026, checked on 18 November 2026) describes the general approach well, and it is not specific to any product. Three of its points apply directly. A compensating action does not necessarily return the system to its starting state; it compensates for the work that was done. Compensation steps can themselves fail, so they should be idempotent too. And the design should define "points of no return", so that irreversible steps happen only after the validations that justify them.
Classify every action before you build it.
| Class | Blouberg example | On later failure |
|---|---|---|
| Protective | Block the card | Never compensate automatically; it protects the customer |
| Compensable | Order replacement card | Cancel only if the customer chooses, or the case is withdrawn |
| Forward-recoverable | Book courier | Retry, then offer an alternative such as branch collection |
| Irreversible | Provisional credit paid to the customer | Run only after the checks that justify it; recovery is a new case decision, not an undo |
The same guidance says a person should make decisions that are high impact or hard to automate. At Blouberg, the customer chooses between a re-booked courier and branch collection; the workflow offers the options.
The Case Card contribution
This part fills the Case Card fields that describe how the case is carried out, shown for Blouberg's fictional stolen-card case.
| Case Card field | Blouberg entry |
|---|---|
| case_system_of_record | Case-management platform; the chat history is linked, not the record |
| actions | Block card (protective), open dispute, order card (compensable), book courier (forward-recoverable) |
| people_and_agents | Lookup, retrieval and reporting agents; action proposals only; dispute team approves credits |
| systems_and_partners | Card platform, disputes system, core banking, courier partner via tool catalogue |
| exceptions | Courier failure, address mismatch, identity check below threshold, duplicate request |
| status_and_notifications | Status events from the workflow drive WhatsApp, app and contact-centre views |
The South African version
Three local conditions shape the orchestration layer.
Consent and minimality travel with every tool call. Under the Protection of Personal Information Act (POPIA), processing should be limited to what the purpose needs. In an orchestrated case, every specialist and partner call is processing. The lookup agent should receive the card and the two transactions, not the customer's whole history, and the courier partner should receive a delivery address and a reference, not the dispute. This is general information, not legal advice.
Partners are part of the case. Couriers, branch networks and outsourced contact centres carry many South African journeys. Their status must come back into the case as events, or the status page will show "dispatched" long after a delivery failed.
Public services face the same problem at national scale. Government's Roadmap for the Digital Transformation of Government, launched in May 2025, sets out better ways to verify identity, share data safely and make payments, with MyMzansi as a single access point (SAnews, checked on 18 November 2026). Shared identity and data exchange help, but each department still needs a case, a workflow and an owner.
Orchestration readiness checklist
Before adding another channel or agent to a service:
- Name the case system of record, and confirm no channel keeps its own competing status.
- Put multi-step work with waits, timers or partners in a durable workflow, not in a conversation.
- Publish system capabilities through a governed tool catalogue, with MCP where several AI applications need them.
- Give each specialist agent a narrow job, bound to the case type and its tools.
- Keep the authority check outside the model: workflow position, policy, identity strength and approvals.
- Give every consequential action an idempotency key built from the case and step, and confirm the receiver honours it.
- Classify every action as protective, compensable, forward-recoverable or irreversible, and design the recovery for each.
- Write every step, retry, compensation and decision to the case, so staff, customers and auditors read the same truth.
Previous: Part 6, Meetings as operating data. Next: Part 8, Service continuity end to end. All parts are on the series page.
How CloudNala can help
CloudNala designs service orchestration around one real case type. We map the case, name the system of record for each kind of truth, separate workflow steps from steps that need judgement, and design the tool catalogue, authority checks, idempotency keys and compensation rules for each action. You leave with a logical architecture your service owner, risk team and engineers agree on, and a short list of the integrations to build first.
Work with CloudNala
CloudNala helps organisations move from technology ambition to practical execution across cloud, AI, data, platform engineering and digital services.
Whether you are exploring AI, modernising your cloud environment, building a public-sector digital service, or turning an idea into a working MVP, we can help you shape the roadmap and deliver the next step.
Book a Service Orchestration Review or write to us at consult@cloudnala.co.za
