Backup workflows to git repository
Backup workflows to git repository
Scheduled
High
17
Nodes
Scheduled
Trigger
High
Complexity
7/22/2025
Added
Workflow Overview
Total Nodes
17
Node Types
8
Node Types
github
GitHub, Create new file and commit, Update file content and commit
3 nodes
set
Globals
1 node
n8n
n8n
1 node
split In Batches
Loop Over Items
1 node
if
If, If1
2 nodes
code
Code
1 node
schedule Trigger
Schedule Trigger
1 node
sticky Note
Sticky Note, Sticky Note1, Sticky Note2, Sticky Note3, Sticky Note4, Sticky Note5, Sticky Note6
7 nodes
Workflow JSON
10.65 KB
{
"name": "Backup workflows to git repository",
"nodes": [
{
"id": "b09ae4c6-ad75-4b3b-a78a-4cc2d48b2d24",
"name": "GitHub",
"type": "n8n-nodes-base.github",
"position": [
-40,
-20
],
"parameters": {
"owner": "={{$node[\"Globals\"].json[\"repo\"][\"owner\"]}}",
"filePath": "={{$node[\"Globals\"].json[\"repo\"][\"path\"]}}{{$json[\"name\"]}}.json",
"resource": "file",
"operation": "get",
"repository": "={{$node[\"Globals\"].json[\"repo\"][\"name\"]}}",
"asBinaryProperty": false,
"additionalParameters": {}
},
"credentials": {
"githubApi": {
"id": "lSdxakI6ik5M2np2",
"name": "Shashikanth | GitHub account"
}
},
"typeVersion": 1,
"continueOnFail": true,
"alwaysOutputData": true
},
{
"id": "639582ef-f13e-4844-bd10-647718079121",
"name": "Globals",
"type": "n8n-nodes-base.set",
...Showing first 1000 characters. Click "Expand" to view the full JSON.