Daily n8n Workflow Backup
Automatically backs up all workflows to Google Drive daily.
How it works
- Triggers daily at 11 PM (or manually on demand)
- Creates a timestamped backup folder in Google Drive
- Fetches all workflows from your n8n instance
- Converts each workflow to a JSON file
- Uploads files to the backup folder
- Automatically deletes old backup folders to save storage
Setup steps
- Ensure your n8n instance has API access enabled
- Connect your Google Drive account (OAuth2)
- Create a Google Drive folder for backups and copy its Folder ID
- Important: Open the 'Cleanup Old Backups' node and paste that Folder ID into the code