Klaviyo feature snapshot

A high-level look at Stitch's Klaviyo (v1) integration, including release status, useful links, and the features supported in Stitch.

STITCH
Release status

Released on December 14, 2017

Supported by

Singer Community

Stitch plan

Standard

API availability

Available

Singer GitHub repository

singer-io/tap-klaviyo

REPLICATION SETTINGS
Anchor Scheduling

Supported

Advanced Scheduling

Supported

Table-level reset

Unsupported

Configurable Replication Methods

Unsupported

DATA SELECTION
Table selection

Supported

Column selection

Supported

Select all

Supported

TRANSPARENCY
Extraction Logs

Supported

Loading Reports

Supported

Connecting Klaviyo

Step 1: Create a Klaviyo API key

  1. Sign into your Klaviyo account.
  2. Click the user menu (top right corner of the page), then click Account.
  3. On the Account page, click Settings > API Keys.
  4. On the API Keys page, click the Create API Key button to create an API key.
  5. In the Label column, click the pencil icon next to the API key you just created.
  6. Enter a label for the API key. For example: Stitch integration.
  7. Click Save API Key.

Klaviyo API key

Keep this page open for now - you’ll need it to complete the setup in Stitch.

Step 2: Add Klaviyo as a Stitch data source

  1. Sign into your Stitch account.
  2. On the Stitch Dashboard page, click the Add Integration button.

  3. Click the Klaviyo icon.

  4. Enter a name for the integration. This is the name that will display on the Stitch Dashboard for the integration; it’ll also be used to create the schema in your destination.

    For example, the name “Stitch Klaviyo” would create a schema called stitch_klaviyo in the destination. Note: Schema names cannot be changed after you save the integration.

  5. In the API Key field, paste the Klaviyo API key you created in Step 1.

Step 3: Define the historical replication start date

The Sync Historical Data setting defines the starting date for your Klaviyo integration. This means that:

  • For tables using Key-based Incremental Replication, data equal to or newer than this date will be replicated to your destination.
  • For tables using Full Table Replication, all data - including records that are older, equal to, or newer than this date - will be replicated to your destination.

Change this setting if you want to replicate data beyond Klaviyo’s default setting of 1 year. For a detailed look at historical replication jobs, check out the Syncing Historical SaaS Data guide.

Step 4: Create a replication schedule

In the Replication Frequency section, you’ll create the integration’s replication schedule. An integration’s replication schedule determines how often Stitch runs a replication job, and the time that job begins.

Klaviyo integrations support the following replication scheduling methods:

To keep your row usage low, consider setting the integration to replicate less frequently. See the Understanding and Reducing Your Row Usage guide for tips on reducing your usage.

Step 5: Set objects to replicate

The last step is to select the tables and columns you want to replicate. Learn about the available tables for this integration.

Note: If a replication job is currently in progress, new selections won’t be used until the next job starts.

For Klaviyo integrations, you can select:

  1. Individual tables and columns

  2. All tables and columns

Click the tabs to view instructions for each selection method.

  1. In the integration’s Tables to Replicate tab, locate a table you want to replicate.
  2. To track a table, click the checkbox next to the table’s name. A blue checkmark means the table is set to replicate.

  3. To track a column, click the checkbox next to the column’s name. A blue checkmark means the column is set to replicate.

  4. Repeat this process for all the tables and columns you want to replicate.
  5. When finished, click the Finalize Your Selections button at the bottom of the screen to save your selections.
  1. Click into the integration from the Stitch Dashboard page.
  2. Click the Tables to Replicate tab.

  3. In the list of tables, click the box next to the Table Names column.
  4. In the menu that displays, click Track all Tables and Fields:

    The Track all Tables and Fields menu in the Tables to Replicate tab

  5. Click the Finalize Your Selections button at the bottom of the page to save your data selections.

Initial and historical replication jobs

After you finish setting up Klaviyo, its Sync Status may show as Pending on either the Stitch Dashboard or in the Integration Details page.

For a new integration, a Pending status indicates that Stitch is in the process of scheduling the initial replication job for the integration. This may take some time to complete.

Free historical data loads

The first seven days of replication, beginning when data is first replicated, are free. Rows replicated from the new integration during this time won’t count towards your quota. Stitch offers this as a way of testing new integrations, measuring usage, and ensuring historical data volumes don’t quickly consume your quota.


