Skip to main content

How to connect Klaviyo

Connect your Klaviyo account to see email marketing data and sync RFM segments.

Updated today

Overview

Connecting Klaviyo to Datadrew lets you bring your email marketing data into the platform. Once connected, Drew AI can answer questions about your email campaigns, flows, and subscriber engagement directly alongside your Shopify and advertising data.

Prerequisites

  • A Klaviyo account with access to the account you want to connect

  • Owner or Admin role on the Klaviyo account

  • Datadrew installed on your Shopify store

Step-by-step connection

  1. Open the Integrations page. In Datadrew, click Integrations in the sidebar.

  2. Find the Klaviyo card. Locate the Klaviyo integration card and click "Connect".

  3. Authorize with Klaviyo. A Klaviyo authorization window will open. Log in to your Klaviyo account if prompted, then review the permissions Datadrew is requesting. These include read access to your accounts, campaigns, flows, lists, metrics, profiles, segments, and templates.

  4. Approve the connection. Click "Allow" to grant Datadrew access to your Klaviyo data.

  5. Confirm the connection. You will be redirected back to Datadrew. The Klaviyo card will update to show a "Connected" status.

What data is accessible

Once connected, Datadrew can access the following Klaviyo data through Drew AI:

  • Campaigns — email campaign details, send dates, and performance metrics

  • Flows — automated flow configuration and performance

  • Lists — subscriber lists and membership counts

  • Profiles — subscriber profiles and engagement data

  • Metrics — email engagement metrics (opens, clicks, conversions)

  • Templates — email template information

Note: Klaviyo data is primarily used by Drew AI for real-time queries. You can ask Drew AI questions like "What was the open rate on my last email campaign?" or "Which flow generates the most revenue?" Drew AI will fetch the data directly from Klaviyo's API to give you up-to-the-minute answers.

RFM segment sync to Klaviyo

In addition to pulling data from Klaviyo, Datadrew can also push RFM segments back to Klaviyo. This lets you create targeted email campaigns based on Datadrew's RFM customer segmentation (Champions, Loyal Customers, At Risk, etc.).

To set up RFM segment sync:

  1. Go to Retention > Customer > RFM Analysis in Datadrew.

  2. Look for the Klaviyo sync option to push your RFM segments as Klaviyo lists.

Troubleshooting tips

  • Authorization failed — Make sure you are logging in with a Klaviyo account that has Owner or Admin permissions. Users with limited roles may not be able to authorize third-party apps.

  • "Session expired" error — The authorization process uses a secure one-time code. If you take too long (more than 10 minutes) to complete the authorization, the session will expire. Try connecting again.

  • Data not showing in Drew AI — Verify the connection is active on the Integrations page. If it shows as disconnected, try reconnecting.

Need help?

If you encounter issues connecting Klaviyo, contact us at support@datadrew.io or use the in-app chat. We can help verify your permissions and troubleshoot the connection.

Related articles

Did this answer your question?