Transfer Workflows from local to cloud

I have been using n8n locally and now want to shift to the cloud version. I’ve paid for a plan and use the same account details as I used for my local host however I can’t see any of the workflows. How do I transfer them from my local to cloud.

Easy way is to use command line. Export all Workflow in a single file.

Exec this:

n8n export:workflow --all --output=all_workflows.json

then you can click on "Add workflow" in your cloud page and finally on 3 dots on top right -> Import json

Here full documentation:
https://docs.n8n.io/hosting/cli-commands/#workflows

Thanks, I used the command:

n8n export:workflow --id= --output=file.json

(replaced with my specific ID)

The file downloaded, and I tried to upload with the thee dots, but nothing is happening.

easyest is select all nodes in local workflow with CTRL+C, go to your cloud account, create new workflow paste CTRL+V

1 Like

That works a treat!!! Thanks

Glad to read that.
Can you please mark as resolved?

Have a nice day

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.