Automated n8n Workflow Backup to Google Drive Every 4 Hours
Backs up all n8n workflows to Google Drive every 4 hours by creating timestamped folders, exporting workflows as JSON files, and deleting old backups for efficient storage.
This workflow automates the backup of all your n8n workflows to Google Drive on a 4-hour schedule, eliminating the need for manual exports or reliance on GitHub. It starts by creating a new folder named with the current timestamp inside a specified parent folder. Then, it fetches all workflows via the n8n API, loops through them using Split In Batches, converts each to JSON format, and uploads them to the new folder. Finally, it identifies and deletes previous backup folders to prevent storage bloat, maintaining a clean, single latest backup.
The benefits include robust data protection against n8n instance failures, downtime, or accidental deletions, ensuring you never lose critical automations. It's particularly valuable for power users managing dozens of workflows, saving hours of manual recovery time and providing peace of mind with scheduled, hands-off operation.
Use cases span individual developers, agencies, and teams relying on n8n for business automations. Ideal for production environments where workflow integrity is crucial, it integrates seamlessly with Google Drive for easy access, sharing, and versioning if needed. Setup requires Google service account credentials shared with a Drive folder, making it quick to deploy.
New buyers can create an account from the cart to unlock a controlled $10 first-purchase credit on eligible orders of $25+.
Related bundle
Social Media Command Center
7 hand-picked workflows for $29.00.
That is $4.14 each, vs $14.99 for this one alone.
View bundleSecure checkout powered by Stripe
Tags
Support
How to import this workflow into n8n
- 1Purchase or download the workflow to get the n8n workflow JSON file.
- 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
- 3Open each node marked with a credential warning and connect your own accounts and API keys.
- 4Run the workflow once manually to verify the data flow, then toggle it to Active.
Related Social Media workflows
- Generate & Auto-Post AI Videos to Social Media with Veo3 and Blotato$14.99
- Automate AI-Driven Social Media Content Creation and Publishing$24.99
- Automate Viral TikTok Cloning and Multi-Platform Posting with AI$19.99
- Automate LinkedIn Content Creation and Publishing via Email with AI$24.99
- Automate Social Media Posts Using Google Trends and AI$14.99
- Automate Video Captioning and Posting to Instagram and TikTok$14.99
More from Mateusz Rasmussen
Need this deployed? We'll set it up for you.
Our automation experts deploy this workflow in your stack, connect your accounts, and verify it works — or build a custom solution from scratch.