Dataset
Klaviyo email and SMS event datasets for AI training
A Klaviyo dataset is an export of a business's Klaviyo account: Campaigns, Flows and their Flow Messages, Templates, Lists and Segments, Catalog Items and Coupons, and the Event timeline on each Profile, where every event belongs to a named Metric such as Received Email, Clicked SMS or Placed Order. SourceX sources it to a buyer's spec from established businesses that run Klaviyo, typically online stores. Each dataset is de-identified and licensed for an agreed permitted use, and it is not delivered before a signed agreement.
Dataset manifest
Sourced to your spec- What it is
- Campaigns, flows, templates, lists and segments from one Klaviyo account, with each profile's timeline of message and store events
- Typical systems
- Klaviyo email and SMS with an ecommerce integration such as Shopify, WooCommerce or BigCommerce feeding order and checkout metrics; sign-up forms, catalog and coupons
- Typical history
- Varies by account; specify a date range and ask how far back the store integration loaded orders
- Modality
- Structured events and definitions; email HTML and SMS text as templates with tags
- Delivery formats
- JSONL events per metric; profile and membership tables; flow and campaign definitions as JSON; templates as HTML and text
- Preparation
- Emails, phones, names and addresses removed, profile IDs replaced with keys; inbound SMS text excluded; click URLs stripped of tokens
- Licensing
- Scoped per account, metrics and date range; permitted use agreed per license; Klaviyo's terms on exported data and API use checked by owner and buyer
- Availability
- Sourced to your spec; event depth depends on the integration and account age, and supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| profile_key | string | Pseudonymous key replacing the Profile ID; email, phone number and external ID are removed. |
| profile_state | object | The Profile's custom properties, email and SMS consent status and predictive analytics values, as they stood at extraction. |
| memberships | array | The Lists and Segments the Profile was in at extraction, with each Segment's definition. |
| events | array | The Profile's Event records in time order, each with its datetime. |
| events[].metric | object | The Metric the Event belongs to, by name and source integration, such as Opened Email from Klaviyo or Placed Order from the store. |
| events[].event_properties | object | The Metric's own properties: the subject on message events, items and discount codes on order events, the URL on clicks. |
| events[].value | number | The value Klaviyo stores on events such as Placed Order and Ordered Product and reads as revenue. |
| events[].message_ref | object | On message events, the Campaign or the Flow Message that produced the Event, with the test variation where one ran. |
| events[].attribution | object | On conversion events, the message, Flow and channel Klaviyo credited under the account's attribution settings. |
| campaign | object | A Campaign's channel, included and excluded Lists and Segments, send time and message variations. |
| flow | object | A Flow as returned at extraction: its trigger, time delays, splits and Flow Messages with each one's status. |
| template | object | A Template's subject, preview text and HTML or SMS body with Klaviyo's template tags left in place. |
| catalog_items | array | Catalog Items and Coupons that messages reference: title, category and price as synced at extraction; unique coupon codes are removed. |
| attribution_settings | object | The account's attribution windows per channel, as configured on the extraction date. |
Field names from the table above; values are masked placeholders.
Example record
{
"profile_key": "prof_9f3a1c",
"profile_state": {
"as_of": "2025-08-01",
"properties": {
"Shopify Tags": [
"repeat-buyer"
]
},
"subscriptions": {
"email": "SUBSCRIBED",
"sms": "NEVER_SUBSCRIBED"
},
"predictive_analytics": {
"historic_number_of_orders": 3
}
},
"memberships": [
{
"type": "segment",
"name": "Bought twice, quiet 90 days",
"definition": "Placed Order at least 2 over all time AND zero times in the last 90 days"
}
],
"events": [
{
"event_ref": "ev_01",
"datetime": "2025-06-03T14:02:11+00:00",
"metric": {
"name": "Checkout Started",
"integration": "Shopify"
},
"event_properties": {
"Items": [
"Ridgeline trail shoe"
]
},
"value": 128.0
},
{
"event_ref": "ev_02",
"datetime": "2025-06-03T18:02:40+00:00",
"metric": {
"name": "Received Email",
"integration": "Klaviyo"
},
"event_properties": {
"Subject": "Still thinking it over?"
},
"message_ref": {
"flow_key": "flow_cart",
"flow_message_key": "fm_1",
"variation": "B"
}
},
{
"event_ref": "ev_03",
"datetime": "2025-06-03T18:02:58+00:00",
"metric": {
"name": "Opened Email",
"integration": "Klaviyo"
},
"event_properties": {
"Apple Privacy Open": true
},
"message_ref": {
"flow_message_key": "fm_1"
}
},
{
"event_ref": "ev_04",
"datetime": "2025-06-04T01:21:33+00:00",
"metric": {
"name": "Placed Order",
"integration": "Shopify"
},
"event_properties": {
"Items": [
"Ridgeline trail shoe"
],
"Discount Codes": []
},
"value": 128.0,
"attribution": {
"flow_key": "flow_cart",
"flow_message_key": "fm_1",
"channel": "email"
}
}
],
"flow": {
"flow_key": "flow_cart",
"name": "Abandoned checkout",
"status": "live",
"trigger": {
"type": "metric",
"metric": "Checkout Started"
},
"actions": [
{
"type": "time_delay",
"hours": 4
},
{
"type": "send_email",
"flow_message_key": "fm_1"
}
]
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Deciding the next message and its timing
Timelines show which message, at what delay after a checkout, preceded an order and which preceded an unsubscribe.
Drafting flows that match real ones
Flow definitions with triggers, delays and splits, read beside the events they produced, are worked examples for an agent that builds automations.
Subject lines and SMS copy with outcomes
Templates and test variations join to per-message opens, clicks and orders, including the variations that lost.
Attribution models with the raw sequence
Because sends, clicks and orders share a timeline, a model can be tested against credit rules other than the platform's.
Evaluation items for marketing agents
Ask a model to pick the segment and send time for a past campaign, then score it against what followed.
Use-case guides: Sales agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Store events throughout
Order and checkout metrics run the whole date range with no disconnected months.
Message links on events
Message events resolve to a Campaign or Flow Message in the delivery, with its template.
Machine opens flagged
Opened Email events keep the property that flags Apple Mail privacy opens, so open rates can be computed without them.
Order and line metrics reconciled
Placed Order values are reconciled to Ordered Product values, which omit shipping, tax and order discounts, and refund events are present.
Attribution settings on file
The windows in force at extraction ship with the data, with any known change dates.
One metric per event type
A store migration can leave two Placed Order metrics from two integrations; the delivery says which is which.
Document stack
Klaviyo dataset
Messages and orders are events on one profile timeline
Klaviyo has one shape for everything that happens to a person: an Event of a named Metric on a Profile. Received Email, Opened Email, Clicked Email, Received SMS and Clicked SMS come from Klaviyo itself. Checkout Started, Placed Order, Ordered Product and Refunded Order come from the store integration, and Viewed Product from the script on the storefront. They all sit on one timeline under one profile key, so checkout, flow email, click and order can be read in sequence without joining two vendors' customer IDs.
Message events carry the Campaign or Flow Message they came from, with the test variation, and a conversion event carries the message Klaviyo credited. Revenue can be tied to one message at event level, and with the raw sequence present a buyer can recompute the credit under its own rule. Placed Order is one event per order and Ordered Product is one per item, both with a value, so summing them counts revenue twice. With the Shopify integration a cancellation or full refund is a later event of its own metric, a partial refund produces none, and Klaviyo subtracts neither from revenue. Opens that Apple Mail generated with nobody reading are still Opened Email events, flagged by a property Klaviyo has named Apple Privacy Open, so check that the sample carries it.
The timeline is history, but what surrounds it is current state. A profile property holds its latest value, a Catalog Item shows today's price, and a synced event is not updated when its order later changes. Orders can predate the marketing: on connection the integration loaded past orders under their original dates, so the early timeline shows purchases with no messages before them. That silence is not a holdout group.
Current membership, flows without edit history, and a moving attribution window
The API returns Lists and Segments as they are today. A Segment is a saved rule that Klaviyo keeps re-evaluating, and the API does not return who was in it on the day a campaign went out, only counts of members added and removed over time. The Campaign records which lists and segments it targeted, and Received Email events show who got the message. Skipped profiles, suppressed or recently messaged, may leave no event of their own, so ask how they can be counted.
A Flow comes back as structure: the trigger, the time delays, the splits and each Flow Message with its status. There is an updated stamp and no history of edits, so a delay shortened last spring returns only its new value, though the change shows as a shift in the gap between trigger events and sends. A Template comes back with its tags in place, such as a first-name tag or a product block filled at send time, so the dataset holds the template and the events that fed it, not the email each person saw.
Attributed revenue is the least stable figure. Klaviyo credits a conversion to a message under attribution windows that the account sets and can change. Ask whether a change was applied to past conversions or only to new ones, because a long series may mix rules. To test a sample, take fifty credited Placed Order events, find the credited message's open or click on the timeline and measure the gap. The spread of gaps shows which windows applied. Then count events per metric by month to find where the backfill ends.
What to check before licensing
- Have the data owner and your counsel read Klaviyo's terms on exported data and API use before a permitted use is agreed.
- Check how profiles were de-identified: email, phone, external ID, address and IP removed, custom properties screened, and click URLs stripped of tokens.
- Ask how SMS consent was recorded and whether texts typed by subscribers are excluded. Have counsel confirm that SMS consent and message content were handled lawfully.
- Ask whether the same store's orders are also being licensed from the ecommerce platform, and agree which copy is the source of record so order data is not licensed twice.
- Ask for the attribution windows in force at extraction and any dates they changed, then check the sample's gaps between credited messages and orders.
- Record the extraction date for segment membership and flow definitions, and ask whether the owner kept earlier exports.
- Ask which integration fed order events, how far back it loaded orders, and whether the store changed platforms during the date range.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Can revenue be tied to a specific Klaviyo email or SMS?
Yes, at event level. A Placed Order event carries the message, flow and channel Klaviyo credited, and that message's opens and clicks sit on the same profile timeline. The credit follows the account's attribution settings, which can change, so ask what they were across the date range. With the raw sequence, credit can also be recomputed.
Is segment membership history available?
Not per profile. The API returns who is in a list or segment at the moment of the pull. A segment is a rule that Klaviyo re-evaluates, and its reporting gives only counts of members added and removed over time. Who received a campaign can be rebuilt from Received Email events, but who qualified for a segment last year cannot be listed.
Does the dataset include each email as the recipient saw it?
No. Klaviyo returns the template with its tags in place, so a greeting is a first-name tag and a product block is a reference filled at send time. The dataset holds the template, the subject on each message event and the event data that fed it, not a render per recipient.
How do Klaviyo order events differ from the store's own order records?
They are a synced copy made for marketing. Placed Order, Ordered Product and Refunded Order arrive as events with items, values and discount codes, and with the Shopify integration only a full refund produces a Refunded Order event. They do not replace the store's records of order edits, payments and returns. If you license both, agree which is the source of record.
Are SMS messages and replies included?
Outbound messages can be included, and replies usually are not. SMS templates and their send and click events are account content, while a text a subscriber typed is personal content. SMS marketing depends on recorded consent, so ask how it was captured and have counsel confirm that including message content is lawful.
Is SourceX affiliated with Klaviyo?
Klaviyo is named to identify the system the records come from. That does not imply a partnership with or endorsement by Klaviyo. The records belong to the business that runs Klaviyo, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Email marketing campaigns with results
Campaign and flow sends with the message as sent, the segment rule, test variants and aggregate results
- E-commerce order histories
Order-level records that follow every line to its end: canceled, kept, exchanged, returned or refunded
- Mailchimp email campaign records
Campaigns, templates and automation emails from one Mailchimp account with their reports, plus each audience's members, tags, segments and email activity
- Braze customer engagement records
Campaign and Canvas definitions from one Braze workspace with variants and control groups, the event-level Currents archive they produced, and de-identified user profiles
- Shopify store order and catalog records
Orders, line items, transactions, fulfillments and refunds from one Shopify store, with its product, variant and inventory records
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.