Developer docs

Segment integration

Twilio Segment is a customer data platform that helps businesses collect,…

Updated June 2026 17 actions available

Provider
segment
Category
Analytics
Setup
User-supplied API key
Actions
17 available

Quick start

Call Segment from your generated app's worker code via the OverSkill composio client. The toolkit slug below maps to Segment's public Composio identifier — your app references it by name and OverSkill handles the OAuth round-trip.

// In your generated app's worker handler:
const composio = composioClient(env);

const result = await composio.execute(
  "SEGMENT_ACTION_NAME",
  { /* action parameters — see Actions section below */ }
);

return new Response(JSON.stringify(result), {
  headers: { "Content-Type": "application/json" }
});

Replace ACTION_NAME with one of the slugs listed in the Actions section below. The composio client handles auth + rate limits automatically — no API key is exposed to user code.

Setup

End-users supply their own Segment API key. OverSkill provides a pre-built connection form via the integration card — your app can call the composio client immediately once the user has connected.

Available actions

17 actions exposed via the Segment integration. Each maps to a callable slug — pass it to composio.execute(...) in your worker code.

Show all 17 actions
  • SEGMENT_PAGE
  • SEGMENT_REMOVE_SOURCE_WRITE_KEY
  • SEGMENT_SCREEN
  • SEGMENT_TRACK
  • SEGMENT_UPDATE_SOURCE

Build with Segment

Open OverSkill, describe what you want to build, and reference Segment in your prompt — the AI will wire up the integration automatically.