Back up workflows to Google Drive daily with automatic cleanup
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 ...
Template notes
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.
Daily Backup Process
A Schedule Trigger runs at a defined time each day.
The workflow creates a folder in Google Drive using the current date.
It calls the n8n API to retrieve the list of all workflows.
Each workflow is processed individually and converted into a .json file.
The files are uploaded to the daily backup folder in Google Drive.