General Steps for Migrating Articles to Storyblok

I have a large number of pages that I would like to migrate to Storyblok. Some are in WordPress and made from Gutenberg blocks. Others are hard-coded pages.

My plan so far is to scrape the pages using Node and cheerio. Then, format the data (mostly as rich text) and add it to Storyblok using the management API. This will be a lot of work.

Are there any tools available to convert html headings, paragraphs, etc. to the rich text object needed to import into Storyblok?

Any general advice for migrating articles?

Hello Ed,

there is a npm package which can be helpful with your task and also an example how to use it with our CLI:
https://www.storyblok.com/cl/markdown-html-to-richtext-converter

Alternatively there is also an article showing how to use CSV files for migrations:
https://www.storyblok.com/faq/how-to-import-a-csv-as-content-entries-in-storyblok

With best regards
Hannes

1 Like