# Customer.io

Integrating Zigpoll with Customer.io lets you automatically push survey responses into your Customer.io workspace as person attributes and events. Use this data to build segments, trigger campaigns, and personalize messaging based on real customer feedback.

***

### Step 1: Get Your Customer.io API Credentials

1. Log into your Customer.io Dashboard.
2. Navigate to **Settings > API Credentials**.
3. Copy your **Site ID** and **Tracking API Key**.

***

### Step 2: Enable the Customer.io Integration in Zigpoll

1. Log in to your Zigpoll Dashboard.
2. Navigate to **Integrations** from the left-hand menu.
3. Find **Customer.io** and toggle it on.
4. Enter your **Site ID** and **Tracking API Key**.
5. Select your **Region** (US or EU).
6. Press **Save**.

***

### Step 3: Configure Options

* **Send Identify Call** (on by default): Creates or updates the person in Customer.io with survey response data as attributes each time a survey is submitted. Turn this off if you only want to track events.

***

### What Data Gets Sent

Once enabled, every survey submission sends the following to Customer.io:

**Identify Call** (if enabled):

* Creates or updates a person using `PUT /api/v1/customers/{id}`
* Attributes include all survey responses (snake\_cased), a link to the participant's Zigpoll profile, and email address

**Track Event:**

* Event name: `survey_completed`
* Event data includes the survey title and all slide responses

Users are matched by their participant ID. If an email address is available, it is also attached to the profile.

***

### Example Use Cases

* **Trigger a follow-up campaign** when a customer reports a negative experience.
* **Build segments** based on survey responses like attribution answers or product preferences.
* **Personalize messaging** using person attributes from survey data.
* **Enrich customer profiles** with qualitative feedback for smarter automations.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.zigpoll.com/integrations/customerio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
