Skip to content

内置集成#

¥Built-in integrations

本节包含 node 库:n8n 中每个内置节点及其凭据的参考文档。

¥This section contains the node library: reference documentation for every built-in node in n8n, and their credentials.

Node operations: Triggers and Actions#

When you add a node to a workflow, n8n displays a list of available operations. An operation is something a node does, such as getting or sending data.

There are two types of operation:

  • Triggers start a workflow in response to specific events or conditions in your services. When you select a Trigger, n8n adds a trigger node to your workflow, with the Trigger operation you chose pre-selected. When you search for a node in n8n, Trigger operations have a bolt icon Trigger icon.
  • Actions are operations that represent specific tasks within a workflow, which you can use to manipulate data, perform operations on external systems, and trigger events in other systems as part of your workflows. When you select an Action, n8n adds a node to your workflow, with the Action operation you chose pre-selected.

核心节点#

¥Core nodes

核心节点可以是操作或 triggers。大多数节点连接到特定的外部服务,而核心节点则提供逻辑、调度或通用 API 调用等功能。

¥Core nodes can be actions or triggers. Whereas most nodes connect to a specific external service, core nodes provide functionality such as logic, scheduling, or generic API calls.

集群节点#

¥Cluster nodes

Cluster nodes are node groups that work together to provide functionality in an n8n workflow. Instead of using a single node, you use a root node and one or more sub-nodes that extend the functionality of the node.

Screenshot of a workflow with a root node and two sub-nodes

凭据#

¥Credentials

外部服务需要一种方法来识别和验证用户身份。此数据范围很广,从 API 密钥、电子邮件/密码组合到包含多行信息的长私钥都包含在内。你可以将这些信息以 credentials 的形式保存到 n8n 中。

¥External services need a way to identify and authenticate users. This data can range from an API key over an email/password combination to a long multi-line private key. You can save these in n8n as credentials.

n8n 中的节点可以请求凭据信息。为了进一步增强安全性,只有具有特定访问权限的节点类型才能访问凭据。

¥Nodes in n8n can then request that credential information. As another layer of security, only node types with specific access rights can access the credentials.

为了确保数据安全,数据将以加密形式保存到数据库中。n8n 使用随机生成的个人加密密钥,该密钥会在 n8n 首次运行时自动生成并保存在 ~/.n8n/config 下。

¥To make sure that the data is secure, it gets saved to the database encrypted. n8n uses a random personal encryption key, which it automatically generates on the first run of n8n and then saved under ~/.n8n/config.

要了解有关创建、管理和共享凭据的更多信息,请参阅 管理凭据

¥To learn more about creating, managing, and sharing credentials, refer to Manage credentials.

社区节点#

¥Community nodes

n8n 支持社区构建的自定义节点。请参阅 社区节点 以了解有关安装和使用这些节点的指导。

¥n8n supports custom nodes built by the community. Refer to Community nodes for guidance on installing and using these nodes.

有关构建自定义节点并将其发布到 npm 的帮助,请参阅 创建节点 以获取更多信息。

¥For help building your own custom nodes, and publish them to npm, refer to Creating nodes for more information.