Automated workflow backup with intelligent change detection using GitHub
Ready for 3.0What this workflow does
This workflow has 28 nodes and runs on a schedule (every hour). Along the way it connects GitHub and Telegram.
How it runs
Trigger: On a schedule (every hour).
- Configuration (Edit Fields (Set)): sets or maps fields
- Assert GitHub config (If): checks a condition and branches into true / false
- Get all workflows (n8n): uses n8n
- List files (GitHub): list (file)
- Stop on empty config (Stop and Error): stops the run with an error
- Encode N8N workflows (Code): runs custom JavaScript code
- Get files (GitHub): get (file)
- Merge: merges the data from its input branches
- Extract workflow parameters (Code): runs custom JavaScript code
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
…plus 16 more steps. See the full node list below.
Services it uses
Other GitHub + Telegram templates (22)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (12)
- Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - GitHub
n8n-nodes-base.github - Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n
n8n-nodes-base.n8n - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Telegram
n8n-nodes-base.telegram - No Operation, do nothing
n8n-nodes-base.noOp - Stop and Error
n8n-nodes-base.stopAndError - Switch
n8n-nodes-base.switch - Edit Fields (Set)
n8n-nodes-base.set
From the author
Advanced n8n Workflow Sync with GitHub A robust workflow to back up and synchronize your n8n workflows to a GitHub repository, with intelligent change detection and support for file renames. 🎯 Who's it for? This workflow is for n8n administrators,…