
Agent or workflow: a decision guide for automation leaders
If you can draw the path, build a workflow. Use an agent only for the steps whose path cannot be known in advance, and keep that agent inside a workflow that controls what it may touch.
Seven practices, one team
Independent advice on where to invest, what to stop and how to build, set out as decisions your teams can act on.
Insights and resources
A publication for people who have to make technology work, not just choose it.
Search the siteBusiness process transformation
We find out how the work actually flows, remove the steps that should not exist and automate the rest, exceptions included.
Most automation programs start from the documented procedure, which describes the case where every field is filled in, every approver is at their desk and every system responds. That case accounts for a small part of what actually happens. The rest consists of exceptions, such as an invoice without a purchase order, a customer whose address does not match, or an approval that waited a week because someone was on leave, and that is where staff spend most of their day. An automation that covers only the documented path hands the easy work to a machine and leaves the difficult work, along with the queue, where it was.
We work in a fixed order. We begin by finding out what the process actually is, using the event logs of the systems it runs through and time spent sitting with the people who do the work. Next we remove steps, such as an approval that has never been refused, retyping between two systems or a check that repeats another check. Automation comes only after that, through APIs where a system offers them and through screen automation only where it has none, together with a candid estimate of how often the screen automation will break.
What we build is designed to be run by your operations team, including on the days when cases pile up and systems fail. Long-running work keeps its state in a workflow engine, so a restart or a timeout does not lose a case, and documents are read with a confidence score for each field so that uncertain values go to a person. Wherever a decision has consequences, a person makes it. Every automated action is recorded with what was done, to which record, under which rule and on whose authority.
A measured map of how the work actually flows, followed by a shorter process.
Event log construction · Process mining analysis · Conformance checking · Work observationRules-based work done by software, with exceptions routed to people and each action logged.
API-first automation · Screen automation where unavoidable · Decision tables and business rules · Exception queuesLong-running processes that keep their place through restarts, failed steps and approvers on leave.
Durable workflow implementation · Retry and timeout policy · Saga and compensation design · Human task managementDocuments turned into reliable data, with a person checking the fields the system is unsure of.
Classification and splitting · Text and handwriting recognition · Field and table extraction · Per-field confidence and thresholdsIntegration that is planned, owned and reused across the company from one project to the next.
Integration strategy and principles · Platform evaluation and selection · Event backbone design · Canonical data and schemasEach automated step has to be built and tested before release and then monitored and repaired whenever the systems around it change, whereas a deleted step costs nothing to run. For that reason the first question we ask about any step is what would go wrong if it stopped and who would notice, and only the steps that pass that question get automated.
The clean case is the easiest part to automate and also the smallest part of a team's day. We design the exceptions first, working out what each one is, how often it appears in the logs, who owns it and what the automation hands to that person when it stops, because an automation built without that design usually just moves the backlog somewhere else.
Software should gather information, check it and route the case. Decisions such as refusing a claim, paying a supplier outside terms or closing an account stay with a named person, who receives the evidence on one screen along with a deadline. Whichever acts, the machine or the person, leaves a record from which an auditor can replay the case step by step.
A principal and a senior engineer read the code, the data and the plans, and talk to the people involved. You get a written assessment, the risks ranked by what would actually stop you, and a 90-day plan you can run with or without us.
A dedicated team takes one use case to production and hands it to your people, with a release to staging every week and tests agreed up front as the definition of done.
Senior engineers working inside your tools and your standups, month to month, with a named principal accountable for the outcome.
After go-live we keep the system healthy: monitoring, on-call, cost control and a monthly improvement backlog, against service levels agreed in writing.
In almost every case it is better to fix it first, because automation hardens a process. Once the steps are in code each one costs money to change, so a pointless approval or a duplicate check tends to become permanent. The exception is a narrow and painful step, such as retyping between two systems, where a small integration can give relief while the wider redesign is still being debated. We tell you which situation you are in after we have looked at the event data.
You do not, because we work in the stack you already have. Screen automation has a legitimate place, for example with a mainframe terminal, a supplier portal or a desktop application that offers no interface for software. What we review is which of your bots are doing work that an API could do, since those break for reasons outside your control and are worth moving. The others stay where they are, with monitoring, an owner and a frank note on how often each one fails.
We apply five tests. The work has to be frequent enough to matter, and its rules have to be clear enough to write down, so that two experienced people would apply them the same way. The inputs should arrive as data or be convertible into data, the systems involved should be reachable through a supported interface, and one person should own the process and be able to settle questions about it. We check the first test in the event logs and the others by sitting with the team.
AI fits the steps that need reading or interpretation, such as extracting fields from a document, classifying an incoming request or drafting a reply for someone to approve. Where a rule is already known, applying the rule is cheaper, faster and easier to audit than asking a model. We treat model output as a suggestion that carries a confidence score, check it against rules and reference data and send uncertain cases to a person, so the model never has the final word on anything with consequences.

If you can draw the path, build a workflow. Use an agent only for the steps whose path cannot be known in advance, and keep that agent inside a workflow that controls what it may touch.

An enterprise agent is a model in a loop with access to your systems. It becomes safe to run when six layers surround the model, each keeping its guarantee even when the model gets something wrong.

AI is useful in claims for reading, sorting and preparing files faster, but it should not deny a claim, interpret disputed coverage or accuse a customer of fraud, so the design has to be asymmetric.
Tell us what you are trying to do and where it is stuck. A principal reads every message and replies within one working day.