Backup all n8n workflows to Google Drive every 4 hours
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). Along the way it connects Google Drive.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- create new folder (Google Drive): work with folder
- n8n: uses n8n
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Get folders (Google Drive): work with file folder
- Convert to File: converts data to a file (to json)
- Filter: keeps only the items that match a condition
- Google Drive: uses Google Drive
- delete folder (Google Drive): delete folder
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 (7)
- Manual Trigger
n8n-nodes-base.manualTrigger - n8n
n8n-nodes-base.n8n - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Google Drive
n8n-nodes-base.googleDrive - Convert to File
n8n-nodes-base.convertToFile - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Filter
n8n-nodes-base.filter
From the author
This workflow takes off the task of backing up workflows regularly on Github and uses Google Drive as the main tool to host these. This can be a good way to keep track of your workflows so that you never lose any workflows in case your n8n goes down. How does…