Automated n8n workflow backup system with Google Drive and archi
Click here to access this Workflow for free. --- Automatically save and archive your workflows This workflow provides a fully automated system for backing up...
🔌 Nodes & Integrations Used (3)
📖 Implementation & Setup Guide
**[Click here to access this Workflow for free](https://www.bonzai.pro/auth?action=buyPrice%2Cpri_KlOK_5247)**.
---
Automatically save and archive your workflows
This workflow provides a fully automated system for backing up your n8n workflows to Google Drive. It runs on a schedule (which you can customize) and saves each workflow as a `.json` file, named after the workflow itself. All active workflows are backed up by default and stored in a specified Google Drive folder of your choice.
A special feature of this workflow is its ability to archive and clean up old workflows. If you tag a workflow with `ARCHIVE` (case-sensitive), the workflow will be backed up into a designated `Archive` subfolder inside your main Google Drive folder — and then **automatically deleted from your n8n instance**. This keeps your workspace clean and reduces clutter while ensuring everything is safely stored.
Requirements
- A Google Drive account connected to n8n (via OAuth2 or preferred method)
- An n8n instance with access to your workflows
- A folder in Google Drive for storing backups
- - Inside this folder, create a subfolder named `Archive`
- **Folder IDs for both the main and archive folders** (*Find it in folder's URL e.g. https://drive.google.com/drive/u/0/folders/**1F7Exr2xkZQFvmHmjdFD43K0jfd***)
Setup
- In your Google Drive, create a main folder for storing backups.
- Inside it, create a subfolder called `Archive`.
- **Retrieve the folder IDs for both folders**
- In n8n, connect your Google Drive credentials.
- Open the workflow and insert the folder IDs in the appropriate nodes.
- Optionally, edit the schedule trigger to set your preferred backup frequency.
Usage
Once configured, the workflow will: - Run automatically on the defined schedule - Back up all existing workflows into your Drive - For workflows tagged with `ARCHIVE`: - Save them into the `Archive` subfolder - Delete them from your n8n instance
The workflow ensures your automation logic is safely versioned, with optional cleanup for outdated or unused flows.
Customization
You can modify the schedule to run daily, weekly, or at any custom interval using the built-in Cron node.
You can also change the folder structure or naming conventions in the Google Drive nodes to match your personal or team preferences.
Workflows are archived only if they are explicitly tagged with `ARCHIVE` — this tag is **case-sensitive**.
--- ### If you need any help, or have any question, feel free to come discuss about it on **[Telegram](https://www.bonzai.pro/theo_marcadet/lp/7018)**
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Automated_n8n_workflow_backup_system_with_Google_Drive_and_archi.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related General Automation Workflows
View All in General Automation →Generate Application Copy
Production-ready n8n automation template for Generate Application Copy built by AhiXLight. Seamlessly connects Execute Workflow Trigger, OpenAI with 4 configured nodes.
2-way sync Google Contacts and Notion
Sync your Google Contacts with your Notion database. You can filter contacts by label or sync all contacts. All contact information is kept in sync between G...
2D Image to 3D Model Automation
Production-ready n8n automation template for 2D Image to 3D Model Automation built by AhiXLight. Seamlessly connects HTTP Request, Google Sheets, Google Drive with 17 configured nodes.
2 way sync assignments completion between Canvas LMS and Notion
Syncs assignments and completion states to and fro between Canvas LMS and a Notion database. Automatically triggers every 2 hours during the schoolday by def...