Sub topic 3
Who is onboarding: segments and intent
This chapter assumes you know what an activation goal and a first-value moment are, from the first two chapters. It also assumes you can read basic TypeScript. The chapter covers how to describe the different people who arrive at your app and how to turn that description into onboarding decisions.
Why one flow rarely fits everyone
A single onboarding flow is a bet that every new user wants the same thing, knows the same things, and arrived the same way. That bet usually fails. Consider a project-management app:
- A freelancer who signed up from a blog post wants to create a first project.
- A team member who clicked an invitation link wants to see the tasks assigned to them.
- A manager migrating from a competitor wants to import existing data.
All three have the same activation goal in the abstract: "do something real in the product." The fastest path to that moment differs for each. A tour that teaches the freelancer to create a project wastes the invited teammate's time, and the teammate's first-value moment may be one tap away.
Segmentation is the practice of grouping new users by traits that change what the best onboarding path is. The goal is not to produce an elaborate persona deck. The goal is to find the few distinctions that change which steps you show, skip, or reorder.
Segments versus intent
Two ideas are easy to confuse.
- A segment is a group of users who share a stable trait: role, company size, platform, acquisition channel, or prior experience with similar tools.
- Intent is what the user is trying to do right now, in this session. It is a goal, not a trait.
The same person can have different intents on different days. A designer who normally browses templates might arrive today only to accept a colleague's invitation. Segments help you predict what users probably want. Intent tells you what they want at this moment. When the two conflict, intent wins, because it reflects the user's own words or actions.
| Aspect | Segment | Intent |
|---|---|---|
| Describes | Who the user is | What the user is trying to do |
| Stability | Mostly stable | Can change per session |
| Typical source | Acquisition channel, device, account data | Invitation link, a chosen option, the first action taken |
| Use in onboarding | Choose defaults and the likely path | Confirm or override the path |
| Risk if wrong | Mild: the user sees extra steps | Higher: the user feels the product ignored them |
Useful segmentation dimensions
You can split users in many ways. These dimensions tend to change onboarding decisions the most:
- Entry route. Direct sign-up, invitation, a partner integration, or a marketing campaign. An invited user often skips setup, because someone else already created the workspace.
- Experience level. A first-time user of this kind of product needs concepts explained. A migrating user already knows the concepts and needs to find their equivalents.
- Role or job to be done. A person who administers a workspace needs setup steps. A person who contributes to it needs a view of their own work.
- Platform and context. On a phone, a user may want a quick capture. On a desktop, they may want a full setup.
- Account state. Returning users who reinstalled, users who signed up months ago and never activated, and brand-new users should not see the same welcome.
Pick dimensions you can observe or ask about cheaply. A dimension you cannot determine at the time of onboarding does not help you design the flow, no matter how interesting it is.
Where the information comes from
You learn about a user in three ways, and each has a cost.
- Observed signals cost the user nothing. Examples are an invitation token, a campaign tag in the sign-up URL, the device type, or the first thing they tap. They can be wrong. A campaign tag tells you how the user arrived, not why.
- Declared signals come from a question you ask, such as "What brings you here?". They are more reliable about intent, but every question adds friction and lowers completion. The next chapter covers how to ask well.
- Inferred signals are guesses from behavior over time, such as "this user imported data, so they are probably migrating." They need enough events to be trustworthy, so they rarely help in the first minute.
A sound default is to use observed signals first, ask at most one or two questions only when observed signals are ambiguous, and keep inferring in the background as the user acts.
Turning intent into a path
Once you have a few intents, represent the decision as data rather than scattering if checks across screens. A small function that resolves intent and returns an ordered list of steps is easy to test and easy to change.
type Intent = "explore" | "migrate" | "collaborate";
type StepId = "welcome" | "create_project" | "import_data" | "view_tasks" | "invite_team";
interface Signals {
inviteToken?: string;
campaign?: string;
declaredIntent?: Intent;
}
interface ResolvedIntent {
intent: Intent;
source: "declared" | "observed" | "default";
}
function resolveIntent(signals: Signals): ResolvedIntent {
// A declared answer reflects what the user said they want, so it wins.
if (signals.declaredIntent) {
return { intent: signals.declaredIntent, source: "declared" };
}
// An invitation is strong evidence of why the user is here.
if (signals.inviteToken) {
return { intent: "collaborate", source: "observed" };
}
// A campaign tag is weaker evidence, but better than nothing.
if (signals.campaign === "switch-from-competitor") {
return { intent: "migrate", source: "observed" };
}
return { intent: "explore", source: "default" };
}
const paths: Record<Intent, StepId[]> = {
explore: ["welcome", "create_project", "invite_team"],
migrate: ["welcome", "import_data", "invite_team"],
collaborate: ["view_tasks"],
};
function pathFor(signals: Signals): StepId[] {
return paths[resolveIntent(signals).intent];
}
console.log(pathFor({ inviteToken: "abc123" })); // ["view_tasks"]
console.log(pathFor({ inviteToken: "abc123", declaredIntent: "explore" })); // ["welcome", "create_project", "invite_team"]Three details in this code matter for design:
- The
sourcefield records whether the intent was declared, observed, or defaulted. Storing it lets you later compare how well each source predicts activation. - Every path ends at, or contains, a step that leads to the first-value moment. The invited user's path is a single step because their first value is seeing their tasks.
- A fallback (
explore) always exists. Unrecognized users must still get a working flow.
Edge cases and failure modes
Wrong guesses. An observed signal can mislead. Someone may click a migration campaign out of curiosity. Always give a visible way to change course, such as a "Not what you're looking for?" link, and treat a user's correction as the new intent.
Conflicting signals. An invited user may also arrive via a campaign. Decide on a priority order and write it down. The function above puts declared intent first, then the invitation, then the campaign. Explicit user statements rank above observations, and strong observations rank above weak ones.
Too many segments. Every path you add must be built, translated, tested, and measured. If two paths differ by one screen, make that screen conditional inside one path. A practical limit for a young product is three or four paths. Add a new one only when you can name a measurable difference in activation that justifies it.
Segment-by-assumption. Assigning a path from a guessed demographic, such as age or job title inferred from an email domain, can be wrong and can feel intrusive. Prefer behavior and stated goals to personal attributes.
Small groups and noisy data. When a segment contains only a handful of users, funnel numbers for that segment swing widely. Compare segments only once each has enough users to make the rates stable, and treat early differences as hints to investigate, not as conclusions.
Returning and reinstalled users. Someone who reinstalls the app is not new. Check account state before choosing a path, or you will show a welcome tour to a power user.
Privacy and consent. Collect only the signals you will use to change the flow. Data you gather "just in case" adds legal and trust cost without improving onboarding.
A short decision procedure
- List your entry routes and the first-value moment for each. If two routes share one, merge them.
- For each route, ask what the user already has: a workspace, data, teammates, or nothing.
- Choose the cheapest signal that distinguishes the routes: an invitation token before a question, a question before an inference.
- Define a priority order for conflicting signals and a default path.
- Record the signal source with each user so you can measure each path later.
The result is a small set of paths, each driven by an intent you can detect. The next chapters show how to ask setup questions (personalization) and how to choose the patterns each path uses (checklists, tours, and hints).
Exercise
A user opens an invitation link, creates an account, and on the first screen taps "I want to set up my own workspace." Using the priority order from the code in this chapter, which intent should onboarding use, and why? What should you store alongside it?
Show answer
Use the declared intent ("explore", from setting up their own workspace) rather than "collaborate". Declared intent outranks the observed invitation signal because it reflects what the user says they want now. Store the intent together with its source ("declared") so you can later measure how well declared and observed intents predict activation. The invitation can still be honored by letting the user view the invited workspace later.
Exercise
Your product has six onboarding paths, but two of them differ only in whether a data-import screen appears. What should you change, and what evidence would justify splitting them again later?
Show answer
Merge them into one path and make the import screen a conditional step. Split them again only if you can show with enough users in each group that the two groups have a measurably different activation rate or time to first value that the extra path would improve.