Developer & DevOps

Replicate workflows across n8n instances via API

17 nodes 256 120 Automatic trigger
Download

Workflow Description

Automate copying entire workflows between n8n instances using the API, with batch processing and filtering to ensure only selected workflows are transferred accurately.

How it works

  1. 1.Trigger automation manually with source and target instance credentials
  2. 2.Fetch workflow list from source instance via n8n API
  3. 3.Process results in batches for efficient parallel handling
  4. 4.Filter and restructure workflow data for transfer compatibility
  5. 5.Push each workflow to target instance through API calls

Use cases

  • Migrate workflows between production and testing environments
  • Share standardized workflows across multiple teams in an organization
  • Backup and restore workflows to new n8n instances
  • Distribute workflow templates across distributed team instances

Requirements

  • Valid API keys for both source and target n8n instances
  • Administrative access to both n8n instances being replicated
  • List of workflow IDs or names to be copied

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

N8N Split In Batches

Details

Trigger Automatic trigger
Nodes 17
Apps 2
Views 256
Downloads 120

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (17)

/

When clicking ‘Test workflow’

Manual Trigger

#1

GET - Workflows

N8N

#2

CREATE - Workflow

N8N

#3

n8n - GET - Projects

HTTP Request

#4

SET Project ID

Set

#5

PUT - Workflow in Project

HTTP Request

#6

Loop Over Items

Split In Batches

#7

Sticky Note1

Sticky Note

#8

Sticky Note

Sticky Note

#9

Sticky Note2

Sticky Note

#10

GET - Destination Workflows

N8N

#11

Code

Code

#12

Split Out Workflows

Split Out

#13

Split Out Workflows1

Split Out

#14

Merge Workflows

Merge

#15

Split Out Projects

Split Out

#16

Filter Project

Filter

#17