Block 1 - Loop Over Data
- Type / Role
- n8n-nodes-base.splitInBatches - splitInBatches
- Config choices
- Version 3
This workflow is provided as-is. Please review and test before using in production.
What problem does this workflow solve? If you're using a self hosted n8n instance, there's no built in version history or undo for your workflows. If a workflow is accidentally modified or delete...
n8n-nodes-base.splitinbatches, n8n-nodes-base.scheduletrigger, n8n-nodes-base.n8n, n8n-nodes-base.googlesheets, n8n-nodes-base.googledrive, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.set
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by InfyOm Technologies.
Original n8n.io sourceIf you're using a self-hosted n8n instance, there's no built-in version history or undo for your workflows. If a workflow is accidentally modified or deleted, there's no way to roll back. This backup workflow solves that problem by automatically syncing your workflows to Google Drive, giving you version control and peace of mind.
n8n-workflow-backups) where backups will be stored.Authorization: Bearer <your_token>
Scheduled Trigger
Fetch All Workflows
/workflows) to retrieve a list of all existing workflows.Loop Through Workflows
Smart Change Detection
.json file is uploaded to the corresponding folder.YYYY-MM-DD-HH-mm-ss.json) to maintain a versioned history.Backups are neatly organized by workflow and version:
/n8n-workflow-backups/
βββ google-drive-backup-KqhdMBHIyAaE7p7v/
β βββ 2025-07-15-13-03-32.json
β βββ 2025-07-14-03-08-12.json
βββ resume-video-avatar-KqhdMBHIyAaE8p8vr/
β βββ 2025-07-15-23-05-52.json
Each folder is named after the workflow's name+id and contains timestamped versions.
π
Change Backup Frequency
Adjust the Cron node to run backups daily, weekly, or even hourly based on your needs.
π€ Use a Different Storage Provider
You can swap out Google Drive for Dropbox, S3, or another cloud provider with minimal changes.
π§ͺ Add Workflow Filtering
Only back up workflows that are active or match specific tags by filtering results from the n8n API.
.json file (based on the date).> You can choose to overwrite an existing workflow or import it as a new one.
This template is ideal for:
Consider enabling version history in Google Drive so you get even more fine-grained backup recovery options on top of what this workflow provides!
Just plug in your n8n token, connect Google Drive, and schedule your backups. Your workflows are now protected!
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated workflow backups from self-hosted n8n to Google Drive with version history |
|---|---|
| Complexity | advanced |
| Nodes | 16 |
| Categories | DevOps |
| Author | InfyOm Technologies |
| Published | 09 Jul 2025 |
Use the JSON export at /data/workflows/5802/5802.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
What problem does this workflow solve? If you're using a self hosted n8n instance, there's no built in version history or undo for your workflows. If a workflow is accidentally modified or delete...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your DevOps use case.