CS Events Table
cs_events_table
The CS Events table logs ticket lifecycle events like creation, closure, reopening, assignment, and message activity. One row per event.
Table GuideWhat You Can Answer With This Table
- How many tickets are being created vs. closed each day? — filter by
event_type, group byevent_date- What percentage of closed tickets get reopened? — compare
ticket-reopenedvs.ticket-closedevent counts- What types of ticket activity are most common? — group by
event_type- Are events triggered by agents or by automations? — use
user_id(NULL for automated events)Before You Query
- Required field:
event_date- Event type filter: Use
event_typeto analyze specific lifecycle events. Values includeticket-created,ticket-closed,ticket-reopened,ticket-message-created,ticket-updated,ticket-assigned,ticket-unassigned.- Automated events:
user_idis NULL when the event was triggered by an automation rule rather than a support agent.Key Relationships
Table Join Key What the Join Enables CS Messages object_idtoticket_idMessage content, sender details, and AI intents for the ticket associated with the event When to Use a Different Table
- Need ticket metadata (agent, priority, status, tags, surveys) → CS Tickets table. CS Tickets has richer ticket-level detail; CS Events records when lifecycle changes happened but not the full ticket context.
Dimensions
Dimensions are immutable properties that can be used for grouping data.
Title | ID | Type | Description |
|---|---|---|---|
Event Date |
| date | The date the CS event 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 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 |
Shop ID |
| string | 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: |
Shop Name |
| string | The name of the shop. Can be used to group or filter data by shop in multi-store reports. Example values: |
Platform |
| string | The customer support platform through which the event was generated. Example value: |
Event Created Date |
| timestamp | The time the event was created, in UTC. Formatted according to the ISO 8601 international standard. Example value: |
Event ID |
| string | The unique identifier for the event, assigned by the CS provider. Example value: |
Event Type |
| string | The type of CS event. Example values: |
Object ID |
| string | The ID of the object this event relates to (e.g., a ticket or message). Example value: |
Object Type |
| string | The type of object this event relates to. Example values: |
User ID |
| string | The ID of the user (agent) who triggered this event. NULL when the event was triggered automatically (e.g., by an automation rule). Example value: |
Updated 3 days ago