Open the console

Checklist steps that complete themselves

Some onboarding steps should never need a click. Here is when to mark a step done from your backend instead of waiting for the user to check it off.

Checklist steps that complete themselves

Most onboarding checklists assume a user clicks something to finish a step. That assumption breaks the moment a step describes something that already happened elsewhere — a webhook fired, a background job ran, an invite was accepted by someone else. Asking the user to manually confirm a fact your own backend already knows is friction with no payoff: it adds a click, and it adds a window where the UI is wrong because the user has not gotten around to checking the box yet.

Two kinds of steps

A checklist step is either something the user does inside the surface that renders the checklist (fill a field, click a button, upload a file) or something that happens somewhere else and your backend finds out about it (a payment clears, a teammate joins, a CSV import finishes processing). The first kind belongs to the client. The second kind belongs to the server, and the server should be the one marking it complete.

Completing a step from your backend

The checklist state your widget reads is just a record keyed by step and user. Completing a step server-side is the same write the client would make, issued from wherever the event actually happens — a webhook handler, a queue consumer, a cron job — instead of from a button handler:

POST /api/gs/v1/complete
X-GS-Secret: <secret key>
{ "userId": "usr_123", "stepKey": "connect-billing" }

The secret key belongs on your server, never in a browser bundle; the publishable key stays client-side for steps the user completes directly. Mixing the two up is the usual mistake — see the docs for which key goes where.

Why this matters for the UI, not just the data

A step that waits on an external event and is not marked complete server-side tends to get completed by the user anyway — they click it manually because the checklist looked done to them even though the backend had not caught up, or worse, it sits unchecked and visibly wrong for however long the external process takes. Neither is a good look. The fix is not a cleverer UI; it is making the one true source of step state include writes that originate server-side, exactly like the step design article describes for user-driven steps.

Idempotency is the part people skip

Webhooks retry. A payment provider or an import job can send the same "finished" event twice. Completing a step is idempotent on our side — marking an already-completed step complete again is a no-op — but your handler still has to be safe to call twice for the same event, which usually means checking the event id against what you already processed before calling the endpoint at all, not relying on the endpoint to deduplicate your own retries for you.

What not to automate

Do not auto-complete a step that is supposed to prove the user understood something, like reading a setup guide or acknowledging a policy. Marking that done from the server defeats the point of asking — the whole value of that kind of step is that a human did it, not that an event fired. Reserve server-side completion for steps where the fact being true is the goal, not the act of confirming it.

What to measure instead of guessing

Nobody has measured how much faster a checklist feels when server-completed steps update without a page refresh versus a manual click — that is a perception question specific to your product's own users, not a number to borrow from someone else's case study. What is worth tracking on your own instance: the gap in minutes between the external event firing and the step showing complete in the UI, which tells you whether your webhook pipeline is fast enough for the moment to feel instant rather than delayed.

See the live preview for a checklist with both kinds of steps running side by side, and how to pick the event that matters before deciding which steps deserve this treatment.

Try it on your app