CS Messages Table

The CS Messages table stores individual customer support messages across email, social media, and chat channels. One row per message, linked to a parent ticket.

📋

Table Guide

What You Can Answer With This Table

  • What are customers asking about, including product mentions? — use intents, body, products_names
  • How are support messages split by channel, sender, or automation path? — use channel, is_from_agent, via

Before You Query

  • Required field: event_date
  • Agent vs. customer messages: Use is_from_agent to separate agent replies from customer messages. Sender and receiver columns reflect the actual message direction.
  • Internal notes: Messages with is_public = false are internal notes visible only to the support team, not sent to the customer.

Key Relationships

TableJoin KeyUse This Join To
CS Eventsticket_id to object_idPlace message content and AI intents in the ticket lifecycle sequence

When to Use a Different Table

  • Use CS Tickets table when you need ticket-level metadata such as agent, priority, status, tags, or surveys. The CS Messages table is for individual message content and direction.
  • Use Customer Support Agg Metrics table when you need aggregated daily support KPIs. The CS Messages table is for message-level conversation detail.

View the full Triple Whale Data Ontology →


Dimensions

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

TitleIDTypeDescription
Event Dateevent_datedateThe date the CS message was received. 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 event occurred. Derived from event_date.
Event Weekevent_date.weekdateThe Sunday of the week during which the event occurred. Derived from event_date.
Event Monthevent_date.monthdateThe month during which the event occurred. Derived from event_date.
Event Quarterevent_date.quarterdateThe first month of the quarter during which the event occurred. Derived from event_date.
Event Yearevent_date.yeardateThe year during which the event occurred. Derived from event_date.
Message Bodybodystring

The content of the message.

Example value: Thank you for my shipment! Super happy with your product!

Channelchannelstring

The channel through which the message was delivered.

Example values: facebook-comment, instagram-mention, email, chat

Message Created Datecreated_attimestamp

The time the message was created. Formatted according to the ISO 8601 international standard.

Example value: 2019-04-15 08:26:00

Message Deleted Datedeleted_attimestamp

The time the message was deleted. Formatted according to the ISO 8601 international standard.

Example value: 2019-04-15 08:26:00

Is From Agentis_from_agentboolean

True if the message was sent by a customer support agent.

Possible values: true, false

Is Publicis_publicboolean

True if the message is visible to customers (not just the support team).

Possible values: true, false

Message IDmessage_idstring

The unique message ID.

Example value: 435397561

Attributed Ordersordersrepeated string

A list of order IDs associated with the message. Returned as an array of strings.

Example value: ["3797121360046", "3797258330286"]

Attributed Product Namesproducts_namesrepeated string

The names of products mentioned in the message. Returned as an array of strings.

Example value: ["Green Soft Socks 3-Pack", "Paring Knife Travel Case", "Gift Subscription"]

Receiver Emailreceiver_emailstring

The email address of the recipient of the message.

Example value: [email protected]

Receiver IDreceiver_idstring

The unique identifier assigned to the message recipient.

Example value: 123456789

Receiver Namereceiver_namestring

The full name of the recipient of the message.

Example value: Jane Doe

Sender Emailsender_emailstring

The email address of the sender of the message.

Example value: [email protected]

Sender IDsender_idstring

The unique identifier assigned to the message sender.

Example value: 987654321

Sender Namesender_namestring

The full name of the sender of the message.

Example value: John Smith

Message Sent Datesent_attimestamp

The time the message was sent. Formatted according to the ISO 8601 international standard.

Example value: 2019-09-20 04:03:22

Attributed SKUsskusrepeated string

The SKU identifiers of products mentioned in the message. Returned as an array of strings.

Example value: ["GP-BACK-02", "A02630", "POP200NAVY"]

Message Subjectsubjectstring

The subject line of the message.

Example value: Wholesale Account Inquiry

Ticket IDticket_idstring

The unique identifier for the customer support ticket associated with the message.

Example value: 68845382

Message Sent Viaviastring

The communication platform or method used to send the message.

Example value: rule, helpdesk, email