Skip to content

Teachable migration input

The importer accepts the shared normalized CSV described in the import guide. It does not parse arbitrary Teachable exports or claim a mapping for a particular Teachable account/export version. Before using it, make a copy of your export, remove real learner information, and reshape only the fields you intend to migrate into the normalized columns.

Example synthetic input:

email,course_title,module_title,lesson_title,video_url,purchased_at
learner-one@example.test,"Pricing, plainly",Foundations,Anchoring,https://media.example.test/old/intro.mp4,2026-09-30
learner-two@example.test,"Pricing, plainly",Foundations,Decoys,https://media.example.test/old/decoys.mp4,2026-10-01

This creates a free draft course at src/content/courses/pricing-plainly/, with a foundations module and two lesson stubs. It also creates a private student migration CSV under .stratolms-private/migrations/<run-id>/students.csv. The video URLs are kept only as commented source references in the lesson stubs; re-host the videos and update their lesson content before publishing.

Run the preview first, then import the same normalized file:

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

Review every generated file. The importer never publishes the course and does not transfer payments, entitlements, hosted video, refunds, or content absent from the normalized file. Replacement learner access must be granted deliberately through your new provider after you review the private migration record. Follow the cleanup and security steps in the shared guide.