动态GitHub工作流
高级
这是一个Engineering, DevOps, IT Ops领域的自动化工作流,包含 44 个节点。主要使用 N8n, Set, Code, Html, Github 等节点。 🔄 Workflow Repos8r:n8n工作流的GitHub版本控制用户界面
前置要求
- •GitHub Personal Access Token
- •HTTP Webhook 端点(n8n 会自动生成)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "19zAOGWLxA9g9epQ",
"meta": {
"instanceId": "ba3fa76a571c35110ef5f67e5099c9a5c1768ef125c2f3b804ba20de75248c0b",
"templateCredsSetupCompleted": true
},
"name": "Dynamic GitHub Workflows",
"tags": [
{
"id": "n7iHVPoDy5TG4oVr",
"name": "utility",
"createdAt": "2025-01-14T14:58:44.872Z",
"updatedAt": "2025-01-14T14:58:44.872Z"
}
],
"nodes": [
{
"id": "077b5015-2b26-44ac-aac7-a868a7ab9647",
"name": "n8n | get wf1",
"type": "n8n-nodes-base.n8n",
"position": [
2240,
1440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8b048484-3aba-4e7a-99f3-d11cd76a0fda",
"name": "Respond with UI",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3820,
760
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe",
"name": "HTML-UI",
"type": "n8n-nodes-base.html",
"position": [
3540,
760
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "eb55c132-b001-463c-bca7-7e7850f3dffb",
"name": "Webhook-ideogener8r",
"type": "n8n-nodes-base.webhook",
"position": [
1680,
760
],
"webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
"parameters": {},
"typeVersion": 2
},
{
"id": "9f89ec58-5f63-4358-82a8-8ee5263f09c3",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
660
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "121f6666-7731-40e0-93a4-4599197305c2",
"name": "Set Flows",
"type": "n8n-nodes-base.set",
"position": [
2920,
760
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "eb1a073b-8353-494c-9711-1bc40d1b0ee3",
"name": "Aggregate",
"type": "n8n-nodes-base.aggregate",
"position": [
3260,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6b40c70a-3592-4ecf-9311-99bc39b9ff63",
"name": "GitHub",
"type": "n8n-nodes-base.github",
"position": [
2640,
760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4b4e4846-cbb6-4ab0-aad4-d7de542568e1",
"name": "submit-form",
"type": "n8n-nodes-base.webhook",
"position": [
1680,
1900
],
"webhookId": "d541171c-731e-4104-ac30-6a32f2c0af03",
"parameters": {},
"typeVersion": 2
},
{
"id": "da4b75e6-1cf0-43d6-8994-9c920669f7a7",
"name": "Respond to Webhook",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3820,
1100
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "87a1185f-9f9f-401d-818c-b4f52e12dd82",
"name": "GitHub2",
"type": "n8n-nodes-base.github",
"position": [
2140,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "3fb50870-df6a-4e0c-b9e8-c1f94e86728f",
"name": "Set GH Repo and Path3",
"type": "n8n-nodes-base.set",
"position": [
1940,
1100
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "85ed78b0-d257-4164-b8d1-753ebd1f2e3a",
"name": "Extract from File",
"type": "n8n-nodes-base.extractFromFile",
"position": [
2360,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa",
"name": "Set Git Workflow Id",
"type": "n8n-nodes-base.set",
"position": [
2640,
1100
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a803bd8f-809b-4955-9e89-1586abcbf00c",
"name": "Get n8n Workflow",
"type": "n8n-nodes-base.n8n",
"position": [
2940,
1100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a2f799b5-5325-4820-969f-be0949e563b8",
"name": "Set n8n Workflow",
"type": "n8n-nodes-base.set",
"position": [
3260,
1100
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "755eaa25-fb21-4df5-8cf9-36f4c530e5c9",
"name": "ComapreNodes",
"type": "n8n-nodes-base.code",
"position": [
3540,
1100
],
"parameters": {},
"typeVersion": 2
},
{
"id": "8d77291b-d517-4321-9c72-d0287fab1c52",
"name": "Respond to Webhook1",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3820,
1760
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4",
"name": "Get-n8n-workflows",
"type": "n8n-nodes-base.webhook",
"position": [
1680,
1440
],
"webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
"parameters": {},
"typeVersion": 2
},
{
"id": "9b71c203-6c9a-4798-ae9e-c6f1ff14d633",
"name": "Respond to Webhook2",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3820,
1440
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "ebbd2611-27e9-48c4-8224-6e18a59cf5c3",
"name": "Get-Workflow-Changes",
"type": "n8n-nodes-base.webhook",
"position": [
1680,
1100
],
"webhookId": "e892f1af-d192-40e1-9c27-7fda6539d911",
"parameters": {},
"typeVersion": 2
},
{
"id": "f768d245-9f92-4232-9b8f-381cb18e609c",
"name": "SetWorkflows",
"type": "n8n-nodes-base.set",
"position": [
2680,
1440
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3facd854-5d61-468f-8a2a-f230ebade3ac",
"name": "Edit Fields",
"type": "n8n-nodes-base.set",
"position": [
3400,
1440
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7",
"name": "Aggregate1",
"type": "n8n-nodes-base.aggregate",
"position": [
3020,
1440
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0bfa387a-0513-4239-af6f-6cde51d374db",
"name": "Switch1",
"type": "n8n-nodes-base.switch",
"position": [
2680,
1900
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "33e97127-b0da-44d9-bcc4-43b033342c6d",
"name": "Set GH Repo and Path4",
"type": "n8n-nodes-base.set",
"position": [
2220,
1900
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "921bfed2-52c0-4da5-a208-34d445175fdb",
"name": "n8n",
"type": "n8n-nodes-base.n8n",
"position": [
3020,
1760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6a92ecd5-aa28-4224-8700-b9cd7ee82904",
"name": "Commit Workflow Edit",
"type": "n8n-nodes-base.github",
"position": [
3400,
1760
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8f88c306-08df-4b8f-9c44-8936562901f3",
"name": "n8n1",
"type": "n8n-nodes-base.n8n",
"position": [
3020,
1980
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f15b37f4-a0c2-4c27-9b22-c586cd3636cd",
"name": "Commit New File",
"type": "n8n-nodes-base.github",
"position": [
3400,
1980
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d766a2fd-b05d-4a9d-a5f9-53009c5e198b",
"name": "Respond to Webhook3",
"type": "n8n-nodes-base.respondToWebhook",
"position": [
3820,
1980
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "712e2d80-f659-4d60-95c6-342883fc6eca",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
1000
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "c569ff75-eb1b-4783-a65d-376069a43c50",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
1340
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d6d223d5-67dd-419c-9e88-9762c51ce692",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
1680
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b705cb50-b982-4d0e-ac4c-32556128fe53",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1900,
700
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ea518e3e-274a-4b1a-b0ed-06408457c77d",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1880,
1060
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b8017298-cefd-4126-8959-4515e18fb163",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2160,
1840
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "22cc7d73-c424-4ea3-bacb-0526222b1f81",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
740
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b25d9672-28cb-4c26-ac4a-7d259352de17",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
1080
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "82b3e0c7-5a7c-4cda-acc8-dc9de63ce9a3",
"name": "Sticky Note9",
"type": "n8n-nodes-base.stickyNote",
"position": [
1400,
1420
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d8bbf686-0173-4863-948d-c5cdb1dc1b76",
"name": "Sticky Note10",
"type": "n8n-nodes-base.stickyNote",
"position": [
1380,
1880
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "aa62e288-3628-40f6-ad38-54768d76dff9",
"name": "Set Workflow Variables",
"type": "n8n-nodes-base.set",
"position": [
1940,
760
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "73986aeb-c311-4acf-9427-dcfe65d6bc34",
"name": "Workflow Vars",
"type": "n8n-nodes-base.set",
"position": [
1960,
1900
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "a8c438f1-be8c-4461-b83c-ffdc612f2a04",
"name": "Sticky Note11",
"type": "n8n-nodes-base.stickyNote",
"position": [
1620,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"active": true,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "24bded7d-e0f5-4c66-b64f-f6324a5a2d35",
"connections": {
"921bfed2-52c0-4da5-a208-34d445175fdb": {
"main": [
[
{
"node": "6a92ecd5-aa28-4224-8700-b9cd7ee82904",
"type": "main",
"index": 0
}
]
]
},
"8f88c306-08df-4b8f-9c44-8936562901f3": {
"main": [
[
{
"node": "f15b37f4-a0c2-4c27-9b22-c586cd3636cd",
"type": "main",
"index": 0
}
]
]
},
"6b40c70a-3592-4ecf-9311-99bc39b9ff63": {
"main": [
[
{
"node": "121f6666-7731-40e0-93a4-4599197305c2",
"type": "main",
"index": 0
}
]
]
},
"87a1185f-9f9f-401d-818c-b4f52e12dd82": {
"main": [
[
{
"node": "85ed78b0-d257-4164-b8d1-753ebd1f2e3a",
"type": "main",
"index": 0
}
]
]
},
"2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe": {
"main": [
[
{
"node": "8b048484-3aba-4e7a-99f3-d11cd76a0fda",
"type": "main",
"index": 0
}
]
]
},
"0bfa387a-0513-4239-af6f-6cde51d374db": {
"main": [
[
{
"node": "921bfed2-52c0-4da5-a208-34d445175fdb",
"type": "main",
"index": 0
}
],
[
{
"node": "8f88c306-08df-4b8f-9c44-8936562901f3",
"type": "main",
"index": 0
}
]
]
},
"eb1a073b-8353-494c-9711-1bc40d1b0ee3": {
"main": [
[
{
"node": "2fb30621-c1fc-4e2c-bd80-5aa19e95e1fe",
"type": "main",
"index": 0
}
]
]
},
"121f6666-7731-40e0-93a4-4599197305c2": {
"main": [
[
{
"node": "eb1a073b-8353-494c-9711-1bc40d1b0ee3",
"type": "main",
"index": 0
}
]
]
},
"39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7": {
"main": [
[
{
"node": "3facd854-5d61-468f-8a2a-f230ebade3ac",
"type": "main",
"index": 0
}
]
]
},
"3facd854-5d61-468f-8a2a-f230ebade3ac": {
"main": [
[
{
"node": "9b71c203-6c9a-4798-ae9e-c6f1ff14d633",
"type": "main",
"index": 0
}
]
]
},
"4b4e4846-cbb6-4ab0-aad4-d7de542568e1": {
"main": [
[
{
"node": "73986aeb-c311-4acf-9427-dcfe65d6bc34",
"type": "main",
"index": 0
}
]
]
},
"755eaa25-fb21-4df5-8cf9-36f4c530e5c9": {
"main": [
[
{
"node": "da4b75e6-1cf0-43d6-8994-9c920669f7a7",
"type": "main",
"index": 0
}
]
]
},
"f768d245-9f92-4232-9b8f-381cb18e609c": {
"main": [
[
{
"node": "39f4fbb3-fc33-4f12-8aee-a85f4ebd3ed7",
"type": "main",
"index": 0
}
]
]
},
"73986aeb-c311-4acf-9427-dcfe65d6bc34": {
"main": [
[
{
"node": "33e97127-b0da-44d9-bcc4-43b033342c6d",
"type": "main",
"index": 0
}
]
]
},
"077b5015-2b26-44ac-aac7-a868a7ab9647": {
"main": [
[
{
"node": "f768d245-9f92-4232-9b8f-381cb18e609c",
"type": "main",
"index": 0
}
]
]
},
"f15b37f4-a0c2-4c27-9b22-c586cd3636cd": {
"main": [
[
{
"node": "d766a2fd-b05d-4a9d-a5f9-53009c5e198b",
"type": "main",
"index": 0
}
]
]
},
"a803bd8f-809b-4955-9e89-1586abcbf00c": {
"main": [
[
{
"node": "a2f799b5-5325-4820-969f-be0949e563b8",
"type": "main",
"index": 0
}
]
]
},
"a2f799b5-5325-4820-969f-be0949e563b8": {
"main": [
[
{
"node": "755eaa25-fb21-4df5-8cf9-36f4c530e5c9",
"type": "main",
"index": 0
}
]
]
},
"85ed78b0-d257-4164-b8d1-753ebd1f2e3a": {
"main": [
[
{
"node": "9ebe75fe-3e9c-4a28-8d83-1054d6c703fa",
"type": "main",
"index": 0
}
]
]
},
"c610bcb1-04c7-4b79-9fca-dd7bc5ad68f4": {
"main": [
[
{
"node": "077b5015-2b26-44ac-aac7-a868a7ab9647",
"type": "main",
"index": 0
}
]
]
},
"9ebe75fe-3e9c-4a28-8d83-1054d6c703fa": {
"main": [
[
{
"node": "a803bd8f-809b-4955-9e89-1586abcbf00c",
"type": "main",
"index": 0
}
]
]
},
"eb55c132-b001-463c-bca7-7e7850f3dffb": {
"main": [
[
{
"node": "aa62e288-3628-40f6-ad38-54768d76dff9",
"type": "main",
"index": 0
}
]
]
},
"6a92ecd5-aa28-4224-8700-b9cd7ee82904": {
"main": [
[
{
"node": "8d77291b-d517-4321-9c72-d0287fab1c52",
"type": "main",
"index": 0
}
]
]
},
"ebbd2611-27e9-48c4-8224-6e18a59cf5c3": {
"main": [
[
{
"node": "3fb50870-df6a-4e0c-b9e8-c1f94e86728f",
"type": "main",
"index": 0
}
]
]
},
"3fb50870-df6a-4e0c-b9e8-c1f94e86728f": {
"main": [
[
{
"node": "87a1185f-9f9f-401d-818c-b4f52e12dd82",
"type": "main",
"index": 0
}
]
]
},
"33e97127-b0da-44d9-bcc4-43b033342c6d": {
"main": [
[
{
"node": "0bfa387a-0513-4239-af6f-6cde51d374db",
"type": "main",
"index": 0
}
]
]
},
"aa62e288-3628-40f6-ad38-54768d76dff9": {
"main": [
[
{
"node": "6b40c70a-3592-4ecf-9311-99bc39b9ff63",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 工程, 开发运维, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
GitHub 同步仪表板 - V2
具有提交历史和回滚功能的 GitHub 工作流版本控制仪表板
If
N8n
Set
+
If
N8n
Set
94 节点Eduard
开发运维
获取所有Scaleway服务器信息副本
通过动态筛选获取Scaleway服务器信息
If
Set
Code
+
If
Set
Code
24 节点Pablo
工程
使用DeepGram和GPT-4o的音频对话分析与可视化
使用DeepGram和GPT-4o的音频对话分析与可视化
Set
Code
Html
+
Set
Code
Html
54 节点RealSimple Solutions
人工智能
CSV到JSON转换器(错误处理与Slack通知)
具有错误处理和Slack通知功能的CSV到JSON转换器
If
Set
Code
+
If
Set
Code
18 节点n8n Team
工程
🔊 浏览器录音音频转录与AI分析(使用Deepgram和GPT-4o)
🔊 浏览器录音音频转录与AI分析(使用Deepgram和GPT-4o)
Set
Code
Html
+
Set
Code
Html
54 节点RealSimple Solutions
人工智能
🦅 通过工作流仪表板全面概览您的n8n实例!
🦅 通过工作流仪表板全面概览您的n8n实例!
N8n
Set
Xml
+
N8n
Set
Xml
31 节点Eduard
开发运维