Automated daily workflow backup to GitHub
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 10 nodes and runs on a schedule (every day). Along the way it connects GitHub.
How it runs
Trigger: On a schedule (every day).
- List files from repo (GitHub): list (file)
- Aggregate: combines items into one
- Retrieve workflows (n8n): uses n8n
- Json file (Convert to File): converts data to a file (to json)
- To base (Extract from File): extracts data from a file (binary to propery)
- Commit date & file name (Edit Fields (Set)): sets 2 fields: commitDate, fileName
- Check if file exists (If): checks a condition and branches into true / false
- Update file (GitHub): edit (file)
- Upload file (GitHub): work with file
Services it uses
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.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - n8n
n8n-nodes-base.n8n - Aggregate
n8n-nodes-base.aggregate - GitHub
n8n-nodes-base.github - If
n8n-nodes-base.if - Convert to File
n8n-nodes-base.convertToFile - Extract from File
n8n-nodes-base.extractFromFile - Edit Fields (Set)
n8n-nodes-base.set
From the author
This workflow provides a robust solution for automatically backing up all your n8n workflows to a designated GitHub repository on a daily basis. By leveraging the n8n API and GitHub API, it ensures your workflows are version-controlled and securely stored,…