Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / Code, Git & Developer Tools

Code, Git & Developer Tools

Import Workflows and Credentials Between n8n Instances

When a form is submitted with an export file, it reads workflows and credentials and uses the n8n API and shell to import them into a chosen instance.

What it does

## Instances config example [ { "name": "n8n-test", "apiKey": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "baseUrl": "https://n8n-test.example.com/api/v1" }, { ... } ]

The steps

  1. Extract from File
  2. Export Credentials
  3. Get Credentials Data
  4. Binary to JSON
  5. Merge
  6. Collect Credentials to Replace
  7. Settings
  8. Prepare Request Data
  9. Get Workflows
  10. No Operation
  11. Determine Workflow Source
  12. Error1
  13. Error
  14. Split Out Workflows

37 steps in total.

Similar automations