CS Tickets Table
cs_tickets_table
The CS Tickets table tracks support ticket lifecycle events with agent, channel, tag, and satisfaction survey data. One row per ticket event (created, closed, reopened).
Table GuideWhat You Can Answer With This Table
- How many tickets are being created vs. closed over time? — filter by
event_type, group byevent_date- How do satisfaction scores vary by agent or channel? — use
survey_score, group byassignee_user_nameorchannel- What products drive the most support tickets? — use
products_names,product_ids- What is the revenue at risk from open tickets? — use
total_order_value,has_refund- Which support channels generate the most tickets? — group by
channelBefore You Query
- Required field:
event_date- Event-driven grain: Each ticket lifecycle event (created, closed, reopened) generates a separate row. A single ticket may appear multiple times. Filter by
event_typeto isolate specific events (e.g.,ticket-createdfor new ticket volume).- Order attribution window: The
orders,products_names,skus, and related columns include orders placed up to 30 days before ticket creation. Tickets without a linked customer have empty order attribution.Key Relationships
Table Join Key What the Join Enables Customers customer_idCustomer profile data (lifetime value, total orders, location, marketing consent) When to Use a Different Table
- Need individual message content → CS Messages table. CS Messages stores each message in a conversation; CS Tickets stores ticket-level metadata and lifecycle events.
- Need a full event-level audit log → CS Events table. CS Events captures every event type (assigned, unassigned, updated, message-created); CS Tickets only surfaces created, closed, and reopened events.
- Need aggregated daily support KPIs → Customer Support Agg Metrics table (BETA). Agg Metrics provides pre-calculated daily response and resolution times without ticket-level detail.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
Title | ID | Type | Description |
|---|---|---|---|
Event Date |
| date | The date the CS ticket event occurred (e.g. the creation date for |
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 |
Assigned Agent ID |
| string | The unique identifier of the assigned support agent. Example value: |
Assigned Agent Name |
| string | The full name of the assigned support agent. Example value: |
Channel |
| string | The channel through which the ticket was created. Example values: |
Ticket Closed Date |
| timestamp | The time the ticket was closed. Formatted according to the ISO 8601 international standard. Example value: |
Ticket Created Date |
| timestamp | The time the ticket was created. Formatted according to the ISO 8601 international standard. Example value: |
Customer Email |
| string | The email address of the customer. Example value: |
Customer ID |
| string | The unique identifier assigned to the customer. Example value: |
Event Type |
| string | The type of event related to the ticket. Example values: |
From Agent |
| boolean | True if the event was initiated by a support agent. Possible values: |
Language |
| string | The language used in the ticket. Example values: |
Ticket Priority |
| string | The priority level of the ticket. Example values: |
Ticket Status |
| string | The current status of the ticket. Example values: |
Subject |
| string | The subject line of the first message in the ticket. Example values: |
Survey Comment |
| string | The customer's feedback from the post-resolution survey. Example value: |
Survey Score |
| string | The rating score given by the customer in a post-resolution survey. Example values: |
Survey Scored Date |
| timestamp | The time the survey was scored. Formatted according to the ISO 8601 international standard. Example value: |
Survey Sent Date |
| timestamp | The time the survey was sent to the customer. Formatted according to the ISO 8601 international standard. Example value: |
Tags |
| record repeated | Tags associated with the ticket, used for categorization. Example value: |
Ticket Updated Date |
| timestamp | The time the ticket was last updated. Formatted according to the ISO 8601 international standard. Example value: |
Updated 6 days ago