Importing existing onboarding progress when you migrate in
Users migrating from a homegrown checklist or a competitor already did some of the work. Here is how to import that progress instead of resetting it to zero.
A product switching from a homegrown onboarding checklist, or from another vendor, usually has existing users who already completed some of their onboarding under the old system. Switching the checklist and resetting every user to zero completed steps is a visible regression — a user who finished setup months ago seeing "connect your calendar" reappear as an open task reads as the product forgetting what it already knew about them.
Completing steps is the import mechanism
There is no bulk-import endpoint distinct from the normal completion API — importing existing progress is calling POST /api/gs/v1/complete once per user per step that was already done under the old system, using whatever record you have of that (a flag in your own database, a field from the old vendor's export) as the source of truth:
POST /api/gs/v1/complete
X-GS-Secret: <secret key>
{ "userId": "usr_123", "stepKey": "connect-calendar" }
Run this as a one-time backfill script against your existing user table, mapping your old "has_connected_calendar" boolean or equivalent onto the new step keys, before the new checklist goes live for those users — not after, so nobody sees the reset state even briefly.
The step keys have to line up
The import only works cleanly if the old system's concept of "done" maps onto a step key in the new checklist. If the old system tracked something coarser — "onboarding complete" as a single boolean, with no per-step detail — you cannot recover which specific steps that represents; the honest options are completing every step for those users (if "onboarding complete" genuinely meant everything was done) or leaving them with no imported progress and letting the checklist state reflect reality going forward, rather than guessing which steps to mark.
What not to do
Do not import progress that is actually stale. A user flagged as "completed setup" in an old system eighteen months ago, when the product had three onboarding steps and now has seven, has not done the four new steps — importing them as complete because the old binary flag was true overstates their actual progress and leaves genuinely unfinished setup invisible to both the user and you.
Testing the import before running it for real
Run the backfill against a handful of real user ids first and read their state back (GET /api/gs/v1/state) to confirm the imported steps match what you expect, before running it against the full user base — a mapping bug caught on five users costs five minutes to fix; the same bug caught after running against fifty thousand users costs a correction pass across all of them.
What to measure instead of guessing
Nobody should assume the import was clean just because the script ran without errors. Spot-check a sample of migrated users' checklist state against their known actual progress from the old system, and treat any mismatch as a mapping bug to fix before trusting the rest of the import.
See the docs for the complete and state endpoints used above.