部署后使用n8n API自动启动标记工作流
初级
这是一个Engineering领域的自动化工作流,包含 5 个节点。主要使用 If、N8n、ManualTrigger 等节点。 部署后使用n8n API自动启动标记工作流
前置要求
- •无特殊前置要求,导入即可使用
使用的节点 (5 个)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"nodes": [
{
"id": "142277c6-73a5-4b99-9e94-72655bbe0ea8",
"name": "n8n",
"type": "n8n-nodes-base.n8n",
"position": [
-420,
-120
],
"parameters": {
"filters": {},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "4v19HuBPwx43oswi",
"name": "n8n account"
}
},
"typeVersion": 1
},
{
"id": "6adf03cb-4194-4616-99d0-6495a660c283",
"name": "标签?自动启动",
"type": "n8n-nodes-base.if",
"position": [
-180,
-120
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "03241d00-9ec1-4215-8036-2d219a7874cb",
"operator": {
"type": "array",
"operation": "contains",
"rightType": "any"
},
"leftValue": "={{ $json.tags.map((obj) => obj.name) }}",
"rightValue": "Auto start"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "8bd4868a-6dec-48b9-8593-36badf42d7ff",
"name": "n8n1",
"type": "n8n-nodes-base.n8n",
"position": [
100,
-120
],
"parameters": {
"operation": "activate",
"workflowId": {
"__rl": true,
"mode": "id",
"value": "={{ $json.id }}"
},
"requestOptions": {}
},
"credentials": {
"n8nApi": {
"id": "4v19HuBPwx43oswi",
"name": "n8n account"
}
},
"typeVersion": 1
},
{
"id": "c2b7a716-ab5f-4e49-b340-eab6721c52e4",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-640,
-120
],
"parameters": {},
"typeVersion": 1
},
{
"id": "0090a343-73fd-4c53-b80b-27dd2789a849",
"name": "便签说明4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-680,
-580
],
"parameters": {
"color": 5,
"width": 620,
"height": 420,
"content": "# 自动启动器"
},
"typeVersion": 1
}
],
"connections": {
"n8n": {
"main": [
[
{
"node": "TAG? Auto start",
"type": "main",
"index": 0
}
]
]
},
"TAG? Auto start": {
"main": [
[
{
"node": "n8n1",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "n8n",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个初级难度的工作流,适用于Engineering等场景。适合 n8n 新手,包含 1-5 个节点的简单工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
LLM追踪器
全面的LLM使用追踪器和成本监控器,带节点级分析
If
N8n
Set
+6
18 节点Amir Safavi-Naini
Engineering
基于 Bright Data MCP 的 AI Telegram 数据提取机器人
集成 Bright Data MCP 的 AI Telegram 数据提取机器人
If
N8n
Wait
+11
21 节点Cyril Nicko Gaspar
Engineering
n8n 工作流节点重命名器 by UpFastAI
使用 AI (Gemini/Claude) 自动重命名工作流节点以提高可读性
N8n
Set
Code
+6
12 节点Dr. Christoph Schorsch
Engineering
汉诺塔
使用子工作流实现递归算法:汉诺塔演示
If
Set
Code
+4
21 节点Adrian
Engineering
从 Figma 同步 Android drawable 资源到 GitHub
通过 PR 将 Android drawable 资源从 Figma 同步至 GitHub(多密度 PNG)
If
Code
Merge
+3
14 节点WeblineIndia
Engineering
n8n_8_Revit_IFC_DWG转换_提取阶段_解析XLSX
提取并解析Revit模型数据至结构化Excel格式
If
Set
Manual Trigger
+4
13 节点Artem Boiko
Engineering
工作流信息
难度等级
初级
节点数量5
分类1
节点类型4
作者
Klaasjan te Voortwis
@voortwisHosting to Backend to Frontend engineer, creating software that works for People, listening to the workforce and management.
外部链接
在 n8n.io 上查看 →
分享此工作流