Skip to content

节点类型:触发器和动作(Node types: Trigger and Action)#

你可以为 n8n 构建两种节点类型:触发节点和操作节点。

🌐 There are two node types you can build for n8n: trigger nodes and action nodes.

两种类型都提供与外部服务的集成。

🌐 Both types provide integrations with external services.

触发器节点(Trigger nodes)#

触发节点 启动工作流并提供初始数据。一个工作流可以包含多个触发节点,但在每次执行时,只有其中一个节点会执行,这取决于触发事件。

n8n 中有三种触发节点类型:

🌐 There are three types of trigger nodes in n8n:

| 类型 | 描述 | 示例节点 |

| --- | --- | --- |

| Webhook | 支持 Webhook 的服务节点。这些节点监听事件并实时触发工作流。 | Zendesk 触发器, Telegram 触发器, Brevo 触发器 |

| 轮询 | 用于不支持 Webhooks 的服务的节点。这些节点会定期检查新数据,当检测到更新时触发工作流。 | Airtable 触发器, Gmail 触发器, Google 表格 触发器, RSS Feed 读取触发器 |

| 其他 | 处理与 HTTP 请求或轮询无关的实时响应的节点。这包括消息队列节点和基于时间的触发器。 | AMQP 触发器, RabbitMQ 触发器, MQTT 触发器, 定时触发器, 电子邮件触发器 (IMAP) |

操作节点(Action nodes)#

操作节点在工作流中执行操作。这些操作可以包括处理数据以及触发其他系统中的事件。

🌐 Action nodes perform operations as part of your workflow. These can include manipulating data, and triggering events in other systems.