Auto-Start Tagged Workflows Using n8n API after Deployment — n8n 工作流
概览
Auto Starter
On importing workflows these will not be auto started, even if the old version was running. To fix this we created this workflow that can be run after n8n starts. It fits in our auto deploy pipeline and modified n8n container that will import workflows, start n8n and start the tagged workflows.
Start this workflow after n8n starts. It will get all workflows in the running n8n instance. If the files have a tag 'Auto start' the workflow will be started.
Check our Export workflows w
使用的节点
n8n1TAG? Auto startWhen clicking ‘Test workflow’Sticky Note4
工作流预览
N
n8n
T
TAG? Auto start
N
n8n1
⚡
W
When clicking ‘Test work…
4 nodes3 edges
工作原理
- 1
触发器
工作流由 触发器 触发器启动。
- 2
处理
数据流经 4 个节点, connecting if, manualtrigger, n8n。
- 3
输出
工作流完成自动化并将结果发送到配置的目标。
节点详情 (4)
N8#1
n8n1
n8n
TA#2
TAG? Auto start
if
WH#3
When clicking ‘Test workflow’
manualTrigger
ST#4
Sticky Note4
stickyNote
如何导入此工作流
- 1点击右侧 下载 JSON 按钮保存工作流文件。
- 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入。
- 3选择下载的
auto-start-tagged-workflows-using-n8n-api-after-deployment文件并点击导入。 - 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
- 5点击 测试工作流 验证一切正常,然后激活它。
或直接在 n8n → 从 JSON 导入 中粘贴:
{ "name": "Auto-Start Tagged Workflows Using n8n API after Deployment", "nodes": [...], ...}
集成
ifmanualtriggern8n
创建者
Klaasjan te Voortwis
@voortwis
标签
ifmanualtriggern8n