# How I Use Claude to Turn Messy Process Walkthroughs into RPA Design Documents (Prompt Included)

> Source: <https://dev.to/abiram_barik/how-i-use-claude-to-turn-messy-process-walkthroughs-into-rpa-design-documents-prompt-included-4a42>
> Published: 2026-11-25 19:40:21+00:00

**Key takeaway:** Generating a PDD section by section with Claude, starting with an AS-IS extraction prompt that lists open questions rather than guessing, produces a reviewable spec and a ready-made agenda for the process-owner call.

I deliver RPA automations (UiPath and Power Automate) in a finance team. The most time-consuming part of a project usually isn't building the bot. It's writing the **Process Design Document (PDD)**: turning hours of walkthrough notes and screenshots into a clear, step-by-step spec the business can sign off.

Claude has cut that time significantly. Here's the workflow I use.

I don't ask for the full document in one go. I start with a prompt that only extracts the AS-IS process:

```
You are a senior RPA business analyst. From the notes below, extract the AS-IS process.

Return:
1. A numbered list of steps. For each: actor, application, action, input, output.
2. Every decision point, written as "IF ... THEN ... ELSE ...".
3. Business exceptions (expected, rule-based) and system exceptions (technical failures), listed separately.
4. Open questions: anything ambiguous or missing that I must clarify with the process owner. Do not guess these.

Notes:
[paste notes here]
```

The **open questions** section is the most valuable part. It becomes my agenda for the follow-up call with the process owner.

Once the AS-IS steps are confirmed, I ask Claude for:

Generating section by section keeps each output focused and easy to review.

I ask Claude for a **Mermaid flowchart** of the TO-BE process, then tidy it up in Visio or draw.io. A simple version looks like this:

``` php
flowchart TD
    A[Bot starts] --> B[Read input file]
    B --> C{Valid record?}
    C -- Yes --> D[Process in target system]
    C -- No --> E[Log business exception]
    D --> F[Update status report]
    E --> F
    F --> G[Send summary email]
```

How are you using Claude for requirements or solution-design work? I'd love to hear which prompts have worked well for you in the comments.
