Customer.io
Arcade.dev LLM tools for Customer.io
0.1.0Customer.io is a customer engagement platform for behavioral messaging and lifecycle automation. This Arcade toolkit exposes Customer.io's App API and Tracking API as LLM-callable tools, covering people management, event tracking, segmentation, messaging, and campaign analytics.
Capabilities
- People & profile management — create, update, look up, and delete person records; resolve by email or ID; handle multi-match scenarios.
- Event & activity tracking — record custom named events on a person's timeline; list a person's recent activities filtered by type and/or name.
- Segments & audience discovery — list workspace segments, inspect segment members, find which segments a person belongs to, and search for people by segment membership and/or attribute.
- Messaging history & transactional email — retrieve a person's full message/delivery history; list and send transactional email templates to individual recipients.
- Broadcasts — list available API broadcasts and trigger them against a segment or an explicit recipient list.
- Campaign & newsletter analytics — read aggregate delivery metrics for campaigns and newsletters over configurable time periods.
Secrets
All four secrets below are required for full toolkit functionality. Set them via the Arcade secrets dashboard or the Arcade config, following the tool secrets guide.
-
CUSTOMERIO_APP_API_KEY— An App API key used to authenticate requests to Customer.io's App API (reporting, segmentation, people lookup, broadcasts, campaigns, newsletters, transactional messages). Generate one in your Customer.io workspace under Settings → API Credentials → App API Keys. The key requires access to the data/features you intend to use; workspace Admin or appropriate role is typically required. See Customer.io App API authentication docs. -
CUSTOMERIO_TRACKING_API_KEY— A Tracking API key (also called the API Secret) used to authenticate requests to Customer.io's Tracking API (identifying people, recording events). Found in Settings → API Credentials alongside your Site ID. See Customer.io Tracking API authentication docs. -
CUSTOMERIO_SITE_ID— The Site ID paired with the Tracking API key to form the basic-auth credentials for Tracking API requests. Also found in Settings → API Credentials in your workspace dashboard. -
CUSTOMERIO_REGION— Designates which Customer.io data center your workspace is hosted on (usoreu). This controls which base URLs the toolkit calls. Find your region in Settings → API Credentials or in your workspace URL (e.g.,fly.customer.ioindicates the EU region). See Customer.io regional endpoints documentation.
Available tools(18)
| Tool name | Description | Secrets | |
|---|---|---|---|
Delete a person record to honor a data-removal request.
Deleting a person who does not exist is accepted as a no-op. | 2 | ||
Read a campaign's aggregate delivery metrics over a period. | 2 | ||
Read a newsletter's aggregate delivery metrics over a period. | 2 | ||
Look up a person's profile by email or id.
Resolves the person by whichever identifier is supplied; an email shared by
several people reports every match in the result. | 2 | ||
Create or update a person and their attributes.
Existing attributes not named in this call are preserved; named attributes
are added or overwritten. | 2 | ||
List the workspace's broadcasts to discover ids that can be triggered. | 2 | ||
List the campaigns in the workspace. | 2 | ||
List the newsletters in the workspace. | 2 | ||
List a person's recent activities, most recent first, resolved by email
or id. Optionally filter by activity type and/or name; filtering by name
requires an activity type. When an email matches several people, the first
match's activities are returned. | 2 | ||
List a person's message and delivery history, most recent first,
resolved by email or id. When an email matches several people, the first
match's messages are returned. | 2 | ||
List the segments a person belongs to, resolved by email or id. When an
email matches several people, the first match's segments are returned. | 2 | ||
List the ids of the people in a segment and the segment's total size. | 2 | ||
List the segments defined in the workspace. | 2 | ||
List the transactional message templates in the workspace. | 2 | ||
Record a named custom event on a person's timeline to drive lifecycle
journeys. | 2 | ||
Find people by segment membership and/or an attribute, to build an
audience without a known id. Supply at least one of a segment or an
attribute name; both combine with AND. | 2 | ||
Send a transactional email to one recipient by its template id. | 2 | ||
Trigger an API broadcast to a segment or an explicit recipient list. | 2 |