Skip to main content

Selectively import workflows between instances using the n8n API and forms

Workflow preview

Workflow preview
100%
Selectively import workflows between instances using the n8n API and forms preview
Open on n8n.io

1. Workflow Overview

How it works Retrieves workflows directly from an n8n instance using the n8n API Dynamically generates a form to select which workflows to import Supports both fixed instance configuration and dyna...

Best for

  • File Management automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.code, n8n-nodes-base.filter, n8n-nodes-base.aggregate, n8n-nodes-base.form, n8n-nodes-base.merge, n8n-nodes-base.splitout, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Stephen Anindo.

Original n8n.io source

1.1 Workflow description

Title
Selectively import workflows between instances using the n8n API and forms
Workflow name
Selectively import workflows between instances using the n8n API and forms

How it works

  • Retrieves workflows directly from an n8n instance using the n8n API
  • Dynamically generates a form to select which workflows to import
  • Supports both fixed instance configuration and dynamic source/target selection
  • Formats workflows safely and creates them in the target instance

You stay in control at every step: nothing is imported unless you explicitly select it.

Set up steps

Estimated setup time: 2–5 minutes

  • Simple mode: Add API credentials for the source and target n8n instances and run the workflow.

  • Dynamic mode (optional): Connect a database (e.g. Notion or Supabase) containing your n8n instance URLs and API keys, then select the source and target instances via the form.

No manual exports, no bulk imports, and no additional configuration required.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.4

Block 2 - Strip Incompatible API Fields

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 3 - Filter Our Archived Items

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 4 - Aggregate Workflows

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 5 - Select Workflows

Type / Role
n8n-nodes-base.form - form
Config choices
Version 2.4

Block 6 - Select Matching Workflows

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 7 - Split Out Workflows

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 8 - Create JSON Workflow Options

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Split Out

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 10 - Route Mode

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 11 - Strip Incompatible API Fields1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 12 - Filter Our Archived Items1

Type / Role
n8n-nodes-base.filter - filter
Config choices
Version 2.3

Block 13 - Select Workflows1

Type / Role
n8n-nodes-base.form - form
Config choices
Version 2.4

Block 14 - Select Matching Workflows1

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 15 - Split Out Workflows1

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 16 - Create JSON Workflow Options1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Get Instance Information

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 18 - Create JSON Workflow Options2

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Set Source Name and URL

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 20 - Select Workflows2

Type / Role
n8n-nodes-base.form - form
Config choices
Version 2.4

Block 21 - Set Source

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 22 - Set Target

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 23 - Merge Source and Target

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 24 - Source and Target

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Showing the first 24 of 50 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Selectively import workflows between instances using the n8n API and forms
Complexity advanced
Nodes 50
Categories File Management
Author Stephen Anindo
Published 16 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13425/13425.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Selectively import workflows between instances using the n8n API and forms do?

How it works Retrieves workflows directly from an n8n instance using the n8n API Dynamically generates a form to select which workflows to import Supports both fixed instance configuration and dyna...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your File Management use case.