Backup workflows to Git repository on Gitea
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 13 nodes and runs on a schedule (every 45 minutes). It uses only n8n's built-in nodes.
How it runs
Trigger: On a schedule (every 45 minutes).
- Globals (Edit Fields (Set)): sets or maps fields
- n8n: uses n8n
- ForEach (Loop Over Items (Split in Batches)): loops over the items in batches
- GetGitea (HTTP Request): calls an HTTP API
- Exist (If): checks a condition and branches into true / false
- SetDataUpdateNode (Edit Fields (Set)): sets 1 field: item
- SetDataCreateNode (Edit Fields (Set)): sets 1 field: item
- Base64EncodeUpdate (Code): runs custom Python code
- Base64EncodeCreate (Code): runs custom Python code
- Changed (If): checks a condition and branches into true / false
…plus 2 more steps. See the full node list below.
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 (7)
- Edit Fields (Set)
n8n-nodes-base.set - n8n
n8n-nodes-base.n8n - Schedule Trigger
n8n-nodes-base.scheduleTrigger - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - HTTP Request
n8n-nodes-base.httpRequest - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches
From the author
Overview This workflow automates the backup of all workflows from your system to a Git repository hosted on Gitea. It runs on a scheduled trigger, fetching, encoding, and committing workflow data, ensuring seamless version control and disaster recovery. 📌…