Preparing legacy workflows before you add AI
Before adding AI to an old process, map how it really runs, find the exceptions and unwritten rules, and measure a baseline so you can prove the AI helped.
Westerwick4 min read

On this page
The quickest way to disappoint yourself with AI is to add it to a process nobody has looked at properly in years. The AI will follow the process as documented. The business runs on the process as it actually happens, with its workarounds, exceptions and the colleague everyone phones when something odd comes in.
This piece is about the workflow and people side of getting ready: mapping how work really flows, finding the rules nobody wrote down, and measuring where you start. For the systems side, such as master data, APIs and ERP support dates, see what to modernise before adding AI to an ERP workflow.
Map the process as it really runs
Most businesses have a process diagram somewhere. It usually describes how things were meant to work when it was drawn.
Process mining offers a more honest view. Microsoft describes it as technology that "helps businesses understand their real processes, how they operate, and identify opportunities for improvement, automation, and digitalization"1. It works by reading the history recorded in your systems, which lets you "determine the root cause of inefficiencies"1 from evidence rather than opinion.
It needs three things from your data2:
- A case ID that ties the steps together. Microsoft says it "should represent an instance of your process and is often the object that the process acts on", such as an order or a request2.
- Activity names, the steps people recognise: submitted, approved, rejected, revised.
- Timestamps, so you can see how long each step takes and where work waits.
Older systems often hold this history in places nobody looks. Microsoft notes that "many Dynamics applications keep this record in the Activities table"2. It also warns that "not all events that you're interested in are logged"2, and that joining and cleaning the data may need your IT team. Budget for that work. It is part of the project, not a preliminary.
Find what the logs don't show
Process mining shows what passed through the system. The steps that most need human judgement often never touch it: the phone call to a supplier, the email to the finance manager, the spreadsheet on someone's desktop.
To find them, sit with the people who do the work. In our experience, three questions surface most of it:
- "What do you do when this goes wrong?" Exceptions are where the real rules live.
- "Who do you ask when you're not sure?" That person holds knowledge the AI will need.
- "What do you check that the system doesn't?" These are controls nobody has written down.
Write the answers down as plain rules. If a rule exists only in one person's head, an AI following the documented process will confidently get it wrong, and that person becomes a single point of failure whether or not you add AI.
If you can't explain the exception to a new colleague, you can't explain it to an AI.
Decide where the decisions are
Once the real process is mapped, mark each step as one of three kinds:
- Mechanical: copying, checking a format, routing to the right queue. Good candidates for automation.
- Judgement with clear evidence: approving an invoice that matches its order, for example. Good candidates for AI to prepare and a person to approve.
- Judgement without clear rules: relationship calls, unusual cases, anything with legal or financial weight. Keep these with people, and use AI at most to gather information.
This map, not the technology, decides where AI belongs. AWS's operational guidance makes the same point about automation generally. It recommends automating safely "by configuring guardrails, including rate control, error thresholds, and approvals"3, rather than automating everything at once.
Measure where you start
If you don't measure the process before adding AI, you can't prove the AI helped, or notice when it made things worse. Before any change, record a few baseline numbers:
- Cycle time: how long a case takes from start to finish.
- Waiting time: how long cases sit between steps.
- Error or rework rate: how often a case has to go back.
- Volume: how many cases a week, and how that varies at month-end.
Process mining gives you most of these directly. Where it can't, a few weeks of simple tracking will do. Keep the baseline and compare against it after each change.
Fix the process before you automate it
Mapping often shows problems that have nothing to do with AI: an approval step nobody needs, a form filled in twice, a handoff that always waits a day. Fix those first. Automating a poor process just produces poor results faster, and makes them harder to see. Each fix you make now also gives you a cleaner process to compare against, so you can separate the gains from tidying up from the gains the AI actually delivers.
What to do next
- Pick one process you'd like AI to help with, ideally one with clear volume and a clear owner.
- Pull its event history from your system and map how it actually runs.
- Interview the people who run it about exceptions, workarounds and unwritten checks, and write the rules down.
- Mark each step as mechanical, judgement with evidence, or judgement without rules.
- Record a baseline for cycle time, waiting time and rework before changing anything.
Sources
- 1.Overview of process mining in Power AutomateMicrosoft Learn
- 2.Processes and data requirements for process miningMicrosoft Learn
- 3.Operational excellence (AWS Well-Architected Framework)AWS Well-Architected Framework


