Auto-Start Tagged Workflows Using n8n API after Deployment — n8n 工作流

复杂度 触发器4 个节点💎 Other👁 106 次查看作者:Klaasjan te Voortwis

概览

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

工作流预览

Auto Starter
On importing workflows these will not be auto started,
N
n8n
T
TAG? Auto start
N
n8n1
W
When clicking ‘Test work…
4 nodes3 edges

工作原理

  1. 1

    触发器

    工作流由 触发器 触发器启动。

  2. 2

    处理

    数据流经 4 个节点, connecting if, manualtrigger, n8n。

  3. 3

    输出

    工作流完成自动化并将结果发送到配置的目标。

节点详情 (4)

N8

n8n1

n8n

#1
TA

TAG? Auto start

if

#2
WH

When clicking ‘Test workflow’

manualTrigger

#3
ST

Sticky Note4

stickyNote

#4

如何导入此工作流

  1. 1点击右侧 下载 JSON 按钮保存工作流文件。
  2. 2打开你的 n8n 实例,依次点击 工作流 → 新建 → 从文件导入
  3. 3选择下载的 auto-start-tagged-workflows-using-n8n-api-after-deployment 文件并点击导入。
  4. 4为每个服务节点配置 凭证(API 密钥、OAuth 等)。
  5. 5点击 测试工作流 验证一切正常,然后激活它。

或直接在 n8n → 从 JSON 导入 中粘贴:

{ "name": "Auto-Start Tagged Workflows Using n8n API after Deployment", "nodes": [...], ...}

集成

ifmanualtriggern8n

获取此工作流

一键下载并导入

下载 JSON在 n8n.io 上查看
节点4
复杂度low
触发器trigger
查看次数106
分类Other

创建者

Klaasjan te Voortwis

Klaasjan te Voortwis

@voortwis

标签

ifmanualtriggern8n

n8n 新手?

n8n 是一款免费开源的工作流自动化工具,支持自托管或使用云版本。

免费获取 n8n →