Segment

17 tools available

Twilio Segment is a customer data platform that helps businesses collect, clean, and control their customer data.

Connect Segment to Definable to answer ad-hoc analytics questions, detect anomalies, auto-generate weekly summaries. Personas call Segment's 17 tools directly from chat or scheduled flows. Plug into a data-analysis persona to ask questions in plain English — the agent runs the queries.

Common workflows with Segment

01

Weekly anomaly digest

  1. Query metrics from this tool
  2. Compare against rolling baseline
  3. Surface anomalies with reasoning
02

Funnel deep-dive

  1. Pull funnel events for a date range
  2. Compute drop-offs at each step
  3. Generate a written analysis
03

Cohort answers on demand

  1. User asks a question in chat
  2. Agent translates it to a query
  3. Returns numbers + a chart-ready summary

Segment actions 17

Every Segment action below is a callable tool any Definable persona can invoke.

Add Labels to Source

Tool to add existing labels to a Source. Use when you have the source ID and want to tag it with metadata labels.

Segment Alias

Tool to alias a previous user ID to a new user ID. Use when merging anonymous and known identities.

Batch Segment Analytics Events

Tool to send multiple analytics calls in a single batch request. Use when you want to reduce HTTP overhead by batching Identify/Track/Page/Screen/Group calls into one request.

Delete Source

Tool to delete a Segment Source. Use when you need to permanently remove a Source by its ID after confirmation.

Get Daily Per Source API Calls Usage

Tool to fetch daily API call counts per source for a given period. Use when you need daily breakdown of API usage by source after determining the reporting period.

Get Destination

Tool to retrieve a Destination by ID. Use when you need to fetch the full configuration of a Segment Destination instance by its unique identifier. Falls back US→EU public API and legacy app endpoint; returns minimal envelope on legacy HTML or parse errors.

Segment Group

Tool to associate an identified user with a group via Segment HTTP Tracking API. Use when grouping users with traits.

Segment Identify

Tool to identify a user and set/update traits via Segment HTTP Tracking API.

Import Historical Data

Tool to import historical data in bulk with support for historical timestamps. Use when you need to backfill or import past events with their original timestamps into Segment.

List Connected Warehouses From Source

Tool to list warehouses connected to a Source. Use when you need to retrieve warehouses for a given source ID.

List Delivery Metrics Summary from Destination

Get an event delivery metrics summary from a Destination. Primary attempt uses Segment Public API; fallback to legacy app host if needed. On HTML fallback responses, returns a minimal valid envelope to maintain contract.

List Schema Settings in Source

Retrieve schema configuration settings for a Source.

Segment Page View

Tool to record a page view via Segment HTTP Tracking API. Use when sending page views with optional page name and properties.

Remove Source Write Key

Tool to remove a write key from a Source. Use when you need to revoke an existing write key for security or rotation.

Segment Screen Event

Tool to record a mobile app screen view. Use when tracking screen views in a mobile app via Segment HTTP Tracking API.

Segment Track Event

Tool to record a custom user event via Segment HTTP Tracking API. Use when sending events to Segment with valid identity.

Update Source

Tool to update a Source's metadata and settings. Use when you need to modify an existing Source after confirming its ID.

Frequently asked questions

What can I automate with Segment on Definable?

Anything Segment exposes through its API. Common analytics workflows on Definable include answer ad-hoc analytics questions, detect anomalies, auto-generate weekly summaries. Personas can call any of the 17 Segment tools directly, then chain the result into another integration without you writing code.

How does Segment authentication work?

Segment uses API_KEY on Definable. You connect once from the integrations page, scoped to the permissions you choose, and from then on any persona that has the integration enabled can act on your behalf. Tokens are encrypted at rest and rotated automatically.

Is the Segment integration included in my Definable plan?

Yes — every Definable plan, including Starter, includes access to all 17 Segment tools. You only need a separate Segment subscription if Segment itself charges per seat or per API call.

Is using Segment through Definable secure?

Every call from a persona to Segment is logged with the user, persona, prompt, and response. Tokens never leave Definable's secrets vault, scopes are configurable per persona, and you can revoke access at any time from the integration page.

How do I get started with Segment on Definable?

Sign up for Definable, open the integrations page, find Segment, and connect via OAuth or API key. You can immediately attach Segment to any persona and start running workflows. The free Starter plan includes 5,000 credits/month.

What Segment actions does Definable expose?

Definable exposes all 17 Segment actions as callable tools — including `Add Labels to Source`, `Segment Alias`, `Batch Segment Analytics Events`, plus 14 more. Each tool gets a typed parameter schema so personas know exactly how to call it.

Ready to automate with Segment?

Wire it up in minutes. No coding required.

← All integrations