Process mining meets agents, finding real automation wins

Two colleagues in an office reviewing a process flow diagram on a screen, one pointing at a step in the flow
TL;DR

Process mining extracts case IDs, activities and timestamps from systems you already run to show what actually happens in your workflows, not what the SOP says. Pair that diagnostic with narrow agents at the two or three junctions where variability and rework cluster, and you get the kind of targeted automation that produces real returns instead of the cancellations Gartner expects from broad agentic projects.

Key takeaways

- Process mining reconstructs the real flow of work from event logs already sitting in your CRM, ticketing system or ERP, not the idealised flow described in an SOP. - The 2025-2026 shift is process mining moving from niche analytics into the default precursor for agentic AI, with SAP, Globant and C3 AI all framing it as the diagnostic that feeds the execution layer. - The discipline reverses the failure sequence behind Gartner's 40% agentic cancellation forecast: evidence first, then narrow agents at two or three high-waste junctions, instead of buying a platform and hunting for a fit. - Honest measurement is cycle time, error rate and cost per case before and after, not vendor-supplied hours-saved numbers, and it's what distinguishes the 250 to 300% year-one ROI cases from automation theatre. - For a 50-person firm, the practical starting point is two columns and a week of logs, not a procurement cycle, with consultancy brought in once the high-waste junctions are visible rather than to find them.

A founder of a 50-person services firm sat across from me last month with a list of three AI tools she had bought this year. She could describe each demo in detail, who ran it, what the sales engineer showed, the price point her finance director eventually agreed. What she couldn’t tell me was which two workflows inside her actual operation were quietly losing the most time and money. That gap, between rich knowledge of the tools and thin knowledge of the work, is the most common failure pattern I see in AI adoption right now. It’s also the one process mining was built to close.

Gartner now expects more than 40% of agentic AI projects to be cancelled by 2027, citing cost, weak governance and unclear value. The pattern behind that forecast is almost always the same: pick the tool, then hunt for a problem to point it at. The discipline that flips the sequence, mining the evidence first and deploying agents narrowly second, is where the most defensible 2026 wins are now being found.

What is process mining, in plain terms?

Process mining reconstructs what actually happens in your business by pulling event logs out of the systems you already run, then drawing the real flow of work. Every CRM, support platform, finance system and ticketing tool records three things almost by default: a case ID, an activity name, and a timestamp. Extract those columns from a month of activity and you have the genuine path each case took, not the path the SOP describes.

The output looks like a flow diagram where the dominant route is thick, the side detours are thin, and the loops where work bounces back for rework or reassignment are immediately visible. You can see how many cases took the happy path, how many got stuck on a particular approval step, how often the same ticket was reopened, where average cycle time spikes. The systems were already recording this. Process mining just makes it legible.

Why does it matter for your business?

It matters because the buying pattern behind most failed AI projects is the same: pick the tool, then hunt for a problem to point it at. Process mining flips that sequence. By showing where time and money are actually being lost before a single licence is signed, it turns AI procurement from a vendor-led story into an evidence-led one, and that’s the difference between targeted wins and the cancellations Gartner now forecasts.

Two things changed in 2025 and 2026 that pushed the discipline from niche analytics into the default precursor for serious AI work. On the buyer side, SAP’s CFO has publicly described process mining as part of the standard tooling required for AI adoption. Globant’s BPM Forum framed AI process agents and process mining together as a single discipline. C3 AI markets its Agentic Process Automation explicitly with process mining outputs as food for agents. When that many serious operators converge on the same sequence, it’s worth paying attention.

On the vendor side, agentic AI platforms now exist that can reason, read unstructured context and act across multiple systems, but they’re expensive to run, hard to govern, and brittle in unfamiliar territory. Pointing one at a workflow you only half-understand is the surest route to the cancellation column. Pointing one at a junction mined evidence has already proven costs you cycle time is how the 250 to 300% year-one ROI case studies on invoice and contract automation actually come about.

Where will you actually meet it?

In a 50-person services firm, the most useful starting points are support tickets and finance. Support data is clean, volume is high, and the cost of detours is visible. Finance flows hide huge variability behind a clean monthly total. Either one will give you a flow map within a few hours of pulling the right CSV, and surface two or three junctions worth a focused conversation about an agent.

On the support side, mining 90 days of ticket activity will often show that a third of escalations are caused by missing customer context nobody captured at intake, or that 60% of resolution time on Tier 2 tickets is waiting for an internal approval. On the finance side, Swfte’s 2026 benchmarks for AI-driven invoice processing put cost per invoice at 2 to 4 USD in mature setups versus 12 to 16 USD manual, with straight-through processing rates above 85% once exceptions are properly handled.

For a mid-size manufacturer, the canonical entry point is purchase-to-pay. Mining the flow tends to reveal that mismatched invoices, where PO numbers don’t reconcile cleanly to received goods, create days of rework concentrated on a small percentage of cases. That’s a textbook target for a narrow agent: read the invoice and the PO, reconcile the discrepancy using natural-language reasoning where the fields are ambiguous, route genuine exceptions to a human. The Swfte data on multi-year ROI above 600% in this kind of deployment is real, but it’s real because the targeting was right, not because the agent was clever.

When to ask vs when to ignore

Process mining is genuinely useful when you have at least one system processing meaningful case volume per month, when you suspect detours and rework but can’t quantify them, and when the automation investment you’re weighing is large enough that getting the targeting wrong would hurt. For a 10-person firm running everything through email and a shared spreadsheet, the technique adds little. The volume is too low and the systems aren’t structured enough to mine usefully.

