Email/SMS Table

The Email/SMS table tracks email and SMS campaign and flow performance across all connected providers. One row per message entity per day.

📋

Table Guide

What You Can Answer With This Table

  • How are my email campaigns performing across channels and providers? — use conversion_value, clicks, channel
  • Which automation flows drive the most revenue? — use conversion_value, purchases, group by flow_name
  • How is my subscriber list growing or shrinking? — use subscribed_to_list, unsubscribed

Before You Query

  • Required field: event_date
  • Subscriber metrics (subscribed_to_list, unsubscribed) are not tied to a specific campaign — campaign_id will be NULL for these rows.

Key Relationships

TableJoin KeyUse This Join To
Email/SMS Settingsmessage_idExplain campaign or flow performance with message content and send settings

When to Use a Different Table

  • Use Pixel Joined table when you need Triple Whale-attributed revenue from email/SMS campaigns. The Email/SMS table is for channel-reported email/SMS performance.
  • Use Email/SMS Settings table when you need message configuration or content, such as subject lines or templates. The Email/SMS table is for daily message performance trends.

View the full Triple Whale Data Ontology →


Dimensions

Dimensions are immutable properties that can be used for grouping data.

TitleIDTypeDescription
Event Hourevent_hourstring

The hour of the day the email/SMS action (e.g. sent, opened, received) occurred, according to a 24-hour clock. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected).

Example values: 07, 16, 21

Event Dateevent_datedateThe date the email/SMS action (e.g. sent, opened, received) occurred. Based on the shop time zone at the moment of the event (or the user time zone, if no sales platform is connected).
Event Dayevent_date.daydateThe day the email/SMS action occurred. Derived from event_date.
Event Weekevent_date.weekdateThe Sunday of the week during which the email/SMS action occurred. Derived from event_date.
Event Monthevent_date.monthdateThe month during which the email/SMS action occurred. Derived from event_date.
Event Quarterevent_date.quarterdateThe first month of the quarter during which the email/SMS action occurred. Derived from event_date.
Event Yearevent_date.yeardateThe year during which the email/SMS action occurred. Derived from event_date.
Campaign IDcampaign_idstringThe unique ID of the email/SMS campaign, assigned by the email/SMS platform.

Example value: 01G2MRY5AF2A4QFJMS5EF8X2MW
Campaign Namecampaign_namestringThe name of the email/SMS campaign.

Example values: Fall Colors Launch, Father's Day Sale 50% Off
Campaign Statuscampaign_statusstringThe status of the campaign associated with the email/SMS.

Example value: Sent, Cancelled
ChannelchannelstringThe platform used to send email/SMS.

Example values: klaviyo, Smsbump
Messaging Channel Typechannel_typestring

The messaging channel used to deliver the communication.

Example values: email, sms, push

Flow Action IDflow_action_idstringThe unique ID for a specific action within an automation flow. Assigned by the email/SMS platform.

Example value: 49497165
Flow Action Nameflow_action_namestringThe name of the specific action within an automation flow.

Example values: SEND_EMAIL, SEND_SMS, AB_TEST, TIME_DELAY, WEBHOOK
Flow Action Statusflow_action_statusstringThe status of a specific action within an automation flow.

Example values: draft, live, manual
Flow IDflow_idstringThe unique ID for the automation flow. Assigned by the email/SMS platform.

Example value: 726935
Flow Nameflow_namestringThe name of the automation flow.

Example value: Abandoned cart reminder: 1-3 days, Joined Membership
Flow Statusflow_statusstringThe status of the automation flow.

Example values: draft, live
Flow Trigger Is Triple Whaleflow_trigger_is_twboolean

True if the flow was triggered by a Triple Whale (Sonar) metric or event.

Possible values: true, false

Flow Trigger Metric IDflow_trigger_metric_idstring

The ID of the metric or event that triggered the flow.

Example value: Lm72Qs

Flow Trigger Metric Nameflow_trigger_metric_namestring

The name of the metric or event that triggered the flow.

Example values: Checkout Started, Added to Cart, Abandoned Cart, Fulfilled Order

Flow Trigger Organizationflow_trigger_organizationstring

The platform where the flow trigger originated.

Example values: Shopify, API, Klaviyo, Triple Whale

Flow Trigger Sonar Enabledflow_trigger_sonar_enabledboolean

True if Sonar is enabled for this flow trigger.

Possible values: true, false

Message IDmessage_idstringThe unique ID for the individual message sent as part of a campaign or flow. Assigned by the email/SMS platform.

Example value: UKDRM6
Message Namemessage_namestringThe name of the individual message sent.

Example value: Welcome Series: Email 2
Report Typereport_typestringThe type of report generated.

Example values: flow, campaign
Shop IDshop_idstring

The unique ID of the shop (often corresponds to the shop domain). Can be used to group or filter data by shop in multi-store reports.

Example values: example-US.myshopify.com, example-EU.myshopify.com

Shop Nameshop_namestring

The name of the shop. Can be used to group or filter data by shop in multi-store reports.

Example values: example-US, example-EU

Measures

Measures are numeric fields that can be aggregated and/or combined to calculate new metrics.

TitleIDTypeDescriptionSource
ClicksclicksnumericThe total number of unique clicks on links within the email/SMS.Klaviyo
Channel-Reported Conversion Valueconversion_valuenumericRevenue generated from channel-reported conversions (purchases).Klaviyo, Yotpo
Delivered MessagesdeliverednumericThe total number of messages successfully delivered to the targeted recipient.Yotpo
OpensopenednumericThe total number of unique email opens.Klaviyo
Channel-Reported Conversions (Purchases)purchasesnumericNumber of channel-reported conversions (purchases).Klaviyo, Yotpo
Received MessagesreceivednumericThe total number of email messages successfully received by the target audience.Klaviyo
Sent Messagessentnumeric

The total number of messages sent.

Note: Applicable to Klaviyo SMS, Yotpo Email, and Yotpo SMS; does not include data for Klaviyo email.

Klaviyo, Yotpo
Ad SpendspendnumericChannel-reported ad spend, excluding any custom expenses marked as ad spend.Yotpo
Subscribed Recipientssubscribed_to_listnumericThe total number of recipients subscribed to any email/sms list. Not associated with a specific campaign (campaign_id will be null).Klaviyo, Yotpo
Unsubscribed RecipientsunsubscribednumericThe total number of recipients who unsubscribed from any email/sms list as a result of the campaign.Klaviyo, Yotpo