n8n Workflow Make.com
4 min read Automation

How to Transfer n8n Workflows Between Instances in Minutes

Moving workflows between cloud-hosted and self-hosted n8n instances used to mean manual exports and imports for every single workflow. Now you can transfer them all at once using n8n's built-in API - saving hours of tedious work.

The Pain of Manual Workflow Transfers

Every n8n user eventually faces the dreaded workflow transfer process. Whether you're moving from cloud to self-hosted, setting up a staging environment, or consolidating multiple instances, the default export/import method becomes painfully slow with more than a few workflows.

Imagine exporting 83 workflows individually (as shown in the video), downloading each JSON file, then importing them one by one into your new instance. At 2-3 minutes per workflow, that's 3-4 hours of repetitive, error-prone work - time you could spend actually improving your automations.

Manual workflow transfers don't scale: What works fine for 2-3 workflows becomes a productivity killer when dealing with dozens. The API method shown in this guide handles bulk transfers in minutes, not hours.

How n8n's API Solves This

n8n includes a powerful REST API that most users never tap into. As demonstrated in the video, two key API endpoints - "create workflow" and "get all workflows" - can completely automate the transfer process.

The API approach provides three major advantages over manual transfers:

  • Bulk operations: Transfer dozens or hundreds of workflows in a single operation
  • Preserved metadata: Maintains all workflow settings, tags, and configurations
  • Automation potential: Can be scheduled or triggered programmatically for regular syncs

Unlike manual exports that require downloading and uploading files, the API method transfers workflows directly between instances as structured JSON data.

Step-by-Step Transfer Process

Here's the complete workflow transfer method shown in the video, expanded with additional details for production use:

Step 1: Set Up API Credentials

Navigate to your source n8n instance's settings (profile → API keys). Create a new API key with at least workflow read permissions. As shown at 0:45 in the video, name it clearly (like "Workflow Transfer") and copy the key immediately after creation.

Step 2: Configure the Transfer Workflow

In your destination instance, create a new workflow with:

  • A manual trigger (to run on demand)
  • An HTTP Request node configured to GET /workflows from the source instance
  • A Function node to process the workflow JSON data
  • An HTTP Request node to POST each workflow to /workflows on the destination

Step 3: Execute the Transfer

Run the workflow manually. Monitor the execution for any errors. The video shows a successful transfer returning all 83 workflows from the source instance (1:15 timestamp).

Pro tip: For large transfers, add error handling and rate limiting to avoid overwhelming either instance. Process workflows in batches of 20-30 if transferring hundreds.

Credentials and Permissions

As mentioned at 0:55 in the video, API credentials require careful configuration:

  • Source instance: Needs workflow:read permission
  • Destination instance: Needs workflow:write permission
  • Base URLs: Must include /api/v1 (notice the "v1" shown in the video)

External credentials (like API keys for services your workflows connect to) won't transfer automatically. You'll need to:

  1. Export credentials separately from the source instance
  2. Import them to the destination
  3. Reconnect them to the transferred workflows

This security measure prevents accidental exposure of sensitive credentials during transfers.

Troubleshooting Common Issues

While the API transfer method is reliable, these issues may occur:

Authentication Failures

Double-check your API key has the correct permissions and hasn't expired. The video shows proper key configuration at 0:45.

Version Mismatches

Workflows created in newer n8n versions may not transfer cleanly to older instances. Keep both instances updated.

Missing Nodes

If the destination lacks a community node used in source workflows, those workflows will fail to transfer. Install missing nodes first.

For complex transfers: Consider testing with 2-3 workflows first before attempting bulk operations. This catches configuration issues early.

Watch the Full Tutorial

See the complete workflow transfer process demonstrated in the original video, including how to configure API credentials (0:45 timestamp) and verify successful transfers (1:15 timestamp).

Video tutorial: Transferring n8n workflows between instances

Key Takeaways

Transferring n8n workflows doesn't have to be a manual, workflow-by-workflow process. By leveraging n8n's built-in API, you can:

  • Move dozens or hundreds of workflows in minutes instead of hours
  • Maintain all workflow configurations and metadata
  • Automate regular syncs between environments

Remember: While the API transfers workflow configurations, external credentials need separate handling for security. Always test with a few workflows before large transfers.

Frequently Asked Questions

Common questions about this topic

Common reasons include migrating from cloud to self-hosted (or vice versa), setting up staging environments, or consolidating workflows from multiple instances.

The manual export/import method works but becomes time-consuming with more than a few workflows. The API method shown in this guide handles bulk transfers efficiently.

  • Cloud to self-hosted migrations
  • Environment synchronization
  • Workflow consolidation projects

Yes, the API transfer maintains all workflow configurations exactly as they were in the original instance.

However, you'll need to reconnect any external credentials in the new environment since API keys and passwords aren't transferred for security reasons. The video shows this credential handling at 0:55.

  • Workflow settings preserved
  • External credentials require separate transfer
  • Tags and metadata maintained

The API key requires workflow read permissions on the source instance and workflow write permissions on the destination.

For full transfers, use an owner-level key or ensure your user role has both workflow:read and workflow:write capabilities. The video demonstrates key creation at 0:45.

  • Source: workflow:read
  • Destination: workflow:write
  • Owner keys simplify permission management

Generally yes, but significant version gaps (over 2 major versions) may cause compatibility issues.

It's recommended to update both instances to similar versions before transferring large workflow collections. The API will flag any incompatible nodes during transfer.

  • Minor version differences usually work
  • Major version gaps risk compatibility
  • Update instances before large transfers

There's no hard limit - the API can handle hundreds of workflows in a single transfer.

Performance depends on your server resources. For large transfers (100+ workflows), consider breaking into batches of 50-75 workflows each to avoid timeout issues.

  • No theoretical maximum
  • Practical limits based on server capacity
  • Batch large transfers for reliability

The API provides detailed error messages for failed transfers.

Partial transfers will leave successfully migrated workflows in place while skipping problematic ones. You can retry failed workflows individually after resolving any issues.

  • Detailed error reporting
  • Successful transfers remain intact
  • Failed workflows can be retried

The main risk is exposing sensitive data if workflows contain hardcoded credentials (which should be avoided).

Always use HTTPS for API connections, restrict key permissions, and rotate keys after major transfers. The method itself is as secure as your n8n instance's API configuration.

  • HTTPS connections required
  • Minimal key permissions recommended
  • Rotate keys after major transfers

GrowwStacks helps businesses implement automation workflows, AI integrations, and scalable systems tailored to their operations.

Whether you need to migrate workflows between environments, set up staging instances, or optimize your n8n infrastructure, our team can design and execute a seamless transition plan. We offer free consultations to discuss your specific migration needs.

  • Expert n8n configuration and migration
  • Custom workflow transfer solutions
  • Free 30-minute consultation

Need Help Migrating Your n8n Workflows?

Manual workflow transfers waste hours of valuable time. Let GrowwStacks handle your n8n migration with our proven API transfer method - we'll have your automations running in your new environment within one business day.