Process mining is a data-driven method that reconstructs how work actually flows through an organisation by analysing the event logs that business systems already record. Instead of asking people how a process runs, it reads the timestamps in ERP, CRM and ticketing systems and rebuilds every real path, variant and delay. AI-powered process mining adds the work that never reaches those systems: emails, tickets and chats.

Every enterprise runs on processes that look different on the ground than they do in the deck. The order-to-cash flow that is supposed to take three days quietly averages eleven. The "standardised" customer onboarding runs seven different ways across four regions. The procurement policy says three approvers; the data says nine people have touched the purchase order. Leaders know the gap exists. What they usually lack is a live, evidence-based picture of it.

This guide explains what process mining is, how it works step by step, how a process mining project runs, how AI changes the discipline, and how it connects to automation in a loop that keeps improving itself.

What is process mining?

Process mining is a data-driven discipline that reconstructs how work actually flows through an organisation by analysing the digital traces left in business systems. Instead of asking people to describe their processes, it reads the event logs from your ERP, CRM, ticketing and service platforms, and rebuilds the real sequence of steps, handoffs and exceptions behind every transaction.

The technique was formalised in academic research in the early 2000s by Wil van der Aalst and his collaborators, and codified in the IEEE Process Mining Manifesto, endorsed by 77 experts across 53 organisations. Since then it has moved from the lab into the operations stack of most large enterprises. Deloitte's Global Process Mining Survey 2025 found that 48 percent of organisations now run process mining company-wide, up from 45 percent in 2021.

AI-powered process mining goes one step further. It reconstructs the workflow not just from structured transaction logs, but from the unstructured communication that carries much of the real work: emails, tickets and chat threads. Custom-trained AI models interpret these signals, tie them to the right process instance, and surface them as visible steps in the workflow. The output is a live operational picture of how your organisation actually runs, down to the variant level.

How does process mining work?

Process mining works in five steps, from the raw events in your systems to a redesigned process.

How process mining works: collect events, build the event log, discover the process, check conformance and enhance, with AI adding emails, tickets and chats as events
  1. Collect events. Every business system writes timestamps: a purchase order created, an invoice posted, a ticket opened, a shipment confirmed. Process mining collects those events from every system the process touches.
  2. Build the event log. Each event gets three attributes: a case ID that says which process instance it belongs to, an activity that says what happened, and a timestamp. The case ID has to hold across systems, so that one order can be followed from the first request to the final invoice.
  3. Discover the process. The process mining engine reconstructs the flow from the event log: every path a case can take, how often each path occurs, where cases diverge from the standard, and where they wait.
  4. Check conformance. The discovered process is compared with the process as it was designed. Where are steps skipped, approvals done out of order, or rework loops repeated?
  5. Enhance. The findings feed back into the process: the bottleneck is removed, the handoff redesigned, the repetitive step automated, and the effect measured in the same data.

Traditional process mining works only with the events that systems record. AI-powered process mining adds a second layer. Universal Tracing captures events that were never designed to live in an event log: a reply to a supplier email that changes a delivery date, a chat note that triggers a manual retry, an exception logged in a shared document. Custom-trained AI models classify these events, link them to the correct case and fold them into the reconstructed workflow. The result is a process view that accounts for the invisible work.

The three types of process mining

Van der Aalst's framework, codified in the IEEE Process Mining Manifesto, identifies three complementary uses of process mining. Every serious implementation touches all three.

Discovery is the baseline. You point the engine at your event data and let it reconstruct the process without any prior model. This is where most organisations find out that their "standard" process has dozens of variants, that the fast path covers only a minority of cases, and that a team nobody remembered introducing is handling a large share of the exceptions. For the methods behind it, from workshops to automated discovery, see what is process discovery.

Conformance checking compares the discovered reality to the process model you think you are running. Where does execution drift from policy? Which steps are skipped? Which approvals happen out of order? Conformance turns process mining from curiosity into audit.

Enhancement closes the analytical loop. Once you see the gap between the designed process and the real one, you use the data to extend the model: add the variants that actually work, remove the bottlenecks, redesign the handoffs. Enhancement is where process mining starts to inform process change, not just document it.

