工作流触发器节点#
¥Workflow Trigger node
工作流触发器节点会在工作流更新或激活时触发。
¥The Workflow Trigger node gets triggered when a workflow is updated or activated.
Deprecated
n8n 已弃用“工作流触发器”节点,并将其功能移至 n8n 触发节点。
¥n8n has deprecated the Workflow Trigger node and moved its functionality to the n8n Trigger node.
Keep in mind
如果你想在工作流中使用“工作流触发器”节点,请将该节点添加到工作流中。你无需创建单独的工作流。
¥If you want to use the Workflow Trigger node for a workflow, add the node to the workflow. You don't have to create a separate workflow.
工作流触发器节点会在添加到该工作流时触发。你可以使用工作流触发器节点来触发工作流并通知工作流的状态。
¥The Workflow Trigger node gets triggered for the workflow that it gets added to. You can use the Workflow Trigger node to trigger a workflow to notify the state of the workflow.
节点参数#
¥Node parameters
该节点包含一个参数,用于标识触发它的事件。选择以下事件:
¥The node includes a single parameter to identify the Events that should trigger it. Choose from these events:
- 活动:如果你选择此事件,则节点会在此工作流更新时触发。
¥Active Workflow Updated: If you select this event, the node triggers when this workflow is updated.
- 工作流已激活:如果你选择此事件,则节点会在此工作流激活时触发。
¥Workflow Activated: If you select this event, the node triggers when this workflow is activated.
你可以选择以下一个或两个事件。
¥You can select one or both of these events.
模板和示例#
¥Templates and examples