Skip to content

Segment#

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

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

Credentials

Refer to Segment credentials for guidance on setting up authentication.

Basic 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.

Example Usage#

This Pathway allows you to track an event in Segment. This example usage Pathway would use the following two nodes. - Start - Segment

1. Start node#

The start node exists by default when you create a new workflow.

2. Segment node#

  1. First of all, you'll have to enter credentials for the Segment node. You can find out how to do that here.
  2. Select the 'Track' option from the Resource dropdown list.
  3. Enter the ID of the user in the User ID field.
  4. Enter the name of event in the Event field.
  5. Click on Execute Node to run the workflow.