Connect Segment to Your AI Agent

Ask your AI assistant to work with Segment: record user traits and analytics events.

7 tools API key

Try a Segment Task

Copy a prompt into your agent with the oo Skill installed. Add your page links and source notes before running it.

oo Skill Segment

Record an event

Send a named event with explicit user identity and properties.

/oo Segment: Track Segment event [event name] for userId [user ID] with properties [JSON object] and timestamp [ISO timestamp].

Record user traits

Send an Identify message for a known user.

/oo Segment: Identify Segment userId [user ID] with traits [JSON object].

Start Working with Segment

  1. Install OOMOL

    Set up oo CLI and the oo Skill in your agent.

    Install OOMOL →
  2. Connect Segment

    Connect using your Segment Write Key.

    Connect Segment →
  3. Give Your Agent a Task

    Use /oo with the pages to read, the changes to make, and where to save the result.

    Connection Guide →

Choose Your Agent

  • An account with access to the Segment resources used in your task.

Segment Tools

Segment write-key operations send identity, event, page, screen, and group messages to a configured source.

Record an event

Send a named event with explicit user identity and properties.

Record user traits

Send an Identify message for a known user.

7 tools

Identify

Send a Segment Identify call to record user traits.

segment.identify

Track

Send a Segment Track call to record one user event.

segment.track

Page

Send a Segment Page call to record a website page view.

segment.page

Screen

Send a Segment Screen call to record a mobile app screen view.

segment.screen

Group

Send a Segment Group call to associate a user with a group.

segment.group

Alias

Send a Segment Alias call to associate one user identity with another.

segment.alias

Batch

Send a Segment Batch call containing Identify, Group, Track, Page, or Screen items.

segment.batch

Frequently Asked Questions

Can I read historical analytics?

These operations send messages to a source; historical analytics retrieval is not exposed.

Which credential should I use?

Use the write key for the intended Segment source.

Can a batch include identity aliases?

The batch action accepts Identify, Group, Track, Page, or Screen items; Alias is a separate action.

Connect Segment

About Segment ↗