Dataset
Gorgias ecommerce support ticket datasets for AI training
A Gorgias dataset is an export of an online merchant's Gorgias helpdesk: Tickets and the Messages in them across email, chat, SMS and social channels, Customers with the order data the store integration attached, and the Macros, Rules, Tags and Satisfaction Surveys behind each reply. SourceX sources it to a buyer's spec from established businesses that run Gorgias, with shopper names, addresses and order numbers removed or replaced before delivery. Each dataset is de-identified and licensed for an agreed permitted use, and it is not delivered before a signed agreement.
Dataset manifest
Sourced to your spec- What it is
- Tickets and Messages from one merchant's Gorgias account, with the store context on each Customer and the Macros, Rules and Events behind each reply
- Typical systems
- Gorgias Helpdesk with its email, chat, SMS, voice and social channels, a store integration such as Shopify, Macros, Rules, AI Agent and Satisfaction Surveys
- Typical history
- Varies by merchant; specify years and channels, and ask how far back Events and full email bodies reach
- Modality
- Message text with structured ticket, order, macro and event records; attachments and call recordings where licensed
- Delivery formats
- JSONL per ticket with ordered messages; customers, macros, rules and events as separate tables
- Preparation
- Shopper names, emails, phones, addresses and order numbers replaced with consistent pseudonyms; message bodies screened
- Licensing
- Scoped per account, channel and date range; permitted use agreed per license; store order data, attachments and call recordings scoped explicitly
- Availability
- Sourced to your spec; supply is not guaranteed and depends on each merchant's channels, integrations and retention
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| ticket_id | string | Pseudonymous ID of one Gorgias Ticket, which its Messages and Events refer to. |
| channel | enum | The Ticket's channel, the one the conversation started on, such as email, chat or sms. |
| via | enum | The Ticket's via value: how its first Message was received or sent. |
| status_timeline | object | The Ticket's status with its created, opened and closed datetimes. |
| language | string | The Ticket's language, detected by Gorgias from the first messages. |
| tags | array | Tags on the Ticket at export, by name. |
| custom_fields | object | The Ticket's ticket field values, such as a contact reason. |
| customer | object | The Ticket's Customer as a pseudonym, with channel types and language. |
| store_context | object | Orders and line items from the Customer's integrations data, with fulfillment and payment state where the store integration supplied them and the date the state refers to. |
| messages | array | The Ticket's Messages with from_agent, public, channel, via, sender, created_datetime, stripped_text and attachment metadata. |
| messages[].sender_kind | enum | Customer, agent, rule, auto-responder, AI Agent or internal note, derived from the Message's sender, rule_id, via and public fields by a stated rule. |
| messages[].actions | array | The Macros applied to a Message and the actions run before it was sent, each with its result. |
| events | array | Events for the Ticket with type, created_datetime and user_id, which is empty when automation acted. |
| satisfaction_survey | object | The Ticket's Satisfaction Survey: score from 1 to 5 and the comment in body_text. |
Field names from the table above; values are masked placeholders.
Example record
{
"ticket_id": "tkt_58a3c1",
"channel": "email",
"via": "email",
"status_timeline": {
"status": "closed",
"created_datetime": "2025-03-11T14:02:09Z",
"closed_datetime": "2025-03-11T14:27:48Z"
},
"language": "en",
"tags": [
"damaged-item",
"refund"
],
"custom_fields": {
"contact_reason": "Order::Damaged"
},
"customer": {
"id": "cus_7f20",
"channels": [
"email"
]
},
"store_context": {
"integration_type": "shopify",
"as_of": "ticket_created",
"orders": [
{
"order": "ord_4410",
"created_at": "2025-03-02T09:15:00Z",
"line_items": [
{
"title": "Glass storage jar set, 2 x 1 L",
"quantity": 1
}
],
"financial_status": "paid"
}
]
},
"messages": [
{
"id": "msg_01",
"from_agent": false,
"via": "email",
"sender_kind": "customer",
"created_datetime": "2025-03-11T14:02:09Z",
"stripped_text": "The jar set in order [ORDER_ID] arrived with a cracked lid. Can I get a refund?"
},
{
"id": "msg_02",
"from_agent": true,
"via": "rule",
"rule_id": "rul_12",
"sender_kind": "rule",
"stripped_text": "Thanks for writing in. We will reply within one business day."
},
{
"id": "msg_03",
"from_agent": true,
"via": "helpdesk",
"sender": "usr_031",
"sender_kind": "agent",
"macros": [
{
"id": "mac_207",
"name": "Damaged item, refund order"
}
],
"actions": [
{
"title": "Refund last order",
"target": "ord_4410",
"status": "success"
}
],
"stripped_text": "Sorry about the lid, [FIRST_NAME]. I have refunded the order. No need to send the set back."
}
],
"events": [
{
"type": "rule-executed",
"created_datetime": "2025-03-11T14:02:13Z",
"user_id": null
},
{
"type": "action-executed",
"created_datetime": "2025-03-11T14:27:12Z",
"user_id": "usr_031"
},
{
"type": "ticket-closed",
"created_datetime": "2025-03-11T14:27:48Z",
"user_id": "usr_031"
}
],
"satisfaction_survey": {
"score": 5,
"body_text": "Fast and no hassle."
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Answer order questions with the order in view
Tickets joined to order state at ticket time teach replies that depend on what was bought and shipped.
Learn when to act on an order
Macro actions on messages show when agents refunded, canceled or reshipped, and the cases where they declined.
Separate human answers from automation
Sender kinds let a team train on agent replies and study Rule and AI Agent output on their own.
Adapt a merchant's macros
A Macro's response text next to the message that went out shows how agents edit a template.
Evaluate ecommerce support agents
Held-out tickets with the action taken and the survey score give ground truth for reply and decision.
Use-case guides: Customer support agents, Enterprise and computer-use agents, Private evaluation sets
What makes this data valuable
Order state as of the ticket
Store context dated to the ticket, not to the export, keeps later orders out of the input.
A sender kind on every message
Each outbound message is labeled as agent, Rule, auto-responder or AI Agent.
Macros and actions kept
Macros applied and actions run tie a reply to what happened to the order.
Events that reach back
Event coverage across the whole ticket range makes assignment and tagging history usable.
Disciplined tags and ticket fields
A stable contact reason field filled on most tickets gives usable intent labels.
Survey coverage
Closed tickets with a scored Satisfaction Survey and comment support outcome labels.
Process
Gorgias dataset
The store sits on the customer record, and macros act on it
A Ticket belongs to a Customer, and the Customer object has an integrations property, keyed by integration ID, holding the raw data each connected system supplied. For a Shopify integration that is the shopper's store record and an orders array with line items and addresses, as the store sent them. The agent answering a question about a late parcel had that data in a panel beside the conversation.
Macros carry the link from words to action. A Macro is a named list of actions: set the response text, with placeholders such as the customer's first name, add tags, and, where a store is connected, act on the order, for example by refunding or canceling it. A Message records the macros applied to it and an actions array, which Gorgias's reference describes as the actions run before the message was sent. A reply that says a refund was issued can be checked against an action on the same message. A refund made by hand from the order panel is not a macro action, so ask whether it appears among the ticket's action-executed Events.
The Ticket itself keeps little history. It holds the current status, assignee, tags and ticket field values, and a few timestamps. Assignments, tag changes, merges, rule runs and macro applications are Events, each with a type such as ticket-assigned, rule-executed or macro-applied, a user_id that is empty when automation acted, and a context ID grouping the events one trigger set off.
Order data is a copy, and automation writes messages too
The order data on a Customer is a copy supplied by the store integration, not a history Gorgias keeps. There is one integrations object per customer, not one per ticket, and nothing in it is dated to a ticket. The reference does not say how often it is refreshed or how many orders it carries, so assume the latest sync. A ticket from two years ago can then arrive next to orders placed since, not the order as it stood when the agent replied. For training that is leakage. Ask for order state dated to the ticket, rebuilt from the store's own records. On a sample, compare the newest order date under each customer with the ticket's closed_datetime.
Automation is stored in the same list as people. Replies sent by Rules, auto-responders and the AI Agent are Messages next to human replies, and from_agent marks only direction, company to customer. The fields that can separate them are on the message: rule_id names the Rule that sent it, via says how it was sent, sender names the user, and public is false on an internal note. How an account's AI Agent replies show up in those fields is something to confirm on a sample. A corpus that treats every outbound message as a human answer trains on templates and an earlier model's output.
Three export behaviors decide what survives. Listing tickets through the API returns compact tickets with a message count and an excerpt, without the messages, and includes trashed tickets unless told otherwise. Under the retention policy in force when this page was written, thirty days after an email is sent or received Gorgias deletes its headers and, where a stripped version exists, sets body_text and body_html to null and archives the full body behind a body_url. What remains on the message is stripped_text, the body without signature or quoted replies. Audit log events were kept for at most twelve months at the same date, so ask for the event date range next to the ticket date range.
What to check before licensing
- Have the data owner and your counsel read Gorgias's terms on API use and exported data, and the connected store platform's terms for the order data carried on each Customer.
- Check that shopper names, emails, phones, addresses and order numbers are replaced in message bodies, subjects and the integrations data, with one pseudonym per shopper.
- Compare the newest order date under each customer with the ticket's closed_datetime, and ask how order context was dated to the ticket.
- Confirm every outbound message has a sender kind, and review how Rule, auto-responder and AI Agent replies were labeled.
- Ask for the date range of Events next to the date range of Tickets, since Gorgias limits how long audit log events are kept.
- Ask which email body was delivered, stripped_text or the archived full body, and whether attachments and call recordings are in scope.
- Confirm messages were fetched for every ticket, trashed and spam tickets were excluded, and merged tickets and customers resolve to one ID.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
What makes Gorgias tickets different from other help desk exports?
The order sits beside the conversation. A Gorgias Customer carries data from the connected store, such as orders and line items, and a Macro can act on that order when the reply is sent. Messages record the macros applied and the actions run, so what an agent said can be paired with what was done to the order.
Is the order history in a Gorgias export complete?
No, treat it as a snapshot. The order data on a Customer is supplied by the store integration, one copy per customer, and reflects what the integration last synced, not the order as it stood during each ticket. Ask how many orders per customer it carried. For order state dated to the ticket, the merchant's store export is the source, so ask how the two were joined.
Can AI Agent and rule replies be separated from human replies?
Yes for Rules, and for the rest only if the delivery labels them. Automated replies are stored as Messages next to human ones. A message sent by a Rule carries that Rule's ID. For auto-responder and AI Agent replies, the via, sender and integration fields are where to look, so ask how each was identified. Require a sender kind on every message, then decide whether automated replies are training data, a separate class or excluded.
Which channels does a Gorgias dataset cover?
The channels the merchant connected. Gorgias types every Ticket and Message by channel, commonly email, chat, SMS, voice and social. Chat and SMS messages are short, and a social comment ticket may be a reply to a post or an ad. Voice appears as call records, with recordings as a separate scope. State the channel mix you need.
Does a Gorgias export show how each ticket was handled over time?
Partly. The Ticket holds its current status, assignee and tags. Assignments, tag changes, merges, macro applications and rule runs are Events, and Gorgias keeps audit log events for a limited period. For older tickets the trail may be gone unless the merchant stored events earlier, so ask for the event date range.
Is SourceX affiliated with Gorgias?
Gorgias is named to identify the system the records come from. That does not imply a partnership with or endorsement by Gorgias. The records belong to the business that runs Gorgias, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Customer support ticket datasets
Resolved support cases with full threads, internal notes and outcomes
- Refund, return and payment dispute cases
Money-back cases with the request, the rule applied, the decision, the returned item's inspection and any card dispute
- E-commerce order histories
Order-level records that follow every line to its end: canceled, kept, exchanged, returned or refunded
- Shopify store order and catalog records
Orders, line items, transactions, fulfillments and refunds from one Shopify store, with its product, variant and inventory records
- Zendesk support ticket histories
Tickets from a Zendesk account with comments, audits, metric events and ratings, plus its macros, ticket fields and help center articles
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026. Own data like this? See how companies license it to AI developers.