Sub topic 1
Start with goals, tasks, and scenarios
Prerequisites
This chapter assumes you already know the following:
- You are familiar with digital products such as apps and websites.
- You know what a user interface screen is.
- You have a basic idea of what a persona or a user goal is.
You do not need to know any flowchart notation yet. Later chapters cover it. This chapter covers what comes before any diagram: working out what the user wants, what they have to do, and in what situation.
Why flows start with goals
A flow diagram is only as good as the question it answers. If you open a drawing tool and start placing boxes for screens, you end up documenting the product's structure instead of the user's path. The result looks complete, but it often hides the real problems: steps nobody needs, missing alternatives, and situations nobody considered.
Starting with goals, tasks, and scenarios fixes this. These three ideas give you a stable base for every flow in the rest of this tutorial. They tell you what the flow is for, where it begins and ends, and which conditions it has to handle.
| Term | Question it answers | Example |
|---|---|---|
| Goal | What outcome does the person want? | Get back into my account |
| Task | What specific action achieves part of that outcome? | Reset my password |
| Scenario | In what situation is this happening? | Locked out on a phone, on a train with weak signal |
User goals
A user goal is the outcome a person wants, stated from their point of view. It is not a feature and not a screen. "Use the password reset page" is not a goal. "Get back into my account so I can pay a bill before the deadline" is.
Goals have a few useful properties:
- They are independent of the interface. A person can reach the same goal through an app, a website, a phone call, or a store visit.
- They are stable. Interfaces change often, but the reason people come to a product changes slowly.
- They can be nested. A large goal ("Plan a trip") contains smaller goals ("Find a flight", "Book a hotel").
Business goals also exist, such as "increase completed sign-ups." A good flow serves both, but you should write the user goal first. If a business goal pushes the design toward steps the user does not want, such as extra forms or forced upsells, the flow will show it as friction.
Writing a goal statement
A simple template keeps goal statements honest:
> As a [type of user], I want to [outcome], so that [reason].
Because block quotes are not used here, treat the template as plain text: "As a [type of user], I want to [outcome], so that [reason]." Here are two filled-in examples:
- As a returning customer, I want to reorder my last purchase, so that I do not have to search for it again.
- As a first-time visitor, I want to create an account quickly, so that I can save my progress.
The "so that" part matters. It exposes the motivation, which later helps you decide which steps are essential and which can be removed.
Tasks
A task is a specific, observable action a person performs to move toward a goal. Tasks are the building blocks that flows are made from. A single goal usually needs several tasks.
For the goal "Get back into my account", the tasks might be:
- Request a reset link.
- Open the link from the email.
- Choose a new password.
- Sign in with it.
Good task descriptions start with a verb and describe something the user does, not something the system does. "Choose a new password" is a user task. "Validate password strength" is a system behavior. System behavior still appears in flows, but you should keep it separate from the list of user tasks so you can tell what the person is actually being asked to do.
Task analysis
Task analysis is the practice of breaking a goal into tasks and subtasks. It gives you a hierarchy:
- Goal: Get back into my account
- Task: Request a reset link
- Subtask: Enter the email address
- Subtask: Confirm the request
- Task: Choose a new password
- Subtask: Type the password
- Subtask: Repeat the password
Stop breaking tasks down when the next level would just describe clicks and taps that do not carry a decision. How far to go depends on the audience for your diagram, which a later chapter on scope and level of detail covers.
Scenarios
A scenario is a short story that places a user with a goal in a specific context. It adds the details that goals and tasks leave out: who, where, with what device, under what pressure, and with what prior knowledge.
Two people can share the same goal and the same task and still need different flows. Compare:
- Scenario A: Maria is at her desk, on a laptop, with her password manager open. She types the wrong password once and wants to retry.
- Scenario B: Omar is on a train, on a phone, with intermittent signal. He has not signed in for a year and does not remember which email address he used.
Both want to get into their accounts. Maria needs a clear error and a fast retry. Omar needs help finding his account and a reset link that survives a dropped connection. Scenarios reveal these differences before you draw anything.
What a useful scenario contains
- A person or persona with relevant traits.
- A goal that triggers the situation.
- A context: device, place, time, interruptions, connection quality.
- A starting state: logged out, new to the product, mid-purchase.
- Constraints: a deadline, limited data, a shared device.
Keep scenarios short. Three to five sentences are enough. If a scenario needs a page, it is probably several scenarios.
Scenarios and edge cases
Scenarios are your main source of edge cases. A flow built from one "typical" scenario covers only the happy path. Writing two or three contrasting scenarios forces you to ask what happens when the user is distracted, uses a different device, or makes a mistake. You will map those branches in the chapters on decision points and error paths.
How the three ideas connect
The relationship is a chain. The goal sets the purpose. Tasks describe what must be done. Scenarios describe the conditions under which it is done. A flow then shows the route through those tasks under those conditions.
The loop at the end is deliberate. Scenarios are not only inputs. They are also test cases you replay against the flow to check that it holds up.
Common mistakes
These errors appear often when teams skip this stage.
- Writing a feature as a goal. "Use the filter" describes a tool. "Find a pair of shoes in my size under a set budget" describes a goal. If you cannot say why the user would do it, you probably have a feature.
- Mixing goals and tasks. If a statement can be broken down into verbs the user performs, it is a task or a group of tasks. If it states a desired outcome, it is a goal.
- Using only the average scenario. A single typical case hides errors, accessibility needs, and device differences.
- Letting the existing interface define the tasks. When you document an existing product, it is tempting to list its screens as tasks. Start from what users are trying to do and compare it with the screens afterward. Gaps show up quickly this way.
- Setting scope too wide. "Manage my finances" is too big to be one flow. Pick a goal small enough to have a clear start and finish.
Choosing a goal for a flow
Before moving on to flows, use these checks on a candidate goal:
- Can you state it as an outcome in one sentence?
- Does it have a clear start (a trigger) and a clear finish (success or abandonment)?
- Is it small enough to fit in one diagram that a teammate can read in a minute or two?
- Do you have evidence for it, such as interviews, support tickets, analytics, or observation?
If the answer to the third check is no, split the goal. For example, "Plan a trip" becomes separate flows for searching, booking, and changing a booking.
A worked example
Here is a short example from start to finish.
Context. A grocery delivery app. Research shows many users abandon the app when a delivery slot they wanted is full.
Goal. As a busy parent, I want to get my weekly groceries delivered at a time that fits my schedule, so that I do not have to shop after work.
Tasks.
- Choose a delivery slot.
- Review the basket.
- Pay.
- Confirm the order.
Scenarios.
- Scenario 1 (typical): Priya opens the app on Sunday evening at home, with a full basket, and wants the Wednesday evening slot. The slot is free.
- Scenario 2 (edge): Priya wants Wednesday evening, but that slot is full. She has a hard deadline because she is out of milk and baby food.
- Scenario 3 (context): Priya starts on her phone during a commute, loses signal after choosing a slot, and returns ten minutes later.
Notice what each scenario adds. Scenario 1 gives you the happy path. Scenario 2 requires a branch for unavailable slots, which a flow built only from scenario 1 would miss. Scenario 3 raises a question about saved progress and slot reservation time.
You have not drawn anything yet, but you already know that the flow needs a decision about slot availability, an alternative route for a full slot, and a rule for what happens to an interrupted session. That is the value of this stage.
Where this leads
The next chapters build on this base. A user flow follows a person across a broader journey through a product, while a task flow focuses on one task done in one way. Both depend on a clear goal and realistic scenarios. If those are weak, the diagram will be neat but wrong.
Exercise
A team wants to draw a flow for "Use the search filters on the product page." Rewrite this as a user goal, list at least three tasks, and write one edge-case scenario that would add a branch to the flow.
Show answer
Goal: "As a shopper, I want to find running shoes in my size within my budget, so that I can buy a suitable pair without scrolling through everything." Tasks: (1) Open the filters, (2) Select a size, (3) Set a maximum price, (4) Review the filtered results. Edge-case scenario: Sam picks size 14 and a low price, and no products match. The flow needs a branch for the empty-results state, with a way to adjust or clear the filters. The original wording named a feature (filters). The rewrite names an outcome and a reason, which lets you see alternatives such as sorting or saved searches.
Exercise
Classify each item as a goal, a task, or a scenario: (a) "Enter the card number", (b) "Pay for my order without sharing my card details on a shared computer", (c) "Get my order paid for", (d) "Select a delivery slot".
Show answer
(a) Task, a specific user action. (b) Scenario, because it describes a situation and constraint (shared computer, privacy concern) around the goal. (c) Goal, a desired outcome. (d) Task, a specific action that moves toward the goal of getting groceries delivered.