INST安装程序
高级
这是一个DevOps领域的自动化工作流,包含 31 个节点。主要使用 If, N8n, Set, Code, Merge 等节点。 打包部署多个n8n工作流 - 含自动凭证映射
前置要求
- •GitHub Personal Access Token
- •可能需要目标 API 的认证凭证
使用的节点 (31)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"name": "INST_安装程序",
"nodes": [
{
"id": "eb8eccf7-c27b-4143-923c-be89fd9993d1",
"name": "当点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
80,
368
],
"parameters": {},
"typeVersion": 1
},
{
"id": "80bdf586-cb19-4ea6-9c9c-c1ee6c4171c4",
"name": "安装程序数据",
"type": "n8n-nodes-base.set",
"position": [
1616,
368
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "7ced4f8b-ccea-4327-9211-347dd34843a3",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "091a97f2-d7ad-4212-8ba5-5390c048c695",
"name": "转换为文件",
"type": "n8n-nodes-base.convertToFile",
"position": [
1792,
368
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "49399999-ab2c-4788-a284-36617e17aae2",
"name": "提取工作流",
"type": "n8n-nodes-base.set",
"position": [
2992,
432
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "34175484-8ee8-4877-a0e2-c9fc6ef3515f",
"name": "创建工作流",
"type": "n8n-nodes-base.n8n",
"position": [
3168,
432
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6f8f030b-0000-43a5-988c-563f14b0a43c",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
272,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "18c468c7-c0be-4207-9676-8ba1a7fdbe19",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4ca0cf02-f2cd-4779-a613-3e71a7a17b97",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1536,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "84b479c4-75f1-44af-811b-146dab17b0d5",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
2704,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f7e50f01-b6bc-41b7-882e-4bb6606e1706",
"name": "遍历工作流",
"type": "n8n-nodes-base.splitInBatches",
"position": [
2800,
304
],
"parameters": {},
"typeVersion": 3
},
{
"id": "63c79b2b-8235-4150-b0d8-c1c395bbe090",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
4000,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "43f0241d-e0c0-462e-b439-785da8384780",
"name": "解压工作流",
"type": "n8n-nodes-base.extractFromFile",
"notes": "Extract JSON from base64\n",
"position": [
1968,
368
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "7b32a5b4-b02e-46eb-8ffc-308eabd7b4c0",
"name": "分割工作流",
"type": "n8n-nodes-base.splitOut",
"position": [
2160,
368
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4fb5e073-c873-4440-bab5-5f2ea4e29ee0",
"name": "如果存在3个凭据",
"type": "n8n-nodes-base.if",
"position": [
1104,
464
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "573b0344-d6ab-4699-973e-7f17fbb07e39",
"name": "停止并报错",
"type": "n8n-nodes-base.stopAndError",
"position": [
1392,
912
],
"parameters": {},
"typeVersion": 1
},
{
"id": "eb0f9869-1342-4c2a-a7b5-4c823758149e",
"name": "Github 凭据",
"type": "n8n-nodes-base.github",
"notes": "Configure this.",
"position": [
528,
368
],
"webhookId": "3bf481a2-092d-4751-80d8-bf2c3feae97f",
"parameters": {},
"notesInFlow": true,
"typeVersion": 1.1
},
{
"id": "8b2d39ea-5c13-4ee5-8387-47e6ad429ef7",
"name": "OpenAi 凭据",
"type": "n8n-nodes-base.httpRequest",
"notes": "Configure this.",
"position": [
352,
368
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 4.2
},
{
"id": "a98ee951-9528-43c6-9831-9b44b7ec390c",
"name": "n8n 凭据",
"type": "n8n-nodes-base.n8n",
"notes": "Configure this.",
"position": [
704,
368
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 1
},
{
"id": "dd6b2684-9e90-4338-9228-66768d0e3693",
"name": "凭据字典",
"type": "n8n-nodes-base.set",
"notes": "Create Dictionary",
"position": [
912,
464
],
"parameters": {},
"notesInFlow": true,
"typeVersion": 3.3
},
{
"id": "9f78fcd9-e4c7-4993-82c6-9e053173df72",
"name": "修复凭据",
"type": "n8n-nodes-base.code",
"position": [
2448,
368
],
"parameters": {},
"typeVersion": 2
},
{
"id": "161c0218-fc6c-469c-9353-e55ba1529af9",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
2336,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e8cd60bd-82ed-45c8-890a-d85e6b690b24",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1344,
720
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "8d808702-a8e6-4a06-8398-ea90f233d92a",
"name": "移动到项目",
"type": "n8n-nodes-base.httpRequest",
"position": [
3600,
400
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "9eac3572-8225-434d-b433-4553f0150068",
"name": "提取项目详情",
"type": "n8n-nodes-base.set",
"position": [
912,
288
],
"parameters": {},
"executeOnce": false,
"typeVersion": 3.4
},
{
"id": "96759220-a85e-4ad4-82d3-b7e93b4ad6e2",
"name": "合并",
"type": "n8n-nodes-base.merge",
"position": [
1328,
368
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "e464566a-c0d9-4a0f-be27-24b37684ac41",
"name": "空操作",
"type": "n8n-nodes-base.noOp",
"position": [
3776,
496
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0445d4af-09f2-45f9-bf61-8440ed85941c",
"name": "便签 10",
"type": "n8n-nodes-base.stickyNote",
"position": [
3360,
144
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b7b9b0f9-9d95-4195-b0d8-c20e15efc84f",
"name": "安装成功1",
"type": "n8n-nodes-base.noOp",
"position": [
4256,
416
],
"parameters": {},
"typeVersion": 1
},
{
"id": "56507322-65e3-455d-b070-ab7bd482c772",
"name": "完成",
"type": "n8n-nodes-base.noOp",
"position": [
3776,
288
],
"parameters": {},
"typeVersion": 1
},
{
"id": "86653aa3-cb03-440c-a083-1f146878c75d",
"name": "如果项目存在",
"type": "n8n-nodes-base.if",
"position": [
3392,
480
],
"parameters": {},
"typeVersion": 2.2
}
],
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"connections": {
"Done": {
"main": [
[
{
"node": "Install Success1",
"type": "main",
"index": 0
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Installer Data",
"type": "main",
"index": 0
}
]
]
},
"No Op": {
"main": [
[
{
"node": "Loop Over Workflows",
"type": "main",
"index": 0
}
]
]
},
"If Project": {
"main": [
[
{
"node": "Move to Project",
"type": "main",
"index": 0
}
],
[
{
"node": "No Op",
"type": "main",
"index": 0
}
]
]
},
"Installer Data": {
"main": [
[
{
"node": "Convert to File",
"type": "main",
"index": 0
}
]
]
},
"Convert to File": {
"main": [
[
{
"node": "Decompress Workflows",
"type": "main",
"index": 0
}
]
]
},
"Create Workflow": {
"main": [
[
{
"node": "If Project",
"type": "main",
"index": 0
}
]
]
},
"Fix Credentials": {
"main": [
[
{
"node": "Loop Over Workflows",
"type": "main",
"index": 0
}
]
]
},
"Move to Project": {
"main": [
[
{
"node": "No Op",
"type": "main",
"index": 0
}
]
]
},
"Split Workflows": {
"main": [
[
{
"node": "Fix Credentials",
"type": "main",
"index": 0
}
]
]
},
"n8n Credentials": {
"main": [
[
{
"node": "Credential Dictionary",
"type": "main",
"index": 0
},
{
"node": "Extract Project Details",
"type": "main",
"index": 0
}
]
]
},
"Extract Workflow": {
"main": [
[
{
"node": "Create Workflow",
"type": "main",
"index": 0
}
]
]
},
"If 3 Credentials": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
],
[
{
"node": "Stop and Error",
"type": "main",
"index": 0
}
]
]
},
"Github Credentials": {
"main": [
[
{
"node": "n8n Credentials",
"type": "main",
"index": 0
}
]
]
},
"OpenAi Credentials": {
"main": [
[
{
"node": "Github Credentials",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Workflows": {
"main": [
[
{
"node": "Done",
"type": "main",
"index": 0
}
],
[
{
"node": "Extract Workflow",
"type": "main",
"index": 0
}
]
]
},
"Decompress Workflows": {
"main": [
[
{
"node": "Split Workflows",
"type": "main",
"index": 0
}
]
]
},
"Credential Dictionary": {
"main": [
[
{
"node": "If 3 Credentials",
"type": "main",
"index": 0
}
]
]
},
"Extract Project Details": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "OpenAi Credentials",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 开发运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
自动化n8n工作流备份至GitHub并追踪删除
自动化n8n工作流备份至GitHub并追踪删除
If
N8n
Set
+13
31 节点Marcial Ambriz
开发运维
Typebot 流程与 GitHub 双向同步,使用 Typebot API
Typebot 流程与 GitHub 双向同步,使用 Typebot API
If
Set
Code
+12
31 节点Marcial Ambriz
开发运维
GitHub 同步仪表板 - V2
具有提交历史和回滚功能的 GitHub 工作流版本控制仪表板
If
N8n
Set
+20
94 节点Eduard
开发运维
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
高级 n8n 工作流与 GitHub 同步
使用 GitHub 的智能变更检测自动化工作流备份
If
N8n
Set
+10
38 节点Maksym Brashenko
开发运维
PDF 转订单
使用AI将PDF采购订单自动化转换为Adobe Commerce销售订单
If
Set
Code
+19
96 节点JKingma
文档提取