Selectively import workflows between instances using the n8n API and forms
Ready for 3.0What this workflow does
This workflow has 40 nodes and runs when someone submits an n8n form (“N8n Workflow Loader”). Along the way it connects Notion.
How it runs
Trigger: When someone submits an n8n form (“N8n Workflow Loader”).
- Route Mode (Switch): routes items into 2 branches
- Get All Source Instance Workflows (n8n): uses n8n
- Get Instance Information (Notion): get many (database page)
- Filter: keeps only the items that match a condition
- Set Source Name and URL (Edit Fields (Set)): sets 1 field: workflow_name
- Merge: merges the data from its input branches
- Merge: merges the data from its input branches
- Set Workflow Display Name (Static) (Edit Fields (Set)): sets 1 field: workflow_name
- Select Matching Workflows (Merge): merges the data from its input branches
- Aggregate: combines items into one
…plus 29 more steps. See the full node list below.
Services it uses
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 (12)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Filter
n8n-nodes-base.filter - Aggregate
n8n-nodes-base.aggregate - n8n Form
n8n-nodes-base.form - Merge
n8n-nodes-base.merge - Split Out
n8n-nodes-base.splitOut - Switch
n8n-nodes-base.switch - Notion
n8n-nodes-base.notion - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - n8n
n8n-nodes-base.n8n
From the author
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…