Duaer

Integrations

Use Segment in Duaer

In Duaer, the Segment node works with Segment from a workflow. It offers 4 operations on Group, Identify, and Track.

Add Segment to a Duaer workflow

  1. On the Duaer canvas, open the node panel, search for Segment, and connect it after the previous node.
  2. In Credential to connect with, pick or create a Segment API credential. Refer to Segment credentials.
  3. Pick a Resource and an Operation. For example, to create an identity, pick Identify and Create.
  4. Fill the fields that operation shows, such as User ID, Traits, Context, and Integration.
  5. Select Execute step and check the output.

Segment operations in Duaer

The Segment node in Duaer offers these operations, grouped by resource:

  • Group › Add: Add a user to a group.
  • Identify › Create: Create an identity.
  • Track › Event: Record the actions your users perform.
  • Track › Page: Record page views on your website, along with optional extra information about the page being viewed.

Use Segment as a tool for an AI Agent in Duaer

In the Tool input of an AI Agent, search for Segment and add it. The agent decides when to call it. For a field the model should fill, select the sparkle next to it or write $fromAI('name', 'what to put here'); fixed values stay as you set them.

Call a Segment endpoint the node does not cover

Add an HTTP Request node, set Authentication to Predefined Credential Type, pick Segment API as the credential type, and select the same credential. Duaer signs the request with it, so you only fill in the method and URL. Refer to custom operations.

Questions

Which Segment operations does Duaer support?

Duaer's Segment node offers 4 operations on Group, Identify, and Track. For example, Group has Add.

Which credential does Segment use in Duaer?

Duaer's Segment uses a Segment API credential. The secret stays in the credential, not in node parameters.

In this section