# Process Mining (Preview)

> Build a Process Mining app from a CSV or event log and query throughput, variants, and bottlenecks.

The agent turns a CSV or event log into a Process Mining app. Uses the `uipath-process-mining` skill ([Skills catalog](skills-catalog.md)).

## How a process app is built

1. Created from a template and a data mapping.
2. Loaded with source data.
3. Transformed through a dbt-based layer.
4. Published. Dashboards query the full dataset. If publishing reports that ingestion is needed, the agent runs an ingestion on the published stage first.

| Data | Template |
| --- | --- |
| Event log: one denormalized log of case, activity, timestamp | Generic event-log template. |
| Source-system extract: multi-table, such as SAP, Oracle, or Salesforce | Matching template, such as purchase-to-pay on SAP. |

On a published app, ask for:

- Grouped metrics
- Detail rows
- Percentiles
- Root-cause analysis
- Custom analytical tables

## Find bottlenecks in an event log

> Create a process app from this event log and identify the main bottlenecks.

The agent tests on a small subset before it publishes.

## Other process app tasks to ask for

- Ingest this SAP purchase-to-pay extract and show average steps-to-resolution by vendor.
- Add a total cycle time field and group cases by SLA breach.
- My dashboards won't open. Check for a mismatched field data kind.

More: [Process Mining documentation](https://docs.uipath.com/process-mining).
