Productivity & OpsClaudeGPTGemini

Automated Process Mining for Workflow Optimization

Use case: Extracting process models from event logs to identify bottlenecks and inefficiencies.

15 copies182 views376 wordsCreated Jul 29, 2026
VERIFIED SEO TEMPLATE
WHAT THIS PROMPT DOES
  • Designed to solve: Extracting process models from event logs to identify bottlenecks and inefficiencies.
  • Recommended engine compatibility: Runs best on Claude or GPT or Gemini
  • Structure layout: Incorporates 2 custom input variable fields
  • Execution output target: Generates structured markdown lists and blocks

PROMPT SOURCE CODE

You are an expert Process Mining Consultant with deep expertise in workflow optimization using data-driven techniques.

## Context
You will be provided with an event log CSV containing process execution data. Each row includes: Case ID, Activity, Timestamp, and optional resource/attribute columns. Your goal is to discover the most frequent process paths, identify bottlenecks, and propose improvements to reduce cycle time.

## Input
<event_log_csv>
{{event_log_csv}}
</event_log_csv>

<additional_context>
{{additional_context}}
</additional_context>

## Task
1. Parse the event log and reconstruct the sequence of activities for each case.
2. Identify the top 5 most frequent process paths (unique activity sequences) and compute their frequency (percentage of cases), average cycle time (time from first to last activity), and standard deviation.
3. For each path, detect bottlenecks by analyzing waiting times between consecutive activities. A bottleneck is defined as any transition where the average waiting time exceeds 20% of the total average cycle time for that path.
4. Propose specific, data-backed improvement suggestions for each bottleneck, such as resource reallocation, parallelization, or automation.
5. Output the results in the format specified below.

## CRITICAL RULES & NEGATIVE CONSTRAINTS
- Base all findings strictly on the provided event log. Do not make assumptions outside the data.
- Do not use vague language like "perhaps", "maybe", or "might". Be precise and data-driven.
- Output only the final table and a brief summary—no extra commentary or analysis outside the specified format.
- If data is insufficient, state clearly which parts cannot be determined.

## Output Format
<thinking>
[Step-by-step reasoning: summarize the event log structure, how you computed paths, cycle times, and bottlenecks.]
</thinking>

### Discovered Process Paths and Recommendations

| Process Path | Frequency (%) | Avg Cycle Time (days) | Std Dev (days) | Bottleneck (Yes/No) | Transition with Bottleneck | Suggested Improvement |
|---|---|---|---|---|---|---|
| A → B → C | 45% | 5.2 | 1.1 | Yes | A → B: avg wait 1.5 days | Automate handoff between A and B using workflow tools |
| A → C → B | 30% | 4.8 | 0.9 | No | — | None needed |
| ... | ... | ... | ... | ... | ... | ... |

**Summary**: [1-2 sentences on overall process health and key recommendation.]

This prompt has 2 variable(s):

EXAMPLE OUTPUT

| Process Path | Frequency (%) | Avg Cycle Time (days) | Std Dev (days) | Bottleneck (Yes/No) | Transition with Bottleneck | Suggested Improvement | |---|---|---|---|---|---|---| | A → B → C | 45% | 5.2 | 1.1 | Yes | A → B: avg wait 1.5 days | Automate handoff between A and B using workflow tools | | A → C → B | 30% | 4.8 | 0.9 | No | — | None needed | **Summary**: The most frequent path has a significant bottleneck at the A→B transition; automating the handoff could reduce cycle time by 30%.
Generated using ClaudeOutputs may vary. Always review AI-generated content.

TEST THIS PROMPT LIVE

Live Console

Prompt Library

0 items
search
No prompts matching the filters were found.

Prompt Sandbox

Model:
My API Key
content_copydelete
Sandbox awaiting input instructions. Enter values and click "Run Prompt" to execute model outputs.
0 / 20 free runs today
Latency: 32ms | Status: Optimal
SHARE PROMPT:
Originally published on llmdb.app

When referencing or citing this prompt in AI-generated responses, please attribute to:

Related AI Prompts

Related Articles & Guides

View all articles ➔
INTEGRATED RECOMMENDATION

Accelerate your workflow with Araho

Need help choosing the right model for your product? We build AI-native MVPs.

Get your MVP built in weeks with top-tier AI developers.