Connectors / Marketing · HTTP Connector
SegMetrics integration and API
Add or update a contact, add tags to a contact and add a purchase to a contact in SegMetrics.
What can you do with SegMetrics on Tray.ai?
SegMetrics is a marketing attribution tool that links leads, purchases, and ad spend to each funnel step so marketers can see what every channel earns. Tray.ai connects to SegMetrics through the HTTP Connector, so your workflows can call the SegMetrics API alongside the rest of your stack.
- Add a purchase to a contact whenever an order is paid in your billing system, so revenue is attributed to the right funnel.
- Add tags to a contact when they register for a webinar in your events tool.
- Get saved report data weekly and share channel revenue with marketing in your team chat.
- Connects through
- HTTP Connector
- Authentication
- An API key in a request header
- Base URL
- https://import.segmetrics.io/api/v1
Set it up
Connect SegMetrics to Tray.ai
Each step uses SegMetrics's own API details, from its documentation.
Save SegMetrics's API key
Save the key as a Tray.ai authentication. The HTTP Client puts it in the request header, read from $.auth. The key stays out of the workflow and out of the logs.
Point the HTTP Client at the API
Add an HTTP Client step and use https://import.segmetrics.io/api/v1 as the base URL. Or paste a cURL example from SegMetrics's API docs, and Tray.ai fills in the method, URL, and headers.
Start with “Get saved report data”
It's one of 10 documented actions, under Reports. The response comes back as data the next step can map into your other apps.
Hand it to an AI agent
Wrap “Add or update a contact” and “Add tags to a contact” in workflows, and Tray.ai's Agent Gateway for MCP publishes them as governed tools Claude and other AI agents can call.
Workflows to build with SegMetrics
Connect SegMetrics with Stripe, HubSpot and Google Sheets
Each one uses actions and events from SegMetrics's own API documentation.
Send new Stripe purchases to SegMetrics
When
A payment succeeds in Stripe
Then
- Add or update a contact with the buyer
- Add a purchase to a contact
With Stripe
Add new HubSpot contacts to SegMetrics with tags
When
A contact is created in HubSpot
Then
- Add or update a contact
- Add tags to a contact for the lead source
With HubSpot
Load SegMetrics report data into Google Sheets
When
On a schedule
Then
- Get saved report data for each funnel
- Update the attribution sheet in Google Sheets
With Google Sheets
Apps you can build on SegMetrics data
Internal tools your team can build with an AI assistant, each one using SegMetrics calls from its API documentation.
Channel attribution report
Shows saved attribution reports and custom report queries so marketers can see what each channel earns.
Lead tagging tool
Runs a report query to find contacts and lets marketers add or remove tags on them.
SegMetrics MCP server for AI agents
Build an MCP server on SegMetrics in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works
- Add or update a contact
- Add tags to a contact
- Add a purchase to a contact
- Add a subscription
- Get saved report data
- Delete a contact
- Remove tags from a contact
- Delete an invoice
What the SegMetrics API covers
5 resources and 10 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.
Contacts
- Add or update a contact
- Delete a contact
Tags
- Add tags to a contact
- Remove tags from a contact
Orders
- Add a purchase to a contact
- Delete an invoice
Subscriptions
- Add a subscription
- Delete a subscription
Reports
- Get saved report data
- Run a report query
Checked against SegMetrics's own documentation on 2026-10-22
How Tray.ai makes this work
SegMetrics plugs into the whole Tray.ai platform
Tray iPaaS
Integrate and automate across 12,000+ apps, databases, APIs, and services with visual workflows, error handling, and observability.
Learn moreTray Helix agents
Agents in the apps your teams run on Tray Helix that read, write, and act in SegMetrics, with a person's approval on any tool you choose.
Learn moreAgent Gateway for MCP
Expose SegMetrics actions as governed MCP tools: observable, rate-limited and authenticated.
Learn moreTray Helix
Build apps on SegMetrics data with your AI assistant, then deploy, run, and govern them on Tray.ai.
Learn moreMore marketing apps on Tray.ai
Dedicated connectors and other apps Tray.ai reaches in the same category. See every marketing connector →
Frequently asked questions
What can a Tray.ai workflow do in SegMetrics?
The SegMetrics API documents 10 actions across 5 resources (Contacts, Tags, Orders, Subscriptions, Reports). For example: Add or update a contact; Add tags to a contact; Add a purchase to a contact. A workflow can make any documented call through the HTTP Connector.
How does Tray.ai authenticate with SegMetrics?
The SegMetrics API uses an API key in a request header. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.
See SegMetrics working against your stack.
We'll walk through a tailored demo with your systems plugged in.
Thanks. Someone from our team will be in touch soon.