Sub topic 12
Validating a Flow with Walkthroughs, Testing, and Analytics
A flow diagram is a hypothesis. It says "if users follow these steps and decisions, they will reach their goal." Validation checks that hypothesis before you build the flow, and again after it ships.
This chapter assumes you can already read and draw flow diagrams with start and end shapes, steps, decisions, and error branches. You should also know the difference between a happy path and an error path. Those ideas are covered in earlier chapters.
Why validate a flow
A flow can look clean on a whiteboard and still fail in use. Common causes:
- The flow follows the team's mental model, not the user's.
- A decision diamond hides a question the user cannot answer ("Do you want a standard or a managed account?").
- An error path was never drawn, so the product has no recovery for a real failure.
- A step exists in the diagram but has no screen, message, or owner.
Validation methods differ in cost, speed, and the kind of evidence they give. Use them in order, from cheap and early to expensive and late.
| Method | When | Who takes part | What it finds | Cost |
|---|---|---|---|---|
| Structural check | Right after drawing | You alone | Dead ends, missing branches, orphan steps | Minutes |
| Team walkthrough | Before design work | Designers, developers, product, support | Gaps, wrong assumptions, technical limits | An hour |
| Usability test | Once a prototype exists | Representative users | Confusion, wrong choices, abandoned steps | Days |
| Funnel analytics | After release | Real users at scale | Where users leave, and how many | Ongoing |
Step 1: Check the structure yourself
Before you show the flow to anyone, run a mechanical check. Look for these problems:
- Dead ends. A step with no outgoing arrow that is not a declared end point.
- Unreachable steps. A step with no incoming arrow that is not an entry point.
- Undecided decisions. A diamond with only one outgoing branch, or branches that are not labeled.
- Unrecoverable errors. An error step that leads nowhere, so the user is stuck.
- Unbounded loops. A retry loop with no exit, such as "enter password again" with no reset option.
You can automate the first two checks when the flow is stored as data. The earlier chapter on dead ends showed a check for steps that lead nowhere. This version also finds unreachable steps by walking the graph from the entry point.
const flow = {
open_app: ["has_account"],
has_account: ["login_form", "signup_form"],
login_form: ["credentials_valid"],
signup_form: ["home"],
credentials_valid: ["home", "login_error"],
login_error: ["login_form"],
orphan_help: ["home"],
home: [],
};
const entryPoints = ["open_app"];
const endpoints = new Set(["home"]);
const deadEnds = Object.entries(flow)
.filter(([step, next]) => next.length === 0 && !endpoints.has(step))
.map(([step]) => step);
const reached = new Set();
const queue = [...entryPoints];
while (queue.length > 0) {
const step = queue.shift();
if (reached.has(step)) continue;
reached.add(step);
for (const next of flow[step] ?? []) queue.push(next);
}
const unreachable = Object.keys(flow).filter((step) => !reached.has(step));
console.log("Dead ends:", deadEnds);
console.log("Unreachable:", unreachable);Running this prints Dead ends: [] and Unreachable: [ 'orphan_help' ]. The orphan_help step is drawn but nothing links to it. Either connect it or delete it.
A structural check proves the diagram is consistent. It does not prove the flow is usable. For that you need people.
Step 2: Run a team walkthrough
A walkthrough is a meeting where you trace the flow step by step with the people who will build and support it. The goal is to find gaps, not to get approval.
Who to invite
- A designer who did not draw the flow, to catch unstated assumptions.
- A developer, to flag steps that are expensive or impossible.
- A support or operations person, who knows which errors users actually hit.
- A product owner, to confirm the flow matches the goal.
How to run it
- State the user goal and the entry point in one sentence.
- Pick a scenario with a named persona and a concrete situation. For example: "Dana forgot her password and is on her phone with no access to her work email."
- Trace the path one step at a time. At each step ask: what does the user see, what do they know, and what do they do next?
- At each decision, ask what happens on every branch, including the ones you did not draw.
- Record each gap on a list. Do not redesign during the meeting.
Questions that expose gaps
- What if the user leaves here and comes back tomorrow? Is their progress kept?
- What if the network drops at this step?
- What if the user arrives at this step from a different entry point?
- What does the system do if this validation fails three times?
- Who sends this message, and what if it never arrives?
A walkthrough using the password reset flow from an earlier chapter might uncover that the reset link expires but the diagram has no path for an expired link. You add a branch from "Open link from email" to "Link expired", which leads back to "Send reset link".
Step 3: Test with users
Usability testing shows whether people can follow the flow. You need something for participants to use. It can be a paper sketch, a clickable prototype, or a working build. The flow diagram itself is not shown to participants. They see screens.
Turn the flow into test tasks
Write each task as a goal and a scenario, without naming the steps or interface labels. Compare:
- Weak: "Click Forgot password, then enter your email."
- Strong: "You cannot remember your password for this app. Get back into your account."
The strong version lets the user choose their own path. You then compare that path to the flow.
What to record
For each participant and task, note:
- Whether they completed the goal.
- The path they took, step by step.
- Where they hesitated, backtracked, or asked for help.
- Which branches they took that the diagram did not predict.
- Which error paths they triggered, and whether they recovered.
Compare observed paths to the drawn flow
Overlay each participant's path on the diagram. Three outcomes matter:
- Matches the happy path. The flow works for this person.
- Deviates onto a drawn branch. The branch was anticipated. Check whether the user recovered smoothly.
- Deviates onto an undrawn route. The flow is missing a path. Add it, or change the design so the route is not needed.
A small number of participants is enough to find the main problems. Five users per round often reveals most serious issues for a single, focused task, but treat that as a rough guide. Run another round after you fix what you find. When your audience has distinct groups, such as new customers and long-time customers, test each group.
Step 4: Measure with funnel analytics
After release, analytics show what real users do at scale. A funnel is a sequence of steps with counts of how many users reached each one. Each step in your flow becomes a tracked event.
Map flow steps to events
Pick the steps that matter and name an event for each. You do not need an event for every box.
| Flow step | Event name |
|---|---|
| Open reset page | `reset_started` |
| Send reset link | `reset_link_sent` |
| Open link from email | `reset_link_opened` |
| Password meets rules | `reset_password_valid` |
| Password updated | `reset_completed` |
Read the funnel
Suppose 1,000 users start the flow and these counts reach each step:
| Step | Users | Share of previous step |
|---|---|---|
| `reset_started` | 1000 | 100% |
| `reset_link_sent` | 900 | 90% |
| `reset_link_opened` | 540 | 60% |
| `reset_password_valid` | 486 | 90% |
| `reset_completed` | 470 | 97% |
The sharpest drop is between sending the link and opening it. Forty percent of users who requested a link never opened it. The flow diagram cannot say why. Candidate causes include slow email delivery, a link in spam, or users abandoning the task. Use that finding to choose what to test next, such as a usability session that watches users wait for the email.
You can compute step-to-step conversion from raw counts:
const funnel = [
{ step: "reset_started", users: 1000 },
{ step: "reset_link_sent", users: 900 },
{ step: "reset_link_opened", users: 540 },
{ step: "reset_password_valid", users: 486 },
{ step: "reset_completed", users: 470 },
];
funnel.forEach((row, i) => {
const previous = i === 0 ? row.users : funnel[i - 1].users;
const rate = ((row.users / previous) * 100).toFixed(0);
console.log(`${row.step}: ${row.users} (${rate}% of previous step)`);
});Limits of analytics
- Analytics show what happened and where, not why. Pair them with testing or interviews.
- Events only cover paths you instrumented. Undrawn routes stay invisible unless you log navigation broadly.
- A drop-off is not always a failure. Users who leave because they found the answer elsewhere may be a success.
- Small samples produce noisy percentages. Wait for enough traffic before acting on a small difference.
- Funnels assume a fixed order. Users who skip steps or return later may be miscounted.
Choosing and combining methods
Each method answers a different question.
- Structural check: is the diagram internally consistent?
- Walkthrough: does the team agree it is complete and buildable?
- Usability test: can users follow it, and why do they stumble?
- Analytics: where do real users leave, and how many?
Use the earlier methods to remove obvious problems cheaply. Use later methods to find what only real behavior reveals. Every method can send you back to revise the flow, as the diagram near the start of this chapter shows.
Recording what you learn
Keep a short validation log next to the flow. For each issue, record where it appeared in the flow, how you found it, the evidence, and the decision you made. When you change the flow, update the diagram and note the version. This keeps the diagram trustworthy and stops the team from reopening settled questions.
Common mistakes
- Skipping the structural check and spending meeting time on arrows that lead nowhere.
- Treating a walkthrough as user research.
- Writing test tasks that name interface labels.
- Testing only the happy path. Include a task that forces an error, such as a mistyped email or an expired link.
- Reading a funnel drop as a diagnosis instead of a prompt to investigate.
- Never revisiting the flow after launch.
Exercise
A funnel for a checkout flow shows 800 users reach "Enter shipping address" and 400 reach "Choose delivery option". Your team walkthrough raised no concerns about that step. What is the step-to-step conversion, and what should you do next?
Show answer
The conversion is 400 / 800 = 50%. The walkthrough tests the flow against team knowledge, so it cannot rule out a real user problem. Treat the drop as a question, not a diagnosis. Run a usability test with a task such as "Order this item to your home address" and watch the shipping step. Look for causes such as address validation errors, an unexpected cost, or a confusing form. Also check analytics for errors logged at that step. Then revise the flow, adding any undrawn error branch you find, and measure again after release.
Exercise
Run the structural check on this flow, where entry is start. Which steps are dead ends or unreachable? flow = { start: ["form"], form: ["submit"], submit: ["done", "error"], error: [], done: [], help: ["form"] }, with endpoints = {"done"}.
Show answer
error is a dead end because it has no outgoing step and is not a declared end point. Fix it by routing it back to form. help is unreachable from start because nothing links to it. Connect it from a step such as form, or remove it.
Exercise
You write a usability task: "Click the Forgot password link and enter your email." Why is this a weak task, and how would you rewrite it?
Show answer
It names the interface label and the steps, so it tests whether users can follow instructions, not whether they can find the path. Rewrite it as a goal with a scenario: "You can't remember your password for this app. Get back into your account." Then compare the path the participant takes with the drawn flow.