Restore Workflows from Google Drive Backups - n8n Workflow

Bulk restore n8n workflows quickly from Google Drive JSON backup files. This essential n8n workflow automates instance migration and disaster recovery using the internal n8n node.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

n8n Administrators needing a quick disaster recovery solution.
Users performing an n8n instance migration who need to transfer all existing n8n templates.


  • Automation specialists who rely on regular backups of their critical n8n workflow assets.

Overview

Restoring dozens or even hundreds of n8n workflows manually is an incredibly time-consuming and error-prone process, especially during server migrations or after a system failure. This powerful n8n workflow solves this critical operational challenge by providing a fully automated bulk restoration mechanism.

By leveraging the Google Drive n8n node and the internal n8n node (which interfaces with the n8n API), this solution ensures rapid recovery. It retrieves all workflow backup JSON files from a specified folder and imports them sequentially into your current n8n instance. This not only speeds up disaster recovery but also simplifies the process of transferring your entire automation suite when setting up new n8n servers. It is an ideal companion to any n8n workflow backup solution.

How it Works

This comprehensive n8n workflow is designed to be triggered manually when a restoration is required.


  1. Manual Start: The process begins with the Clicking Trigger n8n trigger, initiating the restore operation on demand.

  2. Locate Backups: The Google Drive Get All Workflows n8n node connects to Google Drive and lists all files within a pre-configured backup folder URL. These are expected to be previously saved n8n workflow JSON files.

  3. Iteration: The Loop Over Items n8n node splits the retrieved list of files, allowing subsequent steps to process each workflow file individually.

  4. Download and Extract: For each item, the Google Drive Download Workflow n8n node downloads the backup file. Immediately following, the Extract from File n8n node parses the binary data, converting the raw file content into a structured JSON object suitable for API submission.

  5. Import Workflow: The core action is performed by the n8n Create Workflow n8n node, which utilizes n8n API credentials to issue a request to the current instance, creating a new n8n workflow using the imported JSON definition.

  6. Rate Limit Management: A Wait n8n node introduces a 3-second pause after each successful workflow creation. This is a crucial step to manage system load and prevent potential API rate-limiting issues when importing many n8n templates rapidly.

Installation Guide

To install and configure this robust n8n workflow, follow these steps:


  1. Import: Download the n8n JSON template and import it into your n8n instance via the Workflows interface.

  2. Google Drive Credentials: Configure the Google Drive OAuth2 API credentials in both Google Drive n8n node instances (List and Download).

  3. n8n API Credentials: Configure the n8n API credentials in the 'n8n Create Workflow' n8n node. These credentials must have the necessary permissions to create new n8n workflows.

  4. Specify Backup Folder (Critical): Open the 'Google Drive Get All Workflows' n8n node. In the parameters, locate the Folder ID within the Filter section. You must replace the placeholder URL with the direct URL of the Google Drive folder containing your n8n workflow JSON backup files.

  5. Activate: Ensure the n8n workflow is active before attempting to run the manual n8n trigger.

Node Details

Clicking Trigger (Manual Trigger): The initiating n8n trigger that runs the restoration process when manually clicked.
Google Drive Get All Workflows (Google Drive n8n node): Lists all files found in the specified backup folder. Key Configuration: returnAll: true and the folder ID configured via a URL filter.
Loop Over Items (Split In Batches n8n node): Splits the incoming list of files into single items, ensuring the subsequent steps process one n8n workflow file at a time.
Google Drive Download Workflow (Google Drive n8n node): Downloads the specific workflow JSON file identified during the current iteration of the loop, using the item's id from the previous Google Drive n8n node output.
Extract from File (Extract from File n8n node): Converts the binary downloaded workflow file content into a usable JSON object using the fromJson operation.
n8n Create Workflow (n8n n8n node): The key action node. It uses the create operation to import the full n8n workflow definition using the extracted JSON data. The workflow object parameter references the output of the Extract node.


  • Wait (Wait n8n node): Pauses the n8n workflow execution for 3 seconds between imports to handle API call pacing.

Related n8n Workflows

Free

Nodes: 7 Nodes
Updated: December 26 2025
View all
Created by

A Growth Hacker, Digital Marketer & AI Automation Builder with 10+ years of experience in Digital Marketing & Workflow Automation. Based in Helsinki, Finland. For questions about my templates and customization, contact me at: [email protected]

Featured*