Onboarding Progress After Account Deletion
What should happen to completed onboarding steps when a user deletes their account and later recreates one, and why the default behavior is usually an accident.
A user deletes their account, then signs up again a week later with the same email. What does your checklist show them? Most teams never decided this on purpose — it's whatever the foreign keys and the signup flow happen to produce, and that default is rarely the right one for either side of the decision.
Deletion is two different actions wearing one button
"Delete my account" can mean "erase everything you have about me" or it can mean "I'm done with this product for now." Those map to very different checklist outcomes. A hard delete that cascades through foreign keys will usually take checklist-completion rows down with the account row, because that's what a cascading delete does by default — not because anyone decided progress should be erased. A soft delete (a deleted_at timestamp, account disabled but not removed) leaves the rows sitting there, reachable again if the same account is ever reactivated instead of recreated. Which one your product does is a decision your deletion flow already made implicitly; it's worth checking which, because support will eventually ask why a returning user's checklist looks wrong in one direction or the other.
Same email, new account is not the same as reactivation
If deletion actually removes the account row, a later signup with the same email creates a brand new account with a new ID. There is no account to reattach old progress to even if you wanted to — the user is new as far as your schema is concerned, whatever they remember about having used the product before. This is usually fine for the checklist itself: a new account starting a checklist from zero is exactly what the checklist is for. The failure mode is elsewhere — anything that silently assumes email uniqueness implies account continuity (support tickets, discount eligibility, "welcome back" messaging) will treat this as the same person while the checklist correctly treats it as someone new. Keep the checklist's behavior ignorant of the person and tied only to the account row; don't try to retroactively detect "this is the same human" to pre-complete steps, because getting that wrong in either direction is worse than starting everyone at zero.
// on account creation, don't look for "was this email here before" —
// just start clean. Any continuity logic belongs in a separate,
// explicit reactivation path, not in checklist initialization.
func initChecklist(accountID string) error {
return db.Exec(
"INSERT INTO checklist_progress (account_id, step, completed) "+
"SELECT ?, id, false FROM checklist_steps WHERE active = true",
accountID,
)
}
Soft-deleted accounts need an explicit decision, not a schema accident
If deletion is soft and the account can be reactivated, you have a real choice to make: does the checklist resume exactly where it left off, or does it reset because enough has probably changed (new onboarding steps shipped since, the user's context has moved on) that the old progress is more confusing than helpful than useful? Resuming is cheaper to build — the rows are still there, nothing to do. Resetting is often the better experience, especially if the checklist has changed shape since the deletion, because a checklist half-completed against last quarter's step set doesn't map cleanly onto this quarter's. Pick one on purpose and apply it consistently, rather than letting the answer depend on whichever code path happens to run on reactivation.
Compliance deletion is not a product decision at all
If "delete my account" is actually a GDPR or CCPA erasure request, the checklist-progress rows may themselves contain personal data worth erasing (an email captured in a step, a name typed into a field) and the retention question stops being a UX call. That path has to run through whatever deletion workflow handles the legal request, deleting checklist rows along with everything else tied to the account, regardless of what the ordinary "I don't want this account anymore" flow does. Don't let a single delete endpoint serve both intents; they have different constraints and conflating them means either the compliance path isn't thorough enough or the ordinary path is more destructive than a user asked for.
What to measure
How often a deleted user comes back, and whether starting them at zero versus resuming matters to whether they finish onboarding the second time, isn't something to guess at. It needs account-deletion events and checklist-completion events joined on account lineage — something most setups don't track today, because there's usually no link kept between an old deleted account and a new one with the same email. If this behavior matters enough to tune, instrument that join before changing anything, the same way checklist funnel events get piped into analytics elsewhere.
See the docs for how checklist progress is scoped to the account record today.