What it is for
The customer.io component connects flooows with your messaging and journeys platform. You can track customer events to trigger campaigns and receive reporting events (sends, opens, clicks) to push them to other systems.
New Reporting Event is a webhook trigger: copy the flow's webhook URL and paste it into customer.io as a reporting webhook to receive events instantly; you can filter by Event Types, Campaign ID or Action ID.
Set up the connection
Authentication type: Custom credentials
- 1In customer.io go to Settings > API Credentials (fly.customer.io/settings/api_credentials).
- 2In the Tracking API section copy the Site ID and tracking key; in the App API section generate an App API token. They are different credentials.
- 3In flooows click "Connect", choose your account Region (US or EU) and paste Site ID, API Key (tracking) and Bearer Token (App API).
- 4Save the connection with a clear name.
| Connection field | Type | Required |
|---|---|---|
| Region | Fixed list | Yes |
| Site ID | Text | Yes |
| API Key | Text | Yes |
| Bearer Token | Text | Yes |
Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.
How to use it in a flow
- Create Event: map the customer's ID or email into Customer identifier and set Event Name to the event that starts your campaign.
- Add extra data in parameters or Body to personalize messages.
- Track Custom API Call uses the Tracking API (identify people, attributes) and App Custom API Call uses the App API (campaigns, transactional messages).
Tips
- •Use consistent event names so segments and campaigns work.
- •Pick the right region: an EU account does not answer on US endpoints.
- •Filter with Recipient Domain if you only care about certain recipients.
Triggers (1)
Events that can start a flow. Expand each one to see its fields.
New Reporting EventWebhook (paste the URL in the app)4 fields
| Field | Type | Required |
|---|---|---|
| Event Types | Multi-select | Yes |
| Campaign ID | Number | No |
| Action ID | Number | No |
| Recipient Domain | Text | No |
Actions (3)
Operations available as flow steps. Expand each one to see its fields.
Create Event4 fields
| Field | Type | Required |
|---|---|---|
| Customer identifier | Text | Yes |
| Event Name | Text | Yes |
| parameters | Fixed list | No |
| Body | Dynamic fields | No |
Track Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
App Custom API Call10 fields
| Field | Type | Required |
|---|---|---|
| url | Dynamic fields | Yes |
| Method | Fixed list | Yes |
| Headers | Key / value pairs | No |
| Query Parameters | Key / value pairs | No |
| Body Type | List (from your account) | No |
| Body | Dynamic fields | No |
| Response is Binary | Yes / No | No |
| Return Error as Output | Yes / No | No |
| Timeout | Number | No |
| Follow redirects | Yes / No | No |
Common errors
401 on tracking calls
Check Site ID and API Key; do not use the App API token instead.
401 on App calls
Check the Bearer Token and its scope.
No reporting events arrive
Verify the webhook URL is saved in customer.io and the flow is published.
Field types
"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps
