How to generate an AI User Flow Diagram
Step-by-step guide on generating a User Flow Diagram
- Write a prompt describing the user flow. A simple one-liner can work, but the best prompts are at least 3–4 sentences long. Applying the below framework generally yields good results:
- Start by identifying the entry point and end goal of the flow (e.g. “User opens the app and completes checkout”).
- List the key steps, including user actions, system responses, and decision points (e.g. “If payment fails, show error and offer retry”).
- Clearly define branching logic and describe what happens in each outcome.
- Suggest any natural groupings, such as flow phases (e.g. Onboarding, Checkout) or branched paths (e.g. success vs. error), to help organize the diagram.
- Generate a diagram with the completed prompt.
- Edit the diagram with follow-up prompts (this step requires signing in to Eraser).
- Manually adjust the layout using GUI controls (this step requires signing into Eraser).
Tips on generating a User Flow Diagram
- Instead of writing a prompt from scratch, pull from product specs, user stories, or onboarding docs.
- Ask an LLM to structure the flow as a nested list, highlight edge cases, or suggest simplifications.
- Working with an LLM can help uncover blind spots or stress test the flow by simulating user behavior across branches.