Consent Steps in an Onboarding Checklist
Consent, legal acknowledgements and data-processing steps aren't product steps. Mixing them into the checklist the same way breaks what the checklist is supposed to prove.
Most steps in an onboarding checklist are proof that the account can work: a workspace exists, a teammate is in, a data source is connected. Consent and legal acknowledgement steps look like they belong on the same list — accept the terms, confirm the data-processing agreement, opt in to analytics — but they answer a different question. A product step says the account is ready. A consent step says the user agreed to something, on a specific version of a specific document, at a specific time. Treating the second kind like the first is where most implementations go wrong, and the failure doesn't show up until someone asks for the record months later.
Why "complete" means something different here
When a user finishes a product step, the system only needs to know it happened. If the workspace exists, nobody needs to know exactly which click created it. A consent step is the opposite: the record has to survive scrutiny. If a user disputes what they agreed to, or a regulator asks what the account consented to on a given date, "the checklist step shows as done" is not an answer. You need the version of the document they saw, the exact text behind that version, and a timestamp that can't be edited after the fact by anything — including your own admin UI. A generic completed_at column on a checklist-steps table, built for product steps, usually doesn't carry any of that, because it was never designed to.
Store the agreement, not just the checkbox
The fix is to give consent its own record, separate from the generic step-completion table, with the fields a dispute would actually need:
type ConsentRecord struct {
UserID string
DocumentKey string // e.g. "terms", "privacy", "marketing-opt-in"
Version string // the version shown, not the current version
AcceptedAt time.Time
IPAddress string
UserAgent string
}The checklist UI can still show a single "Accept the terms" row that behaves like any other step — a checkbox, a completion state, maybe a progress-bar contribution. But what gets written when the user checks it is a row in this table, not a flip on a shared steps row. The checklist reads from this table to decide whether to show the step as done; it never writes to it as if it were a product step. That separation is what lets you answer "what did this account agree to" without reconstructing it from logs.
Versioning is the part that gets skipped
Terms and privacy policies change. If your consent record only stores that the user accepted — not which version — a policy update silently rewrites history: everyone who accepted version 1 now appears to have accepted version 2, because the record and the current document are the same lookup. That's backwards. The record has to pin the version at the moment of acceptance, which usually means storing either a version string or a hash of the document text alongside the acceptance, and keeping old versions retrievable, not just the current one rendered on /legal. When the document changes materially, the honest move is a new consent step for the new version, not a reinterpretation of the old one.
Re-consent is a checklist state, not a one-time event
Because policies change and some consents (marketing opt-in, specific data-sharing scopes) are meant to be revisable, a consent step can go from done back to pending — something a typical onboarding step never does once finished. If your checklist model assumes steps only move forward, this breaks it. The cleanest approach is to treat "needs re-consent" as a distinct status the consent record can enter (not a deleted-and-recreated row), and let the checklist UI surface it the way it would surface any other pending step, with a link to what changed. Losing the history of the prior acceptance when re-consent happens is the mistake to avoid here too: keep every version accepted, not just the latest.
What belongs in the checklist UI, and what doesn't
The checklist is a good place to surface that a consent step exists and is pending — the same visual language a user already understands from setup steps works fine for "this needs your attention." What doesn't belong in the checklist is the legal detail: the full text, the diff from the prior version, the audit trail. That lives behind a link, not inline in a step row, for the same reason a product step doesn't inline your entire API documentation — the checklist's job is to say what's pending, not to be the record itself.
What to check before shipping this
Before treating a consent checkbox as done, confirm: the acceptance is written to a dedicated, append-only-in-spirit table rather than the shared steps table; the document version is captured at acceptance time, not derived from the current document; and there's a path for re-consent that doesn't overwrite the prior acceptance. If any of those is missing, the checklist step might look finished while the actual legal question — what did this account agree to, and when — has no answer behind it. For the UI side of showing a step that can move back to pending, the patterns in conditional onboarding steps apply directly; a re-consent requirement is a condition on an otherwise-complete step, not a different kind of step.
If you want to see how a checklist renders a step that depends on external state rather than a local action, the live preview shows the same conditional-visibility mechanics discussed above, without any consent-specific wiring attached yet — that part is still yours to build on top.