Skip to main content

Connecting your Klaviyo account

Step-by-step guide to connecting your Klaviyo account to Datadrew.

Updated today

Connecting your Klaviyo account to Datadrew lets you see email marketing performance alongside your Shopify, ad, and website data. Datadrew uses Klaviyo's OAuth to securely access your campaign, flow, and profile data. This guide walks you through the process.

Prerequisites

  • An active Klaviyo account with admin or owner access.

  • An active Datadrew account with your Shopify store already connected.

  • Pop-ups enabled in your browser.

Step-by-step connection

  1. In Datadrew, go to Settings > Integrations.

  2. Find the Klaviyo card and click Connect.

  3. A Klaviyo authorization window will open. Sign in if you are not already logged in.

  4. Klaviyo will ask you to authorize Datadrew. The permissions requested include:

    • Read access to accounts, campaigns, flows, metrics, lists, segments, profiles, templates, events, and forms

    • Write access to profiles, lists, segments, events, and tags (used for RFM segment syncing)

  5. Click Allow to authorize. You will be redirected back to Datadrew.

  6. Datadrew will automatically detect your Klaviyo account name and ID. The integration will be marked as connected.

OAuth vs. API key

Datadrew uses Klaviyo's OAuth 2.0 flow with PKCE (Proof Key for Code Exchange) for secure authorization. This is more secure than sharing an API key because:

  • You never need to copy and paste an API key.

  • Datadrew receives scoped access tokens that can be revoked at any time from your Klaviyo settings.

  • Token refresh is handled automatically.

What data syncs

Once connected, Datadrew syncs the following from your Klaviyo account:

  • Campaigns -- Campaign names, statuses, send times, and performance metrics.

  • Flows -- Automated flow details and statuses.

  • Profiles -- Customer profiles including email, properties, and segment membership.

  • Lists -- Email list names and member counts.

  • Metrics -- Klaviyo metric definitions used for event tracking.

  • Email templates -- Template names and metadata.

What to expect after connecting

  • Your Klaviyo integration will be available to Drew AI immediately for real-time queries (Drew AI can access live Klaviyo data through the MCP gateway).

  • Historical data syncs via the data pipeline, typically completing within 15 to 45 minutes.

  • Once synced, Klaviyo data appears in your Datadrew dashboards and is available for Drew AI natural language queries.

Disconnecting and reconnecting

You can disconnect Klaviyo at any time from Settings > Integrations. To reconnect, click Connect and complete the OAuth flow again. You can also revoke Datadrew's access directly from your Klaviyo account under Settings > API Keys > OAuth.

Need help? Contact us at support@datadrew.io.

Related articles


Need help?

If you have questions or run into issues, reach out to us at support@datadrew.io or use the in-app chat. We're happy to help.

Did this answer your question?