Sync data from Klaviyo to your warehouse destination via RudderStack.
4 minute read
RudderStack’s Cloud Extract (ETL) product will be sunset on December 1, 2025. See this release note for more details.
Klaviyo is a powerful ecommerce platform that lets you boost your business revenue. It offers features like trend reports, cohort analysis, and various options for boosting customer engagement.
This document guides you in setting up Klaviyo as a source in RudderStack. Once configured, RudderStack automatically ingests your Klaviyo data and routes it to your specified data warehouse destination.
Go to Sources > New source > Cloud Extract and select Klaviyo v2 from the list of sources.
Assign a name to your source and click Next.
Connection settings
Enter the following connection settings to set up the Klaviyo source:
The connection settings are described below:
API Key : Enter your Klaviyo Private API key. You can find it in your Klaviyo dashboard by clicking your organization name and going to Account & billing > Settings > API Keys.
Start Date: Select the date from when RudderStack ingests your Klaviyo data.
RudderStack will not replicate any data before this date.
Destination settings
The following settings specify how RudderStack sends the data ingested from Klaviyo to the connected warehouse destination:
Table prefix: RudderStack uses this prefix to create a table in your data warehouse and loads all your Klaviyo data into it.
Note that RudderStack does not add special characters like - or _ to the prefix by default. Hence, you need to specify it while setting the prefix.
Schedule Settings: RudderStack gives you three options to ingest the data from Klaviyo:
Basic: Runs the syncs at the specified time interval.
CRON: Runs the syncs based on the user-defined CRON expression.
Manual: You are required to run the syncs manually.
For more information on the schedule types, refer to the Common Settings guide.
Selecting the data to import
Choose the Klaviyo data you want to ingest by selecting the required resources. The below table mentions the syncs and API endpoints supported by these resources from Klaviyo to your warehouse destination:
Resource
Full Refresh
Incremental
Primary key
Cursor
Klaviyo API endpoint
campaigns
Yes
Yes
id
updated_at
/campaigns
email_templates
Yes
Yes
id
updated
/templates
events
Yes
Yes
id
datetime
/events
flows
Yes
Yes
id
updated
/flows
global_exclusions
Yes
Yes
id
updated
/profiles RudderStack filters profiles with suppressions.
lists
Yes
Yes
id
updated
/lists
metrics
Yes
No
id
-
/metrics
segments
Yes
Yes
id
updated
/segments
segments_profiles
Yes
No
id
-
/segments/{segment_id}
profiles
Yes
Yes
id
updated
profiles
See the Common Settings guide for more information on the Full Refresh and Incremental sync modes.
Klaviyo is now configured as a source. RudderStack will start ingesting data from Klaviyo as per your specified schedule and frequency.
You can further connect this source to your data warehouse by clicking on Add Destination:
Use the Use Existing Destination option if you have an already-configured data warehouse destination in RudderStack. To configure a data warehouse destination from scratch, select the Create New Destination button.
FAQ
Can I connect my Klaviyo source to multiple data warehouse destinations?
You can connect only one data warehouse destination per Cloud Extract source. If you wish to send data to multiple warehouses, you can configure multiple Cloud Extract sources with the same settings and connect them to each data warehouse.
Is it possible to have multiple Cloud Extract sources writing to the same schema?
Yes, it is.
RudderStack associates a table prefix for every Cloud Extract source writing to a warehouse schema. This way, multiple Cloud Extract sources can write to the same schema with different table prefixes.
How does RudderStack count the events for Cloud Extract sources?
RudderStack counts the number of records returned by the source APIs when queried during each sync. It considers each record as an event.
How does RudderStack set the table name for the data sent via Cloud Extract sources?
RudderStack sets the table name for the resource you are syncing to the warehouse by adding rudder_ to the Table prefix you set while configuring your Cloud Extract source in the dashboard.
For example, if you set test_ as the Table prefix in the dashboard, RudderStack sets the table name as test_rudder_<resource_name>, where <resource_name> is the name of the resource you are syncing (for example, contacts, messages, etc.).
Note that RudderStack does not add the character _ to the prefix by default. Hence, you need to specify it while setting the prefix.
This site uses cookies to improve your experience while you navigate through the website. Out of
these
cookies, the cookies that are categorized as necessary are stored on your browser as they are as
essential
for the working of basic functionalities of the website. We also use third-party cookies that
help
us
analyze and understand how you use this website. These cookies will be stored in your browser
only
with
your
consent. You also have the option to opt-out of these cookies. But opting out of some of these
cookies
may
have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This
category only includes cookies that ensures basic functionalities and security
features of the website. These cookies do not store any personal information.
This site uses cookies to improve your experience. If you want to
learn more about cookies and why we use them, visit our cookie
policy. We'll assume you're ok with this, but you can opt-out if you wish Cookie Settings.