Blog · Processes
User flow diagram: how to draw one, with an example
A user flow is a drawing of the path a person takes through a product to reach a goal, such as buying or requesting a return. It links screens, actions and decisions, and shows where the person may give up, make a mistake or need help.
A user flow is a drawing of the path a person takes inside a product to reach a goal: creating an account, finishing a purchase, requesting a return. Each step is a screen or an action, and the arrows show where the person goes next.
What is a user flow?
Think of an online store. To return a product, the person signs in, opens the order, picks the item, gives a reason and gets a shipping label. Each step can succeed or fail: the deadline may have passed, the item may not be eligible. The user flow draws the main path and also the detours.
It differs from a site map (which shows page hierarchy) and from the customer journey (which covers the whole relationship with the brand, including outside the product). The flow looks at one goal, inside the product.
What it is for
- Aligning design, product and engineering before drawing screens.
- Finding unnecessary steps: if the goal takes eight clicks, it may fit in five.
- Planning error and edge cases, such as a forgotten password, a declined card or an item past the deadline.
- Giving the client or management a simple view of what will be built.
How to draw it in 6 steps
- Pick a person and a goal. "Customer who wants to return a product" is specific. "Users" is not.
- Define the starting point. Where the person begins: an email, an ad, the app home screen.
- Draw the happy path. One step per screen or action, skipping nothing, from the start to the goal reached.
- Add the decisions. Where the system or the person chooses: "within the deadline?", "eligible item?", "accepts the terms?". Each decision opens two paths.
- Draw the detours and errors. What the person sees when something fails and how they return to the flow.
- Mark the end. Goal reached, or exit with help (contacting support). Every path has to end somewhere.
Example: returning a product
The person opens My orders and picks the order. A decision checks within the return window? If not, a screen explains the policy and offers to contact support. If yes, the person selects the item and the reason. A second decision asks eligible item? If yes, the system generates the shipping label and shows the confirmation; after the item arrives, the refund is processed. The drawing makes clear that there are three possible endings, and helps the team write the right message for each one.
Format tips
- Use different shapes for screens, actions and decisions, and explain them in a legend.
- Write labels as the person sees them in the product, not with internal jargon.
- Make one flow per goal. If the drawing goes past about fifteen pieces, split it in two.
- Keep the prototype or screen link on each piece.
If you also map the internal processes behind the product, such as how the support team handles the return, the online flowchart guide covers the symbols and general rules. And when you need to show who does each part, use BPMN.
Common mistakes
- Drawing only the happy path and finding the errors after launch.
- Mixing several goals into one drawing.
- Forgetting the entry point: people do not always start on the home screen.
- Building the flow alone, without hearing from whoever answers support.
How to validate the flow before building
Ask two or three real people, or whoever answers support, to walk through the drawing with a finger, saying out loud what they expect to see at each step. Wherever they hesitate, a screen, a message or a decision is missing. Note the doubts right on the board and fix them before opening the prototype. This desk test costs minutes and avoids redoing screens that are already finished.
How to do this in Mapyra
Mapyra has the Troca e devolução no e-commerce template, with the deadline and eligibility decisions and the possible endings. Use it as a base for your flow: swap the steps, connect with arrows and write each screen label. Open a board and share the link with the design and engineering teams.
Frequently asked questions
What is the difference between a user flow and a customer journey?
A user flow covers one goal inside the product, screen by screen. The customer journey is broader and covers the whole relationship with the brand, before, during and after use, including outside the product. The flow is a zoom inside the journey.
Should I draw the flow before the screens?
It is recommended. With the flow ready, the team discusses steps, decisions and errors without getting stuck on colors and layout. The screen design then follows the agreed path, and there is less rework mid-project.
How many decisions should a flow have?
As many as the goal requires, without overdoing it. If the drawing has many branches, the goal is probably too big. Split it into smaller flows, one per goal, and link them where it makes sense.