Automated n8n Workflow Backups to Google Drive
detail.loadingPreview
This workflow automates the backup of your n8n workflows to Google Drive, ensuring your valuable automation configurations are always safe and accessible. It creates dated folders and optionally manages old backups.
About This Workflow
Safeguard your n8n automation projects with this comprehensive backup solution. This workflow leverages the n8n API to fetch all your workflows, converts them into easily manageable JSON files, and securely stores them in a dedicated Google Drive folder. Each backup is organized by date within a newly created folder, ensuring clear version control. The workflow is designed for ease of use, offering both manual and scheduled execution options. For efficient storage management, it includes an optional step to delete older backup folders, keeping your Google Drive organized. This is an essential tool for any n8n user focused on data integrity and disaster recovery.
Key Features
- Automated Workflow Archiving: Automatically back up all your n8n workflows.
- Secure Google Drive Storage: Store your JSON workflow files safely in Google Drive.
- Timestamped Folders: Organizes backups into date-specific folders for easy tracking.
- Flexible Scheduling: Trigger backups manually or set up recurring weekly schedules.
- Optional Cleanup: Automatically deletes old backup folders to manage storage space.
How To Use
- Import Workflow: Load the provided JSON into your n8n instance.
- Configure Google Drive Credentials: Connect your Google Drive account using OAuth2 and select the
Google Drive OAuth2credential in the relevant nodes (Create new folder,Get folders,Upload workflow,delete folder). - Configure n8n API Credentials: Set up your
n8n APIcredentials in theGet n8n workflownode. - Set Backup Destination: In the
Create new foldernode, specify thefolderIdof your desired parent backup folder in Google Drive. - Set Trigger: Enable either the
Manual Triggerfor on-demand backups or configure theSchedule Triggerfor automatic, recurring backups (e.g., weekly). - Optional Cleanup Configuration: If you wish to automatically delete old backups, configure the
Filteranddelete foldernodes accordingly, ensuring therightValuein theFilternode correctly identifies old folders to be removed.
Apps Used
Workflow JSON
{
"id": "0ad4bafb-1ba5-4746-acad-569589a00b7c",
"name": "Automated n8n Workflow Backups to Google Drive",
"nodes": 5,
"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: 0ad4bafb-1ba5...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
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.