Klaviyo to ClickHouse integration

Connect Klaviyo to ClickHouse and automatically sync your marketing platform data. Weld extracts Lists, Profiles, Campaigns, and Flows from Klaviyo, loads them into ClickHouse, and lets you transform the data using SQL or dbt, no custom scripts required.

4.8 on G2
KlaviyoSource
WeldWeld
ClickHouseWarehouse
Weld · New sync
KlaviyoSourceKlaviyoConnected
Tables to sync
  • event13 cols
  • profile38 cols
  • segment_profile3 cols
  • list_profile2 cols
  • campaign21 cols
  • metric9 cols
  • Extract
  • Load
  • Keep in sync
ClickHouseDestinationClickHouseReady
klaviyo schema
  • klaviyo.eventSynced
  • klaviyo.profileSyncing
  • klaviyo.segment_profileSynced
  • klaviyo.list_profileSynced
  • klaviyo.campaignSynced
  • klaviyo.metricSynced
Klaviyo tables
13
fields, typed
122
relationships kept
8
agent context included
MCP

Trusted by data and AI teams

  • Flatpay
  • Holafly
  • eComplete
  • Dishoom
  • Danish Endurance
  • Female Invest
  • Son of a Tailor
  • Onomondo
  • Medik8
  • Pas Normal Studios
How it works

How to set up Klaviyo to ClickHouse in Weld.
In the app, with the API or an agent.

Weld · New Klaviyo sync
KlaviyoNew connectionKlaviyoAuthorised
Connection nameklaviyo
AuthorizeOpens Klaviyo to grant read access
Use cases

Why sync Klaviyo to ClickHouse?
Ready for analysis.

Centralizing your Klaviyo data in ClickHouse lets you join it with other data sources for cross-platform analytics and deeper insights.

Build reliable dashboards and reports by querying Klaviyo data directly in ClickHouse using SQL or your preferred BI tool.

  • Centralized data warehouse

    Bring Klaviyo data into ClickHouse alongside other sources to create a single source of truth for your organization.

  • Automated reporting

    Replace manual exports and spreadsheet-based reporting with automated pipelines from Klaviyo to ClickHouse. Connect BI tools like Looker, Metabase, or Power BI.

Schema

What data can you sync?
Every Klaviyo table, keys intact.

Weld syncs the following data objects from Klaviyo into ClickHouse. The exact tables and fields depend on your Klaviyo configuration and the permissions granted during setup.

Open the schema explorer
All 13 tables
  • event
  • profile
  • segment_profile
  • list_profile
  • campaign
  • metric
  • segment
  • flow
  • list
  • email_template
  • campaign_audiences_included
  • campaign_audiences_excluded
  • profile_predictive_analytics_ranked_channel_affinity
Weld MCP server

Ask your agent.
It queries ClickHouse for you.

Connect Claude, Cursor, ChatGPT or your own agent to Weld over MCP. It reads the Klaviyo context, finds the tables it needs and runs the query in ClickHouse.

Claude CodeOpus 5
>

How many event rows do we have per profile? Use our Klaviyo data in ClickHouse.

Reading the Klaviyo context first, so the query uses the right tables and keys.

●weld·search_available_references
⎿raw.klaviyo.event
raw.klaviyo.profile
+ 11 more Klaviyo tables
●weld·get_reference_schema
⎿event · 13 columns
joins profile on profile_id
●weld·run_query
⎿select p.id, count(*) from {{raw.klaviyo.event}} e
join {{raw.klaviyo.profile}} p on e.profile_id = p.id
group by 1
submitted
●weld·get_query_status
⎿DONE
●weld·get_query_result
⎿rows returned
✓Answered from Klaviyo data in ClickHouse
>Ask about your Klaviyo data
Under the hood

Technical considerations.
What to expect.

Reverse ETL

ELT vs. reverse ETL: Klaviyo and ClickHouse

ELT (Extract, Load, Transform) moves data from Klaviyo into ClickHouse for analysis. This is the approach shown on this page, and the one to use for dashboards, reports, and data models.

Reverse ETL works the other direction: it pushes enriched data from ClickHouse back into Klaviyo. For example, you could sync computed lead scores or customer segments from your warehouse into Klaviyo to personalize outreach.

Weld supports both directions, so you can build a complete data loop between Klaviyo and ClickHouse.

ClickHouse to Klaviyo
Incremental syncing
Weld uses incremental syncing where supported by the Klaviyo API, loading only new and updated records to minimize data transfer and warehouse costs.
Schema handling
Weld automatically manages schema changes. If Klaviyo adds new fields, they're detected and added to the corresponding ClickHouse tables.
Data freshness
Sync frequency depends on your Weld plan. Most connectors support schedules from every 5 minutes up to daily intervals.
Security
All data is encrypted in transit (TLS) and at rest. Weld is SOC 2 Type II compliant and supports IP whitelisting for database connections.
FAQ

Common questions.
About Klaviyo to ClickHouse.

Start syncing Klaviyo to ClickHouse.

Set up your Klaviyo data pipeline in minutes. No credit card required. Free for 14 days.

KlaviyoSource
WeldWeld
ClickHouseWarehouse