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:

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.

原文来源:dev.to