Skip to content

Integrations / Customer data platform

Avo and Segment

Keep Segment Protocols in sync with your tracking plan, check the events Segment receives against it, and check the events Segment sends on to your destinations.

AvoYour tracking plan
  • From Avo to Segment: Tracking plan
  • From Segment to Avo: Event schemas
  • From Segment to Avo: Checks at each output
  • Between Avo and Segment: Your agent, through both MCPs
SegmentCustomer data platform

World's leading teams trust Avo

Four ways to connect

What Avo does with Segment

Publishing

Publish your plan to Segment Protocols

Your tracking plan is published into Segment Protocols when a branch is merged, or with a button.

Avo overrides the events included in the publish, and leaves events that are only defined in Protocols alone.

Docs: Publishing to Segment Protocols

Set it up

  1. In Avo, add a Segment Protocols integration under Publishing.
  2. Enter your Segment workspace slug, the Protocols tracking plan ID and a Segment access token limited to Protocol Admin.
  3. Publish with the button, or turn on auto-publishing to publish on every branch merge.

Inspector

Add Inspector as a Segment destination

Stream your event schemas from Segment to Avo Inspector without adding code to your codebase. Inspector reads the event schema, never the property values.

Create a connection for each environment you use. Avo raises issues for production events only.

Docs: Send data from Segment to Inspector

Set it up

  1. In Avo, pick or create a source and open its Inspector setup tab.
  2. Click Connect to Segment and add the Avo destination to your Segment source.
  3. Paste the Inspector API key and choose the environment.

Gateway

Add Segment to your plan as a gateway

Describe what Segment changes on the way to each destination. Avo works out what each destination should receive, and Inspector checks events at Segment and at each output with Inspector set up.

Output checks use Segment insert functions, which work with cloud-mode destinations only. They see each event after the destination’s filters and before its field mappings.

Docs: Configuring Inspector gateways

Set it up

  1. Ask your agent to create the gateway through the Avo MCP, with your sources as inputs and your destinations as outputs.
  2. In Segment, add the Avo Inspector v2 destination to each source that sends to the gateway.
  3. Paste the insert function Avo generates for each output into Segment and connect it to that destination.
  4. In Avo, add an origin hint for each source that feeds the gateway, and set the same value in Segment, so Avo knows which source each event came from.

Avo MCP

Let your agent define the transformations

Connect your agent to the Avo MCP and to Segment’s own MCP. It reads the tracking plan from Avo, sees what each destination should receive, and defines the transformations in Segment to match.

It works the other way too: your agent can read what Segment does today and add it to your plan as a gateway, on a branch you review.

Docs: Avo MCP

Set it up

  1. Connect your agent to the Avo MCP, so it can read your tracking plan.
  2. Give it access to Segment through Segment’s own MCP or API.
  3. Ask it to compare what each destination should receive with what Segment sends, and to define the transformations.
At a glance

Segment and Avo, in short

Kind of tool
Customer data platform (CDP)
Avo sends to Segment
Your tracking plan, into Protocols
Avo reads from Segment
Event schemas only, never the event data
Code change needed
None for Publishing or Inspector
With your agent
Avo MCP for the plan, Segment’s MCP for the transformations
When the plan is published
On every branch merge, or with a button
Keep going

Where to go next

Your stack

Every integration

The other tools Avo works with, and what it does with each.

All integrations
The product

How Avo works

Plan, build and monitor your event data from one tracking plan.

See how it works
Gateways

What a gateway is

The step between your sources and your destinations, and what Avo checks there.

Gateways

Your campaigns, dashboards and agents are only as good as your data.

One plan, checked at every step, for every person and agent in your stack.