Skip to content

Gumroad migration input

The importer accepts the shared normalized CSV described in the import guide. A Gumroad sales export is not a course curriculum and the CLI does not claim to parse an arbitrary native export. If you prepare a sanitized normalized file yourself, the importer can turn each sale row into a student migration record and a free draft content skeleton.

Example synthetic sales-only input:

email,course_slug,purchased_at
learner-one@example.test,field-notes,2026-09-30
learner-two@example.test,field-notes,2026-10-01

The importer warns that curriculum is missing and scaffolds a placeholder module and lesson under src/content/courses/field-notes/. Replace those placeholders with course material that you have the right to use. Student rows are written to .stratolms-private/migrations/<run-id>/students.csv.

Preview, import, and validate:

Terminal window
pnpm stratolms import --from gumroad --file=./gumroad-normalized.csv --dry-run --json
pnpm stratolms import --from gumroad --file=./gumroad-normalized.csv
pnpm stratolms check

The sales file does not establish course structure, transfer payments or entitlements, or carry hosted media and course content. Review the private migration record and generated draft before considering any replacement learner access. The shared guide covers review, secure cleanup, and publication.