Developer & DevOps
Automated periodic backups of n8n workflows
9 nodes
290
152
Scheduled trigger
Workflow Description
Automation that periodically backs up all defined workflows from your n8n instance on a scheduled basis, processes data in batches, and transmits them via HTTP requests with error handling and delays between operations.
How it works
- 1.Trigger automation based on a predefined schedule
- 2.Retrieve complete list of workflows from n8n API endpoint
- 3.Split retrieved workflow data into manageable batches
- 4.Send each batch to backup server via HTTP request
- 5.Validate success and handle failures with conditional logic
- 6.Insert delays between requests to prevent server overload
Use cases
- Automatically schedule regular backups of n8n workflows without manual intervention
- Restore workflows quickly in case of accidental deletion or data loss
- Maintain audit trail and version history of all workflow changes
Requirements
- Valid API key with access to n8n instance
- Backup destination server or service accessible via HTTP
- Configured schedule for automated execution
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
N8N
Split In Batches
Details
Trigger
Scheduled trigger
Nodes
9
Apps
2
Views
290
Downloads
152
How to Use
- 1.Click "Download Template"
- 2.Open your n8n dashboard
- 3.Go to Workflows > Import from File
- 4.Select downloaded file and configure credentials
Nodes Used (9)
Calculate Wait Time
Code
Run Daily at 2 AM
Schedule Trigger
Get All Workflows
N8N
Loop Workflows
Split In Batches
Get Existing Worfklow from Bitbucket
HTTP Request
New or Changed?
If
Upload Workflow to Bitbucket
HTTP Request
Wait to Avoid Rate Limiting
Wait
Set Bitbucket Workspace & Repository
Set