There’s also a sensible negative result. For a firm where the dominant workflow really is linear and predictable, scripted RPA-style automation is cheaper, more auditable and less risky than an agent. Process mining will confirm that rather than overturn it, which is itself a useful saving: you get to skip an expensive agentic experiment that would have produced a thin return at best.

Ignore it, in practice, when a vendor is selling you process mining as a strategic platform purchase before you have proven value with a single mined workflow. The discipline starts with two columns of data and a week of attention, not a procurement cycle. Bring consultancy in once you can see the high-waste junctions and need help acting on them, not to discover what they are. And ignore the claim, common in vendor decks, that process mining will “find your bottlenecks for you” without human interpretation. The tool produces the map. A founder or operations lead who understands the business reads it. The agent, if one is justified, comes third.

Two ideas sit either side of this discipline. Task mining captures what happens on the desktop between system events, useful for the human side of a workflow that event logs miss. Traditional RPA, in IBM’s recent comparison, is a digital macro recorder for stable, structured work. The two are complements to agents, not competitors: RPA for the predictable spine, agents at the variable junctions, process mining as the diagnostic.

Worth knowing about too: runtime budget guardrails, the governance concept Oracle has been pushing, which says every agent run should have explicit token caps, time limits and iteration thresholds so a flailing agent can’t simply try harder indefinitely. And the reliability floor research from Fiddler AI and others, which shows that agents in production fail between 70% and 95% of the time when pointed at poorly-understood work, which is the empirical case for narrow deployment at evidenced junctions rather than broad deployment everywhere.

If you take one thing from all of this, take the sequence. Evidence first, then targeting, then narrow agent deployment, then honest before-and-after measurement on cycle time, error rate and cost per case. That’s the playbook the serious operators are now running. The firms that skip the first two steps are the ones who will fill out the cancellation statistic in 2027.

If you want help applying this to a specific workflow in your business, book a conversation.

Sources

- Globant, "AI process agents, process mining and the new era of intelligent optimization" (2026), https://stayrelevant.globant.com/en/technology/data-ai/ai-process-agents-process-mining-and-the-new-era-of-intelligent-optimization/ - Constellation Research, "AI agents, automation, process mining starting to converge" (2026), https://www.constellationr.com/insights/news/ai-agents-automation-process-mining-starting-converge - Swfte, "AI invoice and contract processing ROI guide 2026", https://www.swfte.com/blog/ai-invoice-contract-processing-roi-guide-2026 - IBM Community, "RPA vs agentic AI in enterprise automation" (Nov 2025), https://community.ibm.com/community/user/blogs/ahmed-alsareti/2025/11/04/rpa-vs-agentic-ai-transforming-enterprise-automati - Made Smarter UK, "AI adoption in manufacturing toolkit", https://www.madesmarter.uk/resources/ai-adoption-in-manufacturing/ - Fiddler AI, "AI agent failure rate" (2026), https://www.fiddler.ai/blog/ai-agent-failure-rate - ITPro, "It's make or break for AI agents in 2026, failure now could set adoption back years", https://www.itpro.com/technology/artificial-intelligence/its-make-or-break-for-ai-agents-in-2026-failure-now-could-set-adoption-back-years - Automation Anywhere, "Agentic AI platforms buyer's guide 2026", https://www.automationanywhere.com/rpa/agentic-ai-platforms - Oracle, "Runtime budget guardrails for agentic AI", https://blogs.oracle.com/ai-and-datascience/runtime-budget-guardrails-agentic-ai

Frequently asked questions

Do I need a process mining tool to start, or can I do this with what I already have?

For a first pass, no. If your CRM, ticketing or finance system can export a CSV with case ID, activity name and timestamp, that's enough to build a basic flow map in a spreadsheet or with a free tool like Apromore Community. Paid tools like Celonis, UiPath Process Mining or IBM Process Mining add scale, automated discovery and conformance checking, but a 50-person services firm with one or two systems can get the diagnostic value from a few hundred lines of log data and a couple of focused afternoons.

How is this different from just hiring a consultant to map our processes?

A consultant maps what people tell them happens. Process mining shows what the systems record actually happening, which is almost always different. The interview-based map will describe the happy path; the event log will show the 30 to 40% of cases that loop back, get reassigned, sit waiting for an approval that never came, or get reopened after closure. That gap between described and actual flow is where most automation effort goes wrong, and it's the gap process mining closes before you commit budget.

How do I know which junctions in the mined flow are good candidates for an agent versus a script?

Two filters. First, variability: if the same activity completes in roughly the same way every time, a deterministic script is cheaper and more auditable. If the work involves reading unstructured data, reconciling ambiguous fields, or making a judgement call between several reasonable options, an agent earns its place. Second, payoff: an agent only justifies its cost and oversight overhead if the junction is high-volume, high-rework, or both. Use the mined data to count exceptions, then prioritise.

This post is general information and education only, not legal, regulatory, financial, or other professional advice. Regulations evolve, fee benchmarks shift, and every situation is different, so please take qualified professional advice before acting on anything you read here. See the Terms of Use for the full position.

Ready to talk it through?

Book a free 30 minute conversation. No pitch, no pressure, just a useful chat about where AI fits in your business.

Book a conversation

Related reading

If any of this sounds familiar, let's talk.

The next step is a conversation. No pitch, no pressure. Just an honest discussion about where you are and whether I can help.

Book a conversation