Automated workflow backups from self-hosted n8n to Google Drive with version history
Ready for 3.0What this workflow does
This workflow has 15 nodes and runs on a schedule (every day at 01:00). Along the way it connects Google Sheets and Google Drive.
How it runs
Trigger: On a schedule (every day at 01:00).
- Get all n8n Workflow (n8n): uses n8n
- Loop Over Data (Loop Over Items (Split in Batches)): loops over the items in batches
- Get Exits Workflow (Google Sheets): uses Google Sheets
- If: checks a condition and branches into true / false
- Append row in sheet (Google Sheets): append
- Get Flow Record (Google Sheets): uses Google Sheets
- Search Subfolder (Google Drive): work with file folder
- If: checks a condition and branches into true / false
- If: checks a condition and branches into true / false
- Create SubFolder (Google Drive): work with folder
…plus 4 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (8)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n
n8n-nodes-base.n8n - Google Sheets
n8n-nodes-base.googleSheets - Google Drive
n8n-nodes-base.googleDrive - If
n8n-nodes-base.if - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set
From the author
✅ 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 deleted, there's no way to roll back. This backup workflow solves…