CS Messages Table
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 GuideWhat You Can Answer With This Table
- What are customers asking about? — use
intents,subject,body- Which support channels generate the most messages? — group by
channel- What products are mentioned in support conversations? — use
products_names,skus- What is the split between agent and customer messages? — filter by
is_from_agent- How are messages being sent (manual vs. automated)? — group by
viaBefore You Query
- Required field:
event_date- Agent vs. customer messages: Use
is_from_agentto separate agent replies from customer messages. Sender and receiver columns reflect the actual message direction.- Internal notes: Messages with
is_public=falseare internal notes visible only to the support team, not sent to the customer.Key Relationships
Table Join Key What the Join Enables CS Events ticket_idtoobject_idTicket lifecycle events (when the parent ticket was created, closed, reopened, assigned) When to Use a Different Table
- Need ticket-level metadata (agent, priority, status, tags, surveys) → CS Tickets table. CS Tickets has agent assignment, priority, status, tags, and satisfaction survey data that CS Messages does not.
- Need aggregated daily support KPIs → Customer Support Agg Metrics table (BETA). Agg Metrics provides pre-calculated daily response and resolution times.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
Title | ID | Type | Description |
|---|---|---|---|
Event Date |
| date | The 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 Day |
| date | The day the event occurred. Derived from |
Event Week |
| date | The Sunday of the week during which the event occurred. Derived from |
Event Month |
| date | The month during which the event occurred. Derived from |
Event Quarter |
| date | The first month of the quarter during which the event occurred. Derived from |
Event Year |
| date | The year during which the event occurred. Derived from |
Message Body |
| string | The content of the message. Example value: |
Channel |
| string | The channel through which the message was delivered. Example values: |
Message Created Date |
| timestamp | The time the message was created. Formatted according to the ISO 8601 international standard. Example value: |
Message Deleted Date |
| timestamp | The time the message was deleted. Formatted according to the ISO 8601 international standard. Example value: |
Is From Agent |
| boolean | True if the message was sent by a customer support agent. Possible values: |
Is Public |
| boolean | True if the message is visible to customers (not just the support team). Possible values: |
Message ID |
| string | The unique message ID. Example value: |
Attributed Orders |
| repeated string | A list of order IDs associated with the message. Returned as an array of strings. Example value: |
Attributed Product Names |
| repeated string | The names of products mentioned in the message. Returned as an array of strings. Example value: |
Receiver Email |
| string | The email address of the recipient of the message. Example value: |
Receiver ID |
| string | The unique identifier assigned to the message recipient. Example value: |
Receiver Name |
| string | The full name of the recipient of the message. Example value: |
Sender Email |
| string | The email address of the sender of the message. Example value: |
Sender ID |
| string | The unique identifier assigned to the message sender. Example value: |
Sender Name |
| string | The full name of the sender of the message. Example value: |
Message Sent Date |
| timestamp | The time the message was sent. Formatted according to the ISO 8601 international standard. Example value: |
Attributed SKUs |
| repeated string | The SKU identifiers of products mentioned in the message. Returned as an array of strings. Example value: |
Message Subject |
| string | The subject line of the message. Example value: |
Ticket ID |
| string | The unique identifier for the customer support ticket associated with the message. Example value: |
Message Sent Via |
| string | The communication platform or method used to send the message. Example value: |
Updated 3 days ago