Automated n8n Workflow Backup to Google Drive
detail.loadingPreview
Ensure the safety and continuity of your n8n automations with this workflow that automatically backs up all your n8n workflows to Google Drive daily. It intelligently updates existing backups or creates new ones, keeping your critical automation definitions secure and up-to-date.
About This Workflow
Never lose a critical n8n workflow again! This robust n8n workflow provides an automated, daily backup solution for all your n8n automations, storing them securely in your Google Drive. Running every day at 1:30 AM, it fetches a list of all active n8n workflows. For each workflow, it intelligently checks if a backup already exists in your designated Google Drive folder. If found, it updates the existing file; otherwise, it creates a new backup, ensuring no duplicates and optimized storage. Detailed email notifications keep you informed of backup successes and any potential failures, offering complete peace of mind for your automation infrastructure.
Key Features
- Automated Daily Backups: Configured to run automatically every day at 1:30 AM, ensuring your workflows are consistently backed up.
- Comprehensive Workflow Capture: Automatically retrieves and backs up all active n8n workflows from your instance.
- Intelligent Update/Create Logic: Differentiates between new and existing backups, updating files when they already exist and creating new ones when they don't.
- Secure Google Drive Storage: Backs up workflow JSON files directly to a specified folder within your Google Drive account.
- Email Notifications: Receive instant success or failure notifications via Gmail, keeping you informed about your backup status.
How To Use
- Configure Schedule Trigger: (Optional) Adjust the
Schedule Triggernode to your preferred daily backup time, or keep the default 1:30 AM. - Set n8n API Credentials: Update the
Get all n8n Workflowsnode with your n8n API credentials to allow the workflow to access your instance's workflows. - Configure Google Drive Credentials: Provide your Google Drive OAuth2 credentials to the
Backup to Google Drivenodes (Backup to Google Drive2andBackup to Google Drive4). - Specify Google Drive Folder: In the
Backup to Google Drive4node, select or create the specific Google Drive folder where you want your workflow backups to be stored. - Set Gmail Credentials & Recipients: Update the
successEmailandfailureEmailnodes with your Gmail OAuth2 credentials and specify the email addresses for backup notifications.
Apps Used
Workflow JSON
{
"id": "b09ea7bc-8030-43fb-93d9-7e06e95ba5f1",
"name": "Automated n8n Workflow Backup to Google Drive",
"nodes": 27,
"category": "DevOps",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: b09ea7bc-8030...
About the Author
Free n8n Workflows Official
System Admin
The official repository for verified enterprise-grade workflows.
Statistics
Related Workflows
Discover more workflows you might like
Automated PR Merged QA Notifications
Streamline your QA process with this automated workflow that notifies your team upon successful Pull Request merges. Leverage AI and vector stores to enrich notifications and ensure seamless integration into your development pipeline.
Robust Concurrency Control for n8n Workflows with Redis
Prevent simultaneous execution of critical n8n workflows or tasks using a centralized, Redis-backed locking mechanism. This reusable utility workflow ensures data integrity and resource management by allowing other workflows to acquire, check, and release locks.
Automate Qualys Report Generation and Retrieval
Streamline your Qualys security reporting by automating the generation and retrieval of reports. This workflow ensures timely access to crucial security data without manual intervention.