Overview
Phinite’s Customer.io predefined tool lets workspace assistants call Customer.io APIs through DevStudio after you save a connection under Integrations → Predefined tools. Manage Customer.io people, events, devices, segments, campaigns, transactional messages, and message history via the Track and App APIs.Predefined tools require a saved connection before they appear in Graph Studio’s tool picker. See Predefined Tools in GraphStudio.
What this integration enables
- Automate workflows using this predefined tool from agent graphs
- Connect once under Integrations and reuse across assistants
- Enable individual subtools per agent in Graph Studio
Required credentials
- Track API Site ID
site_id(required) - Track API Key
track_api_key(required) - App API Key
app_api_key(required) - Region
region(optional)
Setup steps
- In Customer.io go to Settings → Account Settings → API Credentials.
- Copy the Track API Site ID, Track API Key, and App API Key.
- Set region to
usoreuif your workspace requires it. - Log into your Phinite workspace at app.phinite.ai
- Navigate to Integrations → Predefined tools
- Select Customer.io
- Click + Add Configuration
- Enter the credential fields listed above
- Select assistants that should use this connection
- Click Save Configuration
Configure in Graph Studio
- Open an agent in Graph Studio
- Select the agent node → Tools tab → Add a new tool
- Choose CustomerIoTool (or search for Customer.io)
- Select your saved connection or add a new one
- Enable the subtools your workflow needs and save
Predefined tools
Phinite provides 24 subtools for Customer.io:- Identify Customer: Creates or updates a person (upsert) with attributes. Merge semantics; a null attribute value deletes it.
- Delete Customer: Deletes a person and their associated data.
- Suppress Customer: Suppresses a person — deletes their profile and stops all messaging to them.
- Unsuppress Customer: Removes a person from the suppression list, allowing messaging to resume.
- Track Event: Tracks an event for a known person. Can trigger campaigns and is recorded on the person’s activity timeline.
- Track Anonymous Event: Tracks an event not yet tied to a known person, identified by an anonymous_id.
- Track Page View: Records a page view for a known person (an event with type=‘page’).
- Add Device: Adds or updates a push device (token + platform) for a person.
- Delete Device: Removes a push device from a person.
- Merge Customers: Merges two people; the primary survives and the secondary is deleted, with its data folded in.
- Add To Segment: Adds people to a manual segment (max 1000 IDs per call).
- Remove From Segment: Removes people from a manual segment (max 1000 IDs per call).
- Get Campaign: Retrieves a single campaign by ID.
- List Campaigns: Lists all campaigns in the workspace.
- Get Campaign Metrics: Retrieves delivery metrics for a campaign over a period.
- Trigger Broadcast: Triggers an API-triggered broadcast campaign. Only API-triggered broadcasts can be triggered.
- Send Transactional Email: Sends a transactional email using a transactional message template.
- Send Transactional Push: Sends a transactional push notification using a transactional push template.
- List Segments: Lists all segments in the workspace.
- Get Segment: Retrieves a single segment by ID.
- Create Manual Segment: Creates a manual segment that people can be added to or removed from via the Track API.
- Delete Segment: Deletes a segment by ID.
- Get Customer Attributes: Retrieves a person’s stored attributes via the App API.
- List Messages: Lists message-delivery history for the workspace with optional filters.
Documentation & resources
- Official documentation:
https://docs.customer.io/ - Phinite documentation: Customer.io
Notes
- Store API keys and tokens securely; many providers show secrets only once
- Use separate connections for Dev, UAT, and Prod environments where possible
- Test with a minimal subtool call after saving credentials

