More than analytics: how process mining helps a retailer save money and grow revenue

1 Aug 2025

Problem

A retailer's express delivery runs through seven stages, from request and store choice to handover to the customer. Data about it sits in CRM, support systems and partner feeds, and each system may compute the same metric differently. Ordinary BI reports show averages and single orders, so late deliveries, odd failures and cancellations stay unexplained. They cost on-time delivery, order volume and the share of orders customers pick up.

Example from the article: at M.Video-Eldorado courier and carrier assignment took over 30 minutes against a 20-minute norm, and it was the only stage with delays.

Solution in brief

Treat every order as a path of timestamped events. The transition graph with durations shows where time goes and which paths are atypical. Compare it with the designed process, slice it by store, region or partner, fix the cause and check the effect with an A/B test or the metric. A five-minute event feed was built from order snapshots in Kafka.

Questions this case answers
  • How to locate the stage of a multi-step operational process that causes missed deadlines when only per-step timestamps in several systems are available
  • How to detect that a process metric is mis-measured because a real step is missing from the event model
  • How to build a near-real-time event log from a production system whose tables hold change history for only some attributes and cannot be queried often
  • How to find which stage of a multi-step order process causes missed delivery deadlines

Tools and methods

  • Process mining — transition graphs with step durations, sliced by store, region or partner
  • A/B test — checks the new courier-selection algorithm
  • Apache Kafka — carries a full order snapshot on every change
  • Pentaho (ETL) — splits snapshots into order lines and buffers them
  • PostgreSQL triggers — compare the old and new order state and write the change history
  • SAP CRM — the source system
Continue reading — it's free

Google or a one-time email code. No password.