Skip to main content

Customer.io Connector

Customer.io Customer.io is an automated messaging platform for marketing departments. This component allows creating, deleting, and tracking customers on the Customer.io platform through the Track API.

API Documentation

This component was built using the Customer.io Track API Reference.

Connections

API Key

Authenticate requests to Customer.io using an API key and secret.

To authenticate with Customer.io, both an API Key and a Site ID are required. The Customer.io API Key serves as the API Key, and the Site ID serves as the API Secret.

Prerequisites

  • A Customer.io account with the Manage API credentials permission

Setup Steps

  1. Sign in to Customer.io and open the Integrations area for the workspace
  2. Select the Customer.io API settings
  3. Open the Track API Keys page to view the Site ID and API Key
  4. Copy the Site ID and API Key values

Refer to the Customer.io Track API Reference for additional details on authentication.

Configure the Connection

  • Enter the API Key from the developer console into the API Key field
  • Enter the Site Id from the developer console into the Site Id field
InputCommentsDefault
API KeyProvide the API key from the developer console.
Site IdProvide the Site Id obtained from the developer console.

Actions

Destroy

Delete a customer by unique ID.

InputCommentsDefault
IDThe unique identifier that targets a specific customer record.
RegionThe region in which the account is configured.
ConnectionThe Customer.io connection to use.

Identify

Create or update a customer.

InputCommentsDefault
IDThe unique identifier that targets a specific customer record.
RegionThe region in which the account is configured.
Customer DataThe key and value pairs that make up a customer record. The key must be a string, and the value can be a string, number, array, or object.
ConnectionThe Customer.io connection to use.

Raw Request

Send raw HTTP request to Customer.io.

InputCommentsDefault
ConnectionThe Customer.io connection to use.
RegionThe region in which the account is configured.
URLThe path to append to the base URL. Enter the path only (for example, /v1/accounts/region); the base URL (https://track.customer.io/api) is already included.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries. This is used when 'Use Exponential Backoff' is disabled.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type. This is helpful when retrying after HTTP 429 or other 3xx or 4xx errors. Otherwise, only retries on HTTP 5xx and network errors.false
Max Retry CountThe maximum number of retries to attempt. Specify 0 for no retries.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries. When enabled, 'Retry Delay (ms)' is ignored.false

Track

Track customer events.

InputCommentsDefault
IDThe unique identifier that targets a specific customer record.
RegionThe region in which the account is configured.
Event DataThe key and value pairs that describe the event the customer performed.
Event NameThe identifier recorded for the tracked event.
ConnectionThe Customer.io connection to use.

Track Page View

Track a customer page view.

InputCommentsDefault
IDThe unique identifier that targets a specific customer record.
RegionThe region in which the account is configured.
URLThe page path to track. Enter the full path to track a specific page, or use the asterisk '*' to track any page.
ConnectionThe Customer.io connection to use.