# Klaviyo

#### Step #1: Create your integration

* Get your Public and Private Keys from Klaviyo. You can access your keys by following the steps here: <https://help.klaviyo.com/hc/en-us/articles/115005062267-How-to-Manage-Your-Account-s-API-Keys>

{% hint style="info" %}
Make sure the keys have **Full Access** enabled for **Events** and **Profiles**.\
\
**NOTE:** If you want to **Auto Subscribe** new customers to your list then you will need to also add **Full Access** for **Subscriptions** and **Lists**.
{% endhint %}

* In Zigpoll: Click Settings -> Manage Integrations -> Enable the Klaviyo Integration
* Enter your public and private keys into the input fields and press save.

#### Step #2: Collect Your Data

Once your integration has been completed, data will start flowing into your Klaviyo account. If you use our Shopify integration, we will use the user data provided to associate it with the correct email address. If not, but you have an email input field, the results from that field will be used to identify any existing Klaviyo profiles or it will create a new one.

We will mark any survey as a new event called "Completed a Zigpoll". This event will contain the results for the particular survey. The data is displayed using each Slide's handle as the key. If you would like to change how your data is displayed, you can adjust the handle of each slide individually.

We will also pipe through your customer's average sentiment score and survey results. You can use this sentiment score to create mailing campaigns and trigger other events that will help grow your customer lifetime value.


---

# 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/klaviyo.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.
