Skip to content

Segment 节点#

¥Segment node

使用 Segment 节点实现 Segment 中的自动化操作,并将 Segment 与其他应用集成。n8n 内置支持 Segment 的多种功能,包括将用户添加到组、创建身份和跟踪活动。

¥Use the Segment node to automate work in Segment, and integrate Segment with other applications. n8n has built-in support for a wide range of Segment features, including adding users to groups, creating identities, and tracking activities.

本页列出了 Segment 节点支持的操作列表以及更多资源的链接。

¥On this page, you'll find a list of operations the Segment node supports and links to more resources.

Credentials

请参阅 Segment 凭据 以了解有关设置身份验证的指导。

¥Refer to Segment credentials for guidance on setting up authentication.

操作#

¥Operations

  • Group

  • 将用户添加到群组

    ¥Add a user to a group

  • 识别

¥Identify

  • 创建身份

    ¥Create an identity

  • 跟踪

¥Track

  • 记录你的用户执行的操作。每个操作都会触发一个事件,该事件还可以具有关联的属性。

    ¥Record the actions your users perform. Every action triggers an event, which can also have associated properties.

  • 记录你网站的页面浏览量,以及关于被浏览页面的可选额外信息。

    ¥Record page views on your website, along with optional extra information about the page being viewed.

模板和示例#

¥Templates and examples

Template widget placeholder.

What to do if your operation isn't supported#

If this node doesn't support the operation you want to do, you can use the HTTP Request node to call the service's API.

You can use the credential you created for this service in the HTTP Request node:

  1. In the HTTP Request node, select Authentication > Predefined Credential Type.
  2. Select the service you want to connect to.
  3. Select your credential.

Refer to Custom API operations for more information.