Sub topic 1
When a Guided Flow Is the Right Tool
Prerequisites
This chapter assumes you have these skills:
- Basic programming in a typed or dynamic language. The examples use TypeScript, but they avoid framework features.
- Familiarity with forms and form fields: inputs, labels, required values, and submit actions.
- A basic understanding of application state, meaning the data an app keeps in memory while a user works.
No flow-building code is required yet. This chapter is about deciding whether to build a guided flow at all. The later chapters cover how to build one.
What a guided flow is
A guided flow, often called a wizard, collects information across several screens. Each screen asks for a small part of the data. The user moves forward and backward through the screens, and the application decides which screen comes next.
Three properties set a guided flow apart from a long form:
- Ordering. The application controls the sequence. The user does not choose which field to fill in first.
- Gating. The user usually cannot move on until the current screen is valid.
- Shared state. Answers from earlier screens stay available. Later screens can use them.
A flow is not a set of unrelated pages. If the screens do not depend on each other, you have a navigation menu, not a flow.
Why flows exist
A guided flow reduces the work the user must do at one moment. It does this in three ways.
- It limits what the user sees. Showing five fields is easier than showing forty. Users make fewer mistakes when the screen is small.
- It hides irrelevant questions. A user who selects "personal account" never sees the company questions. The flow asks only what applies.
- It localizes errors. When validation fails, the problem is on the current screen. The user does not scroll through a long page looking for a red field.
There is a cost too. The user cannot see the whole task at once. They need to trust that the flow will end. They also pay for each extra screen with extra clicks and load time. A flow is worthwhile only when the benefits above outweigh those costs.
Signals that a flow fits
A flow is a good choice when most of the following are true.
- The task is long. Roughly more than seven or eight fields, or more than one topic. Short tasks do not need splitting.
- The questions depend on each other. A later question exists only because of an earlier answer. For example, a business account needs a company name, and a personal account does not.
- The user is unfamiliar with the task. First-time users benefit from guidance. Experts doing a task daily often find it slow.
- Mistakes are expensive. Examples are payments, legal declarations, and account setup. A review step before submission reduces the cost of errors.
- The data comes in distinct groups. Contact details, payment details, and preferences are natural steps.
- The input is hard or tiring to give. On a phone, one question per screen can be easier than a long scrolling form.
The more of these that apply, the stronger the case. If only one applies, look hard at the alternatives below.
Signals that a flow does not fit
A flow is a poor choice in these situations.
- The form is short. A login or a newsletter signup gains nothing from steps. Splitting a three-field form into three screens makes it slower.
- Users need to compare or jump between sections. A settings page is a good example. Users arrive wanting to change one thing. Forcing them through a sequence wastes their time.
- Users repeat the task often. A power user entering the same type of record fifty times a day wants one dense screen and keyboard shortcuts, not a series of screens.
- The order does not matter. If any field can be filled in at any time, enforcing an order adds friction with no benefit.
- Users must see everything before deciding. For example, a pricing configurator where each choice changes the total. Hiding choices across screens makes the effect of each choice hard to see.
- Editing existing data. People who return to change one value should reach that value directly. A flow built for first-time entry is the wrong tool for edits.
A common mistake is building a flow because it looks modern. Judge it by whether it reduces effort and errors for the task at hand.
Alternatives to compare
Before committing, compare a flow with the other common designs.
| Design | Best for | Weakness |
|---|---|---|
| Single short form | Few fields, one topic | Does not scale as fields grow |
| Single long form with sections | Users who scan and jump, editing | Overwhelming at first sight, errors far from the cause |
| Accordion or tabs | Independent sections, settings | No enforced order, easy to miss a section |
| Guided flow | Dependent questions, first-time users, costly mistakes | More code, more states to test, slower for experts |
| Conversational or inline prompt | One or two questions inside a larger task | Poor for long data collection |
Note that these designs can be combined. A common pattern is a guided flow for the first setup, and a single settings page for later edits to the same data.
A quick decision procedure
You can turn the signals into a short check. The function below scores a task. It is deliberately simple. Its purpose is to make the criteria explicit, not to replace judgement.
type TaskProfile = {
fieldCount: number;
hasDependentQuestions: boolean;
usersAreNewToTask: boolean;
mistakesAreCostly: boolean;
usersRepeatOften: boolean;
usersNeedToJumpAround: boolean;
isEditingExistingData: boolean;
};
function flowScore(task: TaskProfile): number {
let score = 0;
if (task.fieldCount > 8) score += 1;
if (task.hasDependentQuestions) score += 2;
if (task.usersAreNewToTask) score += 1;
if (task.mistakesAreCostly) score += 1;
if (task.usersRepeatOften) score -= 2;
if (task.usersNeedToJumpAround) score -= 2;
if (task.isEditingExistingData) score -= 2;
return score;
}
const signup: TaskProfile = {
fieldCount: 12,
hasDependentQuestions: true,
usersAreNewToTask: true,
mistakesAreCostly: false,
usersRepeatOften: false,
usersNeedToJumpAround: false,
isEditingExistingData: false,
};
const settings: TaskProfile = {
fieldCount: 15,
hasDependentQuestions: false,
usersAreNewToTask: false,
mistakesAreCostly: false,
usersRepeatOften: false,
usersNeedToJumpAround: true,
isEditingExistingData: true,
};
console.log("signup:", flowScore(signup));
console.log("settings:", flowScore(settings));Running this prints signup: 4 and settings: -4. The signup task has many fields, dependent questions, and new users, so a flow fits. The settings page has just as many fields, but people edit and jump around. A flow would hurt it.
The weights are arbitrary. Change them to match your product. What matters is that the team states its reasons and does not decide by taste.
The cost of a flow
A flow is more than a long form cut into pieces. It adds machinery that a single form does not need.
- State that outlives a screen. You must store answers while the user moves between steps.
- Navigation rules. Forward, back, and what "back" means after a branch.
- Validation per step, and often a second validation at submission.
- Progress display that stays honest when the path changes.
- Persistence if users may leave and return.
- Accessibility work so that a change of step is announced to people using screen readers.
- More test paths. Each branch multiplies the combinations to check.
Each of these has its own chapter in this tutorial. The point here is to count them before you start. If the task is simple, a single form avoids all of them.
Scoping the flow
Once you decide a flow fits, define its scope before you design any screens. Answer these questions in writing.
- What is the goal? State the outcome in one sentence, such as "Create a business or personal account."
- What data is required, and what is optional? Remove anything that is not needed at this moment. Data you can ask for later should be asked for later.
- Where does the flow start and end? Name the entry points and the final action, such as "submit" or "save draft."
- Who uses it? First-time users, returning users, or both. This shapes how much guidance each step needs.
- What happens on failure or exit? Decide whether partial input is kept, discarded, or saved.
The second question has the largest effect. Every field you remove makes the flow shorter. A flow that asks for data it does not need is slow whatever the interface.
How the decision relates to the rest of the design
The decision to use a flow is the first link in a chain. Later choices depend on it.
After the flow is chosen and scoped, the next chapter covers how to split inputs into steps. The chapter after that models the state the steps share.
Common mistakes at the decision stage
- Splitting a short form. Three screens for four fields feels slow. Keep short forms on one screen.
- Using a flow for editing. Users who return to change an address should not repeat every step. Offer direct edit pages.
- Treating the flow as the product. The flow only collects data. If the data is not needed, the best flow is none.
- Ignoring the exit. A long flow that loses all input when the user leaves will frustrate them. Plan for this early, even if you build it later.
- Hiding the length. Users who cannot tell how long a task is may abandon it. Plan how you will show progress, keeping in mind that branches change the length.
- Deciding by appearance. A flow looks tidy in a design file. Test whether real users finish faster and with fewer errors.
Measuring whether the choice was right
Treat the decision as a hypothesis. After release, check it against data.
- Completion rate. The share of users who start and finish. A drop at one step points to a problem at that step.
- Time to complete. If it is longer than the old form took, the flow may be adding friction.
- Error rate per step. Frequent validation failures show unclear questions or poor grouping.
- Back-button use. Heavy use of Back from one step suggests users cannot predict what that step asks.
- Abandonment point. Where users leave tells you which step to simplify or remove.
If the numbers are worse than the previous design, revisit the decision. Moving back to a single form is a valid result.
Where the running example is heading
The rest of the tutorial builds one example: an account setup flow. The first step collects an email address and an account type. A business account then goes to a company step. Both paths end at a review step. This is a good fit for a guided flow because it has a dependent question (company name depends on account type), new users, and a final action that is worth checking before submission.
Keep this example in mind. In each later chapter, ask whether the technique would still be worth its cost for a task that scored low on the checklist above.
Exercise
A team wants to turn their account settings page into a guided flow. The page has 14 fields in four groups. Users visit it to change one value, such as a phone number or a notification preference. Should they build the flow? Give two reasons, and suggest a better design.
Show answer
No. First, users are editing existing data and want to reach one value directly, so a fixed sequence makes them pass through steps they do not need. Second, they need to jump between groups, and the order of the fields does not matter. A better design is a single settings page with sections, or tabs, where each group can be edited and saved on its own. A guided flow could still be used for the first-time setup, with the settings page used for later changes.
Exercise
Use the flowScore function from this chapter. A tax-filing task has 30 fields, dependent questions, first-time users, costly mistakes, and users who file once a year. They do not need to jump around, and they are not editing existing data. What is the score, and what does it suggest?
Show answer
The score is 5: 1 for more than 8 fields, 2 for dependent questions, 1 for new users, and 1 for costly mistakes. Filing once a year does not count as repeating often, so nothing is subtracted. A high score suggests that a guided flow fits well. The costly mistakes also suggest adding a review step before submission.