Move your workflows from another n8n
You can bring your workflows from n8n Cloud or from another server. They keep working the same way once their credentials are set up again.
A few workflows: in the editor
Section titled “A few workflows: in the editor”- In your old n8n, open a workflow, open its menu and choose Download. You get a
.jsonfile. - In your new n8n, create a workflow, open its menu and choose Import from File.
- Set up the credentials the workflow uses again (API keys, logins), then activate it.
Many workflows: with the n8n command line
Section titled “Many workflows: with the n8n command line”On the old server:
n8n export:workflow --all --output=workflows.jsonn8n export:credentials --all --decrypted --output=credentials.jsonCopy both files to your new server, then:
n8n import:workflow --input=workflows.jsonn8n import:credentials --input=credentials.jsonOn your Phluit server, n8n runs in Docker: run these commands inside the n8n container, for example with docker exec -it <n8n-container> n8n …. The --decrypted file holds your passwords and keys in plain text: delete it from both servers when you’re done.
After the move
Section titled “After the move”- Webhooks get a new address on your new server. Update them in the services that call them.
- Check that the workflows you need are active.
- Turn the workflows off on the old n8n, so they don’t run twice.
Need a hand? Open a ticket: our team can help with the move.
