Sub topic 14
Documenting and Sharing Flows with a Team
This chapter assumes you can already build a flow: you know the standard shapes, the happy path, decision points, and error paths. It covers what to do after the diagram is drawn. A flow that only its author understands does not help the team. The goal is a flow that designers, developers, and stakeholders can read, question, and keep up to date.
Why a diagram alone is not documentation
A bare flowchart leaves readers guessing. They may not know which user goal it covers, which entry points it assumes, whether it is a proposal or a shipped behavior, or whether the diagram is current. Different readers fill those gaps differently, and the team ends up building from different mental pictures.
Documentation here means the diagram plus the context a reader needs to use it without asking you. The context is short. It takes a few lines of text, not a specification.
What a flow document contains
Put the same fields next to every flow. A consistent layout lets readers find answers without reading the whole diagram.
| Field | What it answers | Example |
|---|---|---|
| Title | Which flow is this? | Reset password (email link) |
| Goal and persona | Who is trying to do what? | A returning customer who forgot their password wants to sign in again |
| Entry points | Where can the flow begin? | "Forgot password" link, expired-session prompt |
| Scope | What is in and out? | In: email reset. Out: SMS reset, account recovery by support |
| Assumptions | What must be true? | The user still has access to their email |
| Legend | What do the shapes mean? | Rounded = start or end, diamond = decision |
| Owner and status | Who maintains it, and is it final? | Priya, in review |
| Version and date | Which edition is this? | v3, 2026-11-20 |
| Open questions | What is undecided? | Should reset links expire after 15 or 60 minutes? |
The scope and assumptions fields do the most work. Many arguments in design reviews come from two people picturing different boundaries for the same flow.
Name things so they can be found
Use a naming pattern and keep to it. One workable pattern is area / task / version, such as Account / Reset password / v3. Use the same step names in the diagram, the prototype, and the tickets. If the diagram says "Show rule hints" and the ticket says "Display password validation," people will wonder whether they are the same thing.
Label decision branches with short answers such as "Yes" and "No", or with the condition itself. Label every end point with the outcome, for example "End: password updated." Readers should be able to tell a successful ending from an abandoned one.
Choose a format that fits how the team works
There are three common ways to store a flow. Each has trade-offs.
| Format | Strengths | Weaknesses |
|---|---|---|
| Whiteboard or design tool file (Figma, FigJam, Miro) | Fast to draw, easy to comment on, good for workshops | Can drift away from the code, and version history is often weak |
| Text-based diagram (Mermaid) stored in the repository | Reviewed in pull requests, versioned with the code, easy to diff | Layout is automatic, and non-technical stakeholders may not edit it |
| Exported image or PDF | Opens anywhere and works for stakeholders | Goes stale at once, and nobody can edit it |
A practical approach is to pick one source of truth and treat everything else as a copy. Draw in a visual tool during discovery. When the flow stabilizes and developers depend on it, move it to the place where the team already tracks changes. Exports are fine for slides, but each should state the version and link back to the source.
Here is the same flow kept as text. Because it is plain text, a change to the flow shows up as a normal line-by-line diff in review.
flowchart LR
S([Start: forgot password]) --> A[Enter email]
A --> B[Send reset link]
B --> C[Open link from email]
C --> D[Enter new password]
D --> E{Password meets rules?}
E -- No --> F[Show rule hints]
F --> D
E -- Yes --> G([End: password updated])Keep the metadata machine-checkable
If flows live in a repository, store the metadata beside the diagram and check it automatically. This stops documents from losing their owner or status over time. The script below reads a flow's metadata and reports required fields that are missing.
const required = [
"title", "goal", "persona", "entryPoints",
"scope", "owner", "status", "version",
];
const doc = {
title: "Reset password (email link)",
goal: "Regain access after forgetting the password",
persona: "Returning customer",
entryPoints: ["forgot-password link", "expired-session prompt"],
scope: "Email reset only",
owner: "",
status: "in review",
version: 3,
};
function isEmpty(value) {
return (
value === undefined ||
value === "" ||
(Array.isArray(value) && value.length === 0)
);
}
const missing = required.filter((key) => isEmpty(doc[key]));
console.log(missing); // [ 'owner' ]Run a check like this in the same pipeline that checks code. A flow with no owner is a flow nobody will update.
Give each flow a status
Readers need to know how much to trust a diagram. A small set of statuses is enough, and the team should agree on what each one means.
Because the status model is a lifecycle, the diagram below shows it directly.
Two rules keep the lifecycle honest. First, only Approved flows are used as build input. Second, a Superseded flow stays readable but carries a visible link to its replacement, so nobody builds from an old copy found in a search.
Tailor the share to the audience
One flow often needs more than one presentation. The content does not change, but the emphasis and level of detail do.
- Designers need the full flow including error paths and edge cases, plus links to the matching wireflows and screens.
- Developers need decision conditions written precisely, such as "password has at least 12 characters", along with error states, entry points, and any system steps the user cannot see.
- Product managers and stakeholders usually need a high-level view of the happy path, the scope, and the open questions. A smaller diagram with a short summary works better than the full detailed version.
- Researchers and QA need steps that can be turned into test scripts or test cases, including how each error path is reached.
A reliable way to serve all of them is to keep one detailed source flow and derive a summary view from it. Do not maintain two separate drawings by hand. They will diverge.
Share it in context, not in a file dump
Where you put a flow matters as much as how it looks.
- Link, don't attach. Post the link to the single source. An attachment is a copy the moment it is sent.
- Add a short note on what changed. For a new version, give two or three lines: what moved, why, and what you need from the reader.
- Ask specific questions. "Does the expired-link path match how the backend works?" gets better answers than "Thoughts?"
- Connect the flow to the work. Link it from the epic or tickets it informs, and link the tickets back. Developers then find the flow from the task they are working on.
- Walk through it live for large changes. Ten minutes tracing the happy path and then each error path catches misunderstandings that written comments miss.
Common errors
- Orphaned diagrams. The flow has no owner, date, or status. Fix it with the required-fields rule above.
- Multiple sources of truth. The same flow lives in a slide, a design file, and a wiki page, and each differs. Pick one source and link to it from the others.
- Updating the screens but not the flow. The prototype changes in review and the flow does not. Add "update the flow" to the definition of done for changes that alter steps or decisions.
- Detail mismatch. A stakeholder receives a forty-node diagram, or a developer receives a five-node summary. Match the level of detail to the reader, as covered in the chapter on scope.
- No legend. Readers who do not know flowchart shapes misread decisions as steps. A one-line legend is cheap insurance.
- Hidden error paths. The shared version shows only the happy path, so error handling is never specified and developers invent it. Keep error paths in the source, even if a summary view hides them.
Summary
A documented flow pairs the diagram with its goal, scope, entry points, assumptions, owner, status, and version. Keep one source of truth, use consistent names, and record lifecycle status so readers know whether to trust it. Share links with specific questions, show each audience the level of detail it needs, and connect the flow to the tickets and screens it affects.
Exercise
A teammate sends you a PDF export of a checkout flow. It has no date, owner, or status, and a developer says the "Apply coupon" step is missing from what they remember seeing. Name three problems with how this flow was shared, and say what you would change.
Show answer
First, the PDF is a copy, so it cannot be kept current and nobody can tell whether it matches the latest version. Share a link to one source of truth instead, with the PDF only as a labeled export. Second, there is no owner, date, or status, so readers cannot tell if the flow is a draft, approved, or superseded. Add the required metadata fields and a status. Third, there is no change note, so the developer cannot tell whether "Apply coupon" was removed or never existed. Add a version number and a short note on what changed between versions.
Exercise
Your team keeps flows as Mermaid text in the product repository. A designer proposes also keeping a hand-drawn "executive summary" diagram in a slide deck, edited separately. What risk does this create, and what is a better way to produce the summary?
Show answer
The two diagrams will diverge, because edits to the detailed flow will not reach the slide, and stakeholders will act on outdated steps. A better approach is to derive the summary from the detailed source: collapse the steps into higher-level groups, keep the happy path, and regenerate or re-export it whenever the source changes. Label the summary with the source version and a link back to the source.