Developer & DevOps
Automated scheduled backups of N8N workflows to GitHub
17 nodes
310
131
Scheduled trigger
Workflow Description
Automated workflow that creates regular backups of N8N configurations and stores them in a GitHub repository on a schedule. Processes workflow data in batches, applies conditional logic, and executes custom code for compression and validation before pushing to the repository.
How it works
- 1.Execute backup automation on a predefined schedule
- 2.Retrieve active workflow configurations from N8N
- 3.Process retrieved data in separate batches
- 4.Evaluate backup conditions and readiness checks
- 5.Execute custom code to prepare and compress backup data
- 6.Push backup version to GitHub repository
Use cases
- Maintain version history and disaster recovery capability for critical workflows
- Enable quick restoration of workflows after accidental deletion or corruption
- Track workflow changes and modifications over time
Requirements
- GitHub repository with push access credentials
- N8N API authentication token or credentials
- Appropriate scheduling interval for backup frequency
Service Value
Ready-made workflow template for automation delivery and service execution.
Apps Used
GitHub
N8N
Split In Batches
Details
Trigger
Scheduled trigger
Nodes
17
Apps
3
Views
310
Downloads
131
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 (17)
/
GitHub
Github
Globals
Set
n8n
N8N
Loop Over Items
Split In Batches
If
If
If1
If
Code
Code
Create new file and commit
Github
Update file content and commit
Github
Schedule Trigger
Schedule Trigger
Sticky Note
Sticky Note
Sticky Note1
Sticky Note
Sticky Note2
Sticky Note
Sticky Note3
Sticky Note
Sticky Note4
Sticky Note
Sticky Note5
Sticky Note
Sticky Note6
Sticky Note