Skip to content

Segment 节点#

使用 Segment 节点可以自动化 Segment 中的工作,并将 Segment 与其他应用程序集成。n8n 内置支持多种 Segment 功能,包括将用户添加到群组、创建身份标识以及跟踪用户活动。

本页列出了 Segment 节点支持的操作,并提供更多资源的链接。

凭据

有关设置身份验证的指导,请参阅 Segment 凭据

操作#

  • 群组
    • 将用户添加到群组
  • 身份识别
    • 创建身份标识
  • 跟踪
    • 记录用户执行的操作。每个操作都会触发一个事件,该事件还可以包含相关属性。
    • 记录网站上的页面浏览情况,以及被查看页面的可选额外信息。

模板和示例#

Create a customer and add them to a segment in Customer.io

by Harshil Agrawal

View template details
Track an event in Segment

by tanaypant

View template details
Auto-Scrape TikTok User Data via Dumpling AI and Segment in Airtable

by Yang

View template details
Browse Segment integration templates, or search all templates

当操作不受支持时的解决方案#

如果当前节点不支持您想要执行的操作,可以使用 HTTP Request 节点 调用该服务的 API。

您可以在 HTTP Request 节点中使用为该服务创建的凭证:

  1. 在 HTTP Request 节点中,选择 Authentication > Predefined Credential Type
  2. 选择您想要连接的服务。
  3. 选择您的凭证。

更多信息请参考 自定义 API 操作