Tekst's architecture covers all three. Process mining and conversation mining handle discovery, reconstructing the workflow from structured and unstructured events. Process intelligence does the conformance work, flagging where execution drifts from intent. And the closed loop with automation is where enhancement happens in practice: the model keeps improving as execution feeds back into it.

Process mining steps: from question to result

A process mining project follows the same six steps, whatever the process.

  1. Start with a question. "Why do a third of our orders ship late?" produces a decision. "Show us our process" produces a map. The question decides which data matters.
  2. Identify the systems and the case. List every system the process touches and decide what one case is: an order, a ticket, an invoice. Check that the case ID can be followed across those systems.
  3. Build the event log. Extract the events, clean the timestamps and link them to the case. In a traditional project this is the data engineering work that takes months; with AI that infers the structure, it takes days.
  4. Discover and analyse. Reconstruct the process, rank the variants by volume and duration, and find the bottlenecks and rework loops that answer the question.
  5. Act on the findings. Redesign the step, change the rule, or automate the repetitive work, with a clear owner for each change.
  6. Measure and repeat. Compare the same measures after the change, in the same event data, and move to the next bottleneck.

For worked examples of these steps by function, see process mining use cases. For what the results tend to look like, see the benefits of process mining.

Process mining vs traditional business intelligence

A common question: how is this different from the BI dashboards we already run?

The useful analogy is medical. Business intelligence is a physical check-up. It tells you the outcomes: revenue, conversion, cycle time, ticket volume. Useful, necessary, but descriptive. You see the symptom, not the cause.

Process mining is the X-ray. It shows you the internal mechanics that produce those outcomes. Why cycle time is eleven days and not three. Which rework loop nobody owns. Which handoff between finance and operations accounts for most of the late payments.

BI answers "what happened." Process mining answers "how did it happen, and where does it break." The two are complementary. Most enterprises that adopt process mining keep their BI stack untouched. What changes is that the numbers on the dashboards finally have a causal story behind them. The related comparison with data mining is covered in data mining vs process mining.

Process mining vs RPA

Process mining and robotic process automation are often mentioned together, and just as often confused. The short version: process mining tells you what to automate; RPA executes the automation.

Running RPA without process mining is how organisations end up automating the wrong steps. You lock in the bottleneck instead of removing it. You build bots on top of a variant that covers a small share of cases. You scale execution before you understand flow.

Process mining sits upstream. It surfaces the repetitive, high-volume, low-variance steps that are genuine automation candidates, and it exposes the messy ones that need redesign first. Once the picture is clear, automation becomes a targeted decision instead of a scattershot programme.

The full comparison, including where each discipline ends and begins, sits in our dedicated deep dive on process mining vs RPA.

AI-powered process mining

Classic process mining reads structured event logs. It does an excellent job on transactions that already live inside systems. It does almost nothing with the work that happens around them.

In most enterprises, that is a large gap. Operations teams exchange dozens of emails per case. Customer service agents resolve issues in chat threads that never touch the ticket. Exception handling happens in spreadsheets and shared inboxes. None of this shows up in a traditional event log.

AI-powered process mining changes what is observable. Custom-trained AI models read unstructured communication, classify it into process activities, and attach it to the right case. Tekst calls this layer conversation mining. It treats communication as a first-class source of process data, which is the reason process intelligence needs to start in the inbox rather than in the transaction log.

The effect is a more honest picture. Cycle times that include the real waiting periods. Rework loops that show every human intervention, not just the system ones. Process variants that reflect how work is actually negotiated between teams.

For a deeper look at how AI changes process mining, and how conversation mining fits into the discipline, see our dedicated piece on AI-powered process mining.

Process mining without a data engineering team

Historically, process mining was a data engineering project. You needed an ETL pipeline, a data warehouse, a schema, and a team that could maintain all three. Time to first insight: six to twelve months.

Custom-trained AI models collapse that timeline. Instead of hand-mapping every event type and building bespoke transformations for each system, the models infer structure from raw system data, including unstructured events. The work that used to require a dedicated data engineering team now runs with the operations team that owns the process, and full process visibility arrives in under 10 days.

