Skip to main content

At a glance

Credentials

Set these per environment. See Connect an integration.
VariableRequiredDescription
CUSTOMERIO_APP_API_KEYYesCustomer.io App API Key (Bearer token for api.customer.io) Docs.

Setup

  1. Create a Customer.io account: Sign up at https://customer.io/ - the free trial includes a full workspace suitable for development and testing.
  2. Create an App API key: In Customer.io go to Settings > Account Settings > API Credentials, open the App API Keys tab, and create a key. Scope it to the workspace and permissions your agents need (read access plus transactional send if you use the email tool).
  3. Set the environment variable: Copy the key into CUSTOMERIO_APP_API_KEY. It is sent as a Bearer token in the Authorization header on every request.
  4. Optional: set up a transactional message: To send templated transactional email, create a Transactional message in Customer.io and use its ID or trigger name as transactional_message_id.
  • Customer.io has US and EU regions. This connector targets the US host api.customer.io; if your workspace is in the EU data center, replace the host with api-eu.customer.io in the tool URLs.
  • These tools use the App API (Bearer App API key). The separate Track API (track.customer.io) for identifying people and sending events uses HTTP Basic auth with a site ID and Track API key and is not covered by this connector.
  • App API rate limits: most endpoints allow 10 requests per second; transactional sends allow 100 requests per second.
Provider API reference: https://docs.customer.io/integrations/api/app/

Tools

ToolAccessDescription
Search CustomersReadSearch Customer.io people by attribute or segment filter conditions
List CampaignsReadList campaigns in the Customer.io workspace with their state and goals
Get Campaign MetricsReadGet delivery and conversion metrics for a Customer.io campaign over a time period
Get Person AttributesReadGet a person’s full attribute profile by ID, email, or cio_id (Search Customers returns only identifiers)
List Transactional MessagesReadList the workspace’s transactional message templates so agents can find a valid transactional_message_id before sending
Trigger BroadcastWriteTrigger an API-triggered broadcast campaign, optionally overriding the recipients and passing liquid data into the messages
List SegmentsReadList segments in the Customer.io workspace so agents can target or filter people
Send Transactional EmailWriteSend a transactional email to a recipient, using a transactional message template or inline subject and body

Example prompts

  • List my Customer.io campaigns and summarize the recent metrics for the active ones.
  • Search Customer.io for a person by email and show their identifiers.
  • Send a transactional email via Customer.io to the recipient I specify.