Templates / Import workflows and map their credentials using a multi-form

Import workflows and map their credentials using a multi-form

Ready for 3.0

by Mario ✓ · 3,561 views · created 2024-10-29 · DevOps

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This workflow has 37 nodes and runs when someone submits an n8n form (“Workflow Import”). It uses only n8n's built-in nodes.

How it runs

Trigger: When someone submits an n8n form (“Workflow Import”).

  1. Determine Workflow Source (If): checks a condition and branches into true / false
  2. Upload File (n8n Form): shows the next form page
  3. Settings (Edit Fields (Set)): sets 1 field: remoteInstances
  4. Extract from File: extracts data from a file (from json)
  5. Generate Instance Options (Code): runs custom JavaScript code
  6. Export Credentials (Execute Command): runs a shell command on the n8n host
  7. Choose Instance (n8n Form): shows the next form page
  8. Get Credentials Data (Read/Write Files from Disk): reads a file from disk
  9. Merge: merges the data from its input branches
  10. Prepare Request Data (Code): runs custom JavaScript code

…plus 24 more steps. See the full node list below.

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (17)

From the author

Purpose This workflow allows you to import any workflow from a file or another n8n instance and map the credentials easily. How it works - A multi-form setup guides you through the entire process - At the beginning you have two options: - Upload a workflow…

Excerpt from Mario's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.