We cover how this works in practice, including what "without a data engineering team" means day to day, in our piece on process mining without data engineers.

Universal Tracing and the closed loop from process mining to execution

Seeing the workflow is the starting point. The real value comes from acting on it.

Tekst's architecture connects process mining to a process intelligence layer and to automation in a closed loop. Universal Tracing captures every event, structured or unstructured, across the workflow. Process intelligence reconstructs the operational model and flags where execution diverges from intent. Agentic automation acts on those divergences: routing exceptions, triggering the right next step, resolving cases without a human touch where appropriate.

Crucially, the loop flows back. Execution data from automation feeds into process intelligence. The reconstructed workflow keeps evolving as work changes, and the model gets more accurate the longer it runs. This is what Tekst calls the self-improving company: an operating layer where the picture of how work flows and the system that acts on that picture continuously refine each other.

Process mining use cases across the enterprise

Process mining is horizontal. Wherever there is a repeatable process with measurable outcomes, it applies. A few areas where the return shows up fastest:

Finance. Accounts receivable and accounts payable both run on cycles built from dozens of handoffs between billing, collections and customers. Process mining surfaces the variants that delay payment, and the communication patterns that resolve disputes faster.

Procurement and supply chain. Purchase-to-pay cycles are notoriously variable. Process mining reveals maverick spend, approval bottlenecks, and the supplier interactions that most affect delivery timing.

Customer service. The gap between the designed process and the real one is usually widest here. AI-powered process mining reconstructs the full resolution path, including the email exchanges and internal escalations that shape the customer experience.

Order management and quote-to-cash. Order intake, order changes and exception handling leave dense event trails, much of them in email. Process mining shows which variants add value and which are accumulated scar tissue, and where quote-to-cash automation pays off first.

SAP environments. Most of the enterprise event data that matters lives in SAP. A serious process mining platform treats SAP as a primary source, reading from the modules that drive most of the operational flow.

For worked examples by function, including public event logs and the use cases that start in the inbox, see process mining use cases and examples.

What to look for in a process mining platform

The market has broadened. Most platforms now call themselves AI-powered. The differentiation that matters is harder to see from a feature list. A few criteria worth pressure-testing:

Unstructured events. Can the platform actually read communication data and turn it into process activities, or does "AI" refer to dashboard generation? Without conversation mining, you are looking at half the process.

Custom-trained AI models. Generic models plateau quickly on enterprise data. Models trained on your specific systems, your language and your process taxonomy deliver very different accuracy over time.

Closed loop with automation. Process mining that stops at insight delivers a report, not a result. The platforms that drive change connect discovery directly to execution, with a feedback path that keeps both improving.

Deployment model. Time to first reconstruction is a meaningful benchmark. If the answer involves a data engineering team and a six-month runway, the economics have already shifted against you.

SAP coverage. For any enterprise running SAP as a core system, native, deep integration between the process mining layer and SAP is non-negotiable.

Those are the platform criteria. The questions that come before them, about whether your event data can carry a process mining project at all, sit in our separate guide on how to choose process mining software.

From visibility to execution

The gap between how leaders think their processes run and how they actually run has been an open problem for decades. Process mining closed part of it. AI-powered process mining closes more of it, by making unstructured communication part of the operational picture. A closed loop with automation closes it again, by acting on what the picture reveals.

The organisations that treat process mining as infrastructure rather than a side project stop running on assumption and start running on evidence. That is the real shift behind the category. Not a new dashboard. A new operating layer.

Other blog you might like
How to Choose Process Mining Software

Choosing process mining software is a data readiness decision first. The event log, the five maturity levels, and when process mining is the wrong tool.

Deduction Management in B2B: Best Practices and How to Automate It

Deduction management explained: the types of B2B deductions, why the process fails at scale, best practices, and what AI can automate.

Customer Journey Mapping
Customer Journey Mapping: Your Customer Journey Runs Through Conversations

Customer journeys run through conversations as much as systems. See how Tekst maps every customer interaction, with sentiment, onto the real end-to-end process.