Klaviyo table reference

Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

id

API endpoint :

Get metrics info

The bounce table contains metrics related to Bounced Email events.

id
STRING

The bounced email event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

bounce (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Full Table

Primary Key :

id

API endpoint :

Get campaigns

The campaigns table contains info about the campaigns in your Klaviyo account.

id
STRING

The campaign ID.

campaign_type
STRING

created
STRING

excluded_lists
ARRAY

id
STRING

The list ID.

Reference:

created
STRING

name
STRING

object
STRING

person_count
INTEGER

type
STRING

updated
STRING

campaigns (table), excluded_lists (attribute)

from_email
STRING

from_name
STRING

is_segmented
BOOLEAN

lists
ARRAY

id
STRING

The list ID.

Reference:

created
STRING

name
STRING

object
STRING

person_count
INTEGER

type
STRING

updated
STRING

campaigns (table), lists (attribute)

message_type
STRING

name
STRING

num_recipients
INTEGER

object
STRING

send_time
DATE-TIME

sent_at
DATE-TIME

status_id
INTEGER

status_label
STRING

subject
STRING

template_id
STRING

type
STRING

updated
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

id

API endpoint :

Get metrics info

The click table contains metrics related to Clicked Email events.

id
STRING

The clicked email event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

click (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

id

API endpoint :

Get metrics info

The dropped_email table contains metrics related to Clicked Email events.

id
STRING

The dropped email event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

dropped_email (table), person (attribute)

statistic_id
STRING

uuid
STRING


global_exclusions

Replication Method :

Full Table

Primary Key :

email

API endpoint :

Get global exclusions

The global_exclusions table contains info about the global exclusions in your Klaviyo account.

email
STRING

object
STRING

reason
STRING

timestamp
STRING


Replication Method :

Full Table

Primary Key :

id

API endpoint :

Get lists

The lists table contains info about the lists in your Klaviyo account.

id
STRING

The list ID.

created
STRING

name
STRING

object
STRING

person_count
INTEGER

type
STRING

updated
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

id

API endpoint :

Get metrics info

The mark_as_spam table contains metrics related to Marked Email as Spam events.

id
STRING

The marked as spam event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

mark_as_spam (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

id

API endpoint :

Get metrics info

The open table contains metrics related to Opened Email events.

id
STRING

The opened email event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

open (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

id

API endpoint :

Get metrics info

The receive table contains metrics related to Received Email events.

id
STRING

The received email event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

receive (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

None

API endpoint :

Get metrics info

The subscribe_list table contains metrics related to Subscribed to List events.

id
STRING

The subscribe to list event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

$event_id
STRING

List
STRING

subscribe_list (table), event_properties (attribute)

object
STRING

person
OBJECT

email
STRING

subscribe_list (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

None

API endpoint :

Get metrics info

The unsubscribe table contains metrics related to Unsubscribed events.

id
STRING

The unsubscribe event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

object
STRING

person
OBJECT

email
STRING

unsubscribe (table), person (attribute)

statistic_id
STRING

uuid
STRING


Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

None

API endpoint :

Get metrics info

The unsub_list table contains metrics related to Unsubscribed from List events.

id
STRING

The unsubscribe to list event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

$event_id
STRING

List
STRING

unsub_list (table), event_properties (attribute)

object
STRING

person
OBJECT

email
STRING

unsub_list (table), person (attribute)

statistic_id
STRING

uuid
STRING


update_email_preferences

Replication Method :

Key-based Incremental

Replication Key :

timestamp

Primary Key :

None

API endpoint :

Get metrics info

The update_email_preferences table contains metrics related to Updated Email Preferences events.

id
STRING

The update email preferences event ID.

timestamp
INTEGER

datetime
STRING

event_name
STRING

event_properties
OBJECT

$event_id
STRING

List
STRING

update_email_preferences (table), event_properties (attribute)

object
STRING

person
OBJECT

email
STRING

update_email_preferences (table), person (attribute)

statistic_id
STRING

uuid
STRING



Questions? Feedback?

Did this article help? If you have questions or feedback, feel free to submit a pull request with your suggestions, open an issue on GitHub, or reach out to us.