FM
FlowMarket
General Automation Advanced ⚡ 17 n8n Nodes

Clone n8n workflows between instances using n8n API

Overview The n8n Workflow Cloner is a powerful automation tool designed to copy, sync, and migrate workflows across different n8n instances or projects. Whet...

🔌 Nodes & Integrations Used (2)

n8n HTTP Request

📖 Implementation & Setup Guide

**Overview** The **n8n Workflow Cloner** is a powerful automation tool designed to **copy, sync, and migrate workflows** across different n8n instances or projects. Whether you're managing multiple environments (development, staging, production) or organizing workflows within a team, this workflow **automates the transfer process**, ensuring seamless workflow deployment with minimal manual effort.

By automatically detecting and copying only the missing workflows, this tool helps **maintain consistency, improve collaboration, and streamline workflow migration** between projects or instances.

**How to Use**

1️⃣ **Set Up API Credentials** - Configure API credentials for both **source** and **destination** n8n instances. - Ensure the credentials have **read and write** access to manage workflows.

2️⃣ **Select Source & Destination** - Update the **"GET - Workflows"** node to define the **source instance**. - Set the **"CREATE - Workflow"** node to specify the **destination instance**.

3️⃣ **Run the Workflow** - Click **"Test Workflow"** to start the transfer. - The system will fetch all workflows from the source, **compare** them with the destination, and copy any missing workflows.

4️⃣ **Change the Destination Project** (Optional) - By default, workflows are moved to the **"KBB Workflows"** project. - Modify the **"Filter"** node to transfer workflows to a different project.

5️⃣ **Monitor & Verify** - The **Loop Over Items** node ensures batch processing for multiple workflows. - Log outputs provide details on transferred workflows and statuses.

**Key Benefits** ✅ **Automate Workflow Transfers** – No more manual exports/imports. ✅ **Sync Workflows Across Environments** – Keep workflows up to date in dev, staging, and production. ✅ **Effortless Team Collaboration** – Share workflows across projects seamlessly. ✅ **Backup & Migration Ready** – Easily move workflows between n8n instances.

**Use Cases** 🔹 **CI/CD for Workflows** – Deploy workflows between development and production environments. 🔹 **Team Workflow Sharing** – Share workflows across multiple n8n projects. 🔹 **Workflow Backup Solution** – Store copies of workflows in a dedicated backup project.

**Tags** 🚀 Workflow Migration 🚀 n8n Automation 🚀 Sync Workflows 🚀 Backup & Deployment

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Clone n8n workflows between instances using n8n API.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related General Automation Workflows

View All in General Automation →