Back up workflows to Google Drive daily with automatic cleanup
Ready for 3.0What this workflow does
This workflow has 13 nodes and runs on a schedule (every day at 04:00) (plus 1 other trigger). Along the way it connects Google Drive. It also calls noiton.atendon.com.br over HTTP.
How it runs
Trigger: On a schedule (every day at 04:00) (plus 1 other trigger).
- Create folder (Google Drive): work with folder
- get folder (Google Drive): work with file folder
- Format data (Edit Fields (Set)): sets 2 fields: data, id
- Check date (Date & Time): formats or calculates dates
- apiN8N (HTTP Request): calls noiton.atendon.com.br
- >15d (If): checks a condition and branches into true / false
- Split (Code): runs custom JavaScript code
- Delete folder (Google Drive): delete folder
- ConvertToJson (Convert to File): converts data to a file (to json)
- 5s (Wait): pauses before continuing
…plus 1 more step. See the full node list below.
Services it uses
HTTP calls to: noiton.atendon.com.br
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 (9)
- If
n8n-nodes-base.if - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Google Drive
n8n-nodes-base.googleDrive - Convert to File
n8n-nodes-base.convertToFile - HTTP Request
n8n-nodes-base.httpRequest - Wait
n8n-nodes-base.wait - Code
n8n-nodes-base.code - Date & Time
n8n-nodes-base.dateTime - Edit Fields (Set)
n8n-nodes-base.set
From the author
This workflow automatically creates daily backups of all n8n workflows and stores them in Google Drive, using the n8n API to export workflows and a scheduled retention policy to keep storage organized. The automation runs in two stages: backup and cleanup.…