Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

Migrate from buttercms to PayloadCMS

default discord avatar
mdrahiem2 years ago
4

I am thinking to migrate from butterCMS to PayloadCMS. ButterCMS provide an option to export all posts as csv file. Can I import into PayloadCMS and use?

  • discord user avatar
    alessiogr
    2 years ago

    You could build a custom importer! So just a function which reads the csv and creates new documents using Payload's Local API

  • discord user avatar
    denolfe
    2 years ago

    Here is an example of a collection csv import that you may be able to modify for your needs

    https://github.com/payloadcms/payload/discussions/1660

    Here is another example from Wordpress as another reference (not from csv, though)

    https://discord.com/channels/967097582721572934/1068171728028700802
  • default discord avatar
    mdrahiem2 years ago

    Thanks for the resource and replies. I am using cloud and I have already converted csv to json online. So is there a way to import this json object via dashboard?

  • discord user avatar
    denolfe
    2 years ago

    Not via the dashboard, no. You'd need to do a similar script but just read from a file with your json data.

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team.