AutomationMart
Home/Browse/Back up self-hosted workflows to Google Drive daily with change detection
n8n

Back up self-hosted workflows to Google Drive daily with change detection

n8nn8n18 modulesv1.0
Google Drive

This workflow creates a daily, automated backup of all workflows in a self-hosted n8n instance and stores them in Google Drive. Instead of exporting every workflow on every run, it uses content hashing to detect meaningful changes and only updates backups when a workflow has actually been modified. To keep Google Drive clean and predictable, the workflow intentionally deletes the existing backup file before uploading the updated version. This avoids duplicate files and ensures there

At a glance

Back up self-hosted workflows to Google Drive daily with change detection is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects Google Drive. It's free to download. Follow the 5-step import below to go live in minutes.

Platform
n8n
Connects
Google Drive
Modules
18
Price
Free
Version
v1.0
Back up self-hosted workflows to Google Drive daily with change detection workflow diagram

About this workflow

This workflow creates a daily, automated backup of all workflows in a self-hosted n8n instance and stores them in Google Drive. Instead of exporting every workflow on every run, it uses content hashing to detect meaningful changes and only updates backups when a workflow has actually been modified. To keep Google Drive clean and predictable, the workflow intentionally deletes the existing backup file before uploading the updated version. This avoids duplicate files and ensures there is always one authoritative backup per workflow. A Data Table is used as an index to track workflow IDs, hash values, and timestamps. This allows the workflow to quickly determine whether a workflow already exists, whether its content has changed, or whether it should be skipped entirely. How it works - Runs daily using a Cron Trigger. - Fetches all workflows from the n8n API. - Processes workflows one-by-one for reliability. - Generates a SHA-256 hash for each workflow. - Compares hashes against a stored Data Table. - Deletes existing Google Drive backups when changes are detected. - Uploads updated workflows and skips unchanged ones. - Store new or updated workflows details in Data Table. - Filters workflows based on the configured backup scope (all | active | tagged ). Backs up all workflows, only active workflows, or only workflows matching a specific tag. - Applies the scope filter before hashing and comparison, ensuring only relevant workflows are processed. Setup steps - Set the Cron schedule Open the Cron Trigger node and choose the time you want the backup to run (for example, once daily during off-peak hours). - Create a Data Table Create a new n8n Data Table with the title defined in dataTableTitle. This table stores workflowId, workflowName, hashCode, and DriveFiveId. - Configure the Set node In the Set Backup Configuration node, provide the following values: { "n8nHost": " "apiKey": "your-n8n-api-key", "backupFolder": "/n8n/workflow-backups", "hashAlgorithm": "sha256", "dataTableTitle": "n8nworkflowbackupindex", "backupScope" : "", "requiredTag" : "" } - In the Set Backup Configuration node, choose how workflows should be selected for backup: all – backs up every workflow (default) active – backs up only enabled workflows tagged – backs up only workflows containing a specific tag If using the tagged option, provide the required tag name to match. { "backupScope": "tagged", "requiredTag": "production" } - Connect Google Drive credentials Authorize your Google Drive account and ensure the backup folder exists. - Activate the workflow Once enabled, backups run automatically with no further action required.

n8n

How to import this n8n workflow

  1. 1

    Download the workflow JSON file after purchase.

  2. 2

    Open n8n → click the menu → Import from File.

  3. 3

    Select the downloaded JSON and import.

  4. 4

    Set up credentials for each node that requires them.

  5. 5

    Click Execute Workflow to test, then activate.

Setup guide

Setup guide included

Purchase to unlock the full step-by-step guide

Related N8n workflows

Upload a Report to Google Drive when a MoreApp Form is Submitted

Keep your reports organized without manual work. This template downloads reports from MoreApp whenever a submission is made and uploads them to Google Drive. You can choose the folder, set the file name dynamically, and define how duplicates are handled — ensuring all submissions are safely stored and easy to access.

Free

Automated web scraping: email a CSV, save to Google Sheets & Microsoft Excel

How it works: The workflow starts by sending a request to a website to retrieve its HTML content. It then parses the HTML extracting the relevant information The extracted data is storted and converted into a CSV file. The CSV file is attached to an email and sent to your specified address. The data is simultaneously saved to both Google Sheets and Microsoft Excel for further analysis or use. Set-up steps: 1. Change the website to scrape in the "Fetch website content" node 2. Configure Micr

Free

Simple eval for legal benchmarking

This workflow demonstrates a simple way to run evals on a set of test cases stored in a Google Sheet. The example we are using comes from an info extraction task dataset, where we tested 6 different LLMs on 18 different test cases. You can see our sample data in this spreadsheet here to get started. Once you have this working for our dataset, you can plug in your own test cases matching different LLMs to see how it works with your own data. How it works: - It loads test cases from Google Sheets.

Free

Document RAG & chat agent: Google Drive to Qdrant with Mistral OCR

Knowledge RAG & AI Chat Agent: Google Drive to Qdrant Description This workflow transforms a Google Drive folder into an intelligent, searchable knowledge base and provides a chat agent to query it. It’s composed of two distinct flows: - An ingestion pipeline to process documents. - A live chat agent that uses RAG (Retrieval-Augmented Generation) and optional web search to answer user questions. This system fully automates the creation of a “Chat with your

Free

Send a Slack message for every new file added to Google Drive

Stay organized and enhance team communication by automatically notifying your Slack channel whenever a new file is added to your Google Drive. This template ensures that your team is always updated on the latest documents, fostering collaboration and efficiency. Simply set up the Google Drive integration to monitor all files, and let Make handle the rest by sending instant messages to your designated Slack channel.

Free

Convert HTML content to PDF

Automatically convert HTML content or web pages to professional PDF files. Perfect for archiving web content, generating reports, or saving HTML emails as PDFs. What you'll need: - CustomJS account (sign up at customjs.space) - Google Drive for saving PDFs - HTML content to convert Get your CustomJS API key at customjs.space/account Created by CustomJS Contact: support@customjs.space

Free

Automate LinkedIn candidates sourcing with Google X-ray Boolean search

Auto Source LinkedIn Candidates with GPT-4 Boolean Search & Google X-ray How It Works: 1. User Input: - The user pastes a job description or ideal candidate specifications into the workflow. 2. Boolean Search String Generation: - OpenAI processes the input and generates a precise LinkedIn Boolean search string formatted as: site:linkedin.com/in ("Job Title" AND "Skill1" AND "Skill2") - This search string is optimized to find relevant LinkedIn profiles matching the provided criteria.

Free

AI icebreaker builder: scrape sites with Dumpling AI and save to Airtable

Who is this for? This workflow is ideal for sales teams, marketers, and virtual assistants who manage outbound campaigns and want to improve their cold outreach personalization. It helps automate the research and writing process for each lead, saving time while improving quality. What problem is this workflow solving? Cold outreach often lacks personalization because manually reviewing each lead's website takes time. This workflow eliminates that bottleneck by using AI to auto-gener

Free

Reviews

No reviews yet

Be the first to buy and share your experience.

Leave a review

Sign in to share your experience with this workflow.

Log in to review
Free
No ratings yet

Create a free account to purchase workflows.

  • JSON blueprint — instant download
  • Setup guide PDF included
  • 5 downloads · valid 30 days
  • Works with n8n

Need help setting this up?

Book a 3-hour live setup session with an Agility consultant.

₹2,499/ session
3 hrs · video call
  • Configure live on Google Meet / Zoom
  • Free follow-up if workflow has defects
  • Platform expert assigned to you
Book installation session
Free