Skip to content

Dataset

HubSpot Service Hub ticket datasets for AI training

A HubSpot Service Hub dataset is a set of Tickets from a business's HubSpot account with their pipeline stages and property history, the conversations inbox Threads and Messages behind them, logged Emails, Notes and Calls, Feedback Submissions and knowledge base articles, tied to Contacts and Companies through associations. SourceX sources it to a buyer's spec from established businesses that run Service Hub. 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 from one HubSpot account with stage and owner history, the inbox threads and activities behind them, and survey feedback
Typical systems
HubSpot Service Hub: tickets and ticket pipelines, the help desk and conversations inbox (team email, live chat, chatflows, forms), plus feedback surveys and the knowledge base where the edition includes them
Typical history
Varies by account; specify a date range and ask whether older tickets were imported
Modality
Structured ticket properties and histories; thread, email, note and call text; survey ratings and comments
Delivery formats
JSONL per ticket with threads and activities nested; pipeline, stage, owner and property definition tables
Preparation
Contact, company and owner identifiers replaced with keys; message, email and note text screened; marketing and sales properties left out unless agreed
Licensing
Scoped per account, pipeline, inbox and date range; permitted use agreed per license; HubSpot's terms checked by owner and buyer
Availability
Sourced to your spec; supply is not guaranteed and depends on how each account used tickets and the inbox
Structured recordsIllustrative

What a delivery contains

Fields vary by source system and are fixed per order. A typical delivery includes:

FieldTypeWhat it holds
ticket_refstringKey replacing the Ticket's record ID (hs_object_id), which every Thread, activity and association row points to.
subject_and_descriptionobjectThe Ticket's subject (ticket name) and content (ticket description) properties, screened for personal details.
pipeline_stageobjectThe Ticket's hs_pipeline and hs_pipeline_stage as internal IDs, with the stage label and open or closed state from the Ticket Pipelines.
stage_historyarrayPast values of hs_pipeline_stage from the Ticket's property history, each with its timestamp and source type.
owner_historyarrayPast values of hubspot_owner_id from property history, mapped to Owner keys, one row per reassignment.
ticket_propertiesobjectThe Ticket's source_type, hs_ticket_priority, hs_ticket_category, createdate and closed_date, plus the account's custom ticket properties.
response_metricsobjectHubSpot's calculated Time to first agent email reply and Time to close on the Ticket, as stored at export.
associationsarrayAssociation rows from the Ticket to Contacts, Companies and Deals, with object type and any association label.
threadsarrayConversation Threads whose associated ticket ID is this Ticket: inbox, original channel, status, created and closed times and assignee.
messagesarrayA Thread's Messages in order, each with its type (message, comment or welcome message), direction, sender actor ID, text and truncation status.
activitiesarrayEmails, Notes and Calls logged on the Ticket as engagements, each with hs_timestamp and body text.
feedbackarrayFeedback Submissions tied to the Ticket or its Contact: survey type, rating, comment and submission time.
Sample recordIllustrative

Field names from the table above; values are masked placeholders.

Example record

{
  "ticket_ref": "tkt_7c41e9",
  "subject_and_description": {
    "subject": "Invoice export fails on custom date ranges",
    "content": "CSV export errors on long ranges. Account [ACCOUNT_REF]."
  },
  "pipeline_stage": {
    "hs_pipeline": "0",
    "hs_pipeline_stage": "4",
    "stage_label": "Closed",
    "ticket_state": "CLOSED"
  },
  "stage_history": [
    {
      "value": "1",
      "label": "New",
      "timestamp": "2025-03-11T14:02:09Z",
      "source_type": "INTEGRATION"
    },
    {
      "value": "3",
      "label": "Waiting on us",
      "timestamp": "2025-03-11T14:20:41Z",
      "source_type": "CRM_UI"
    },
    {
      "value": "4",
      "label": "Closed",
      "timestamp": "2025-03-12T11:31:02Z",
      "source_type": "AUTOMATION_PLATFORM"
    }
  ],
  "owner_history": [
    {
      "owner": "own_031",
      "timestamp": "2025-03-12T09:20:07Z"
    }
  ],
  "ticket_properties": {
    "source_type": "CHAT",
    "hs_ticket_category": "PRODUCT_ISSUE",
    "closed_date": "2025-03-12T11:31:02Z"
  },
  "associations": [
    {
      "to": "con_58812",
      "object_type": "contact"
    },
    {
      "to": "com_2207",
      "object_type": "company"
    }
  ],
  "threads": [
    {
      "thread_ref": "thr_90a3",
      "original_channel": "live_chat",
      "status": "CLOSED"
    }
  ],
  "messages": [
    {
      "type": "MESSAGE",
      "direction": "INCOMING",
      "sender": "visitor:con_58812",
      "created_at": "2025-03-11T14:01:55Z",
      "text": "Exporting invoices for January to June errors out.",
      "truncation_status": "NOT_TRUNCATED"
    },
    {
      "type": "COMMENT",
      "sender": "agent:own_014",
      "created_at": "2025-03-11T14:31:40Z",
      "text": "Long-range timeout. Passing to billing tools."
    },
    {
      "type": "MESSAGE",
      "direction": "OUTGOING",
      "sender": "agent:own_031",
      "created_at": "2025-03-12T11:28:16Z",
      "text": "We raised the limit. Ranges up to a year now export."
    }
  ],
  "activities": [
    {
      "type": "note",
      "hs_timestamp": "2025-03-12T09:22:30Z",
      "body": "Confirmed timeout in job logs."
    }
  ],
  "feedback": [
    {
      "survey_type": "CSAT",
      "rating": 2,
      "comment": "Fixed, but it took a day."
    }
  ]
}

Synthetic record for illustration. Field names, structure and format are agreed per order.

What AI teams use it for

Train ticket triage and routing

Priority, pipeline and first Owner are labels a person or a workflow set, and the history source says which.

Learn replies from whole exchanges

Threads joined to Tickets give the customer's message, the internal comment and the reply, in order.

Model handoffs and reopenings

Stage and Owner history show when a Ticket changed hands, waited or came back after closing.

Relate handling to satisfaction

Feedback Submissions tied to a Ticket pair how a case was worked with the rating the customer gave.

Evaluate support agents

Held-out Tickets with their stage path and final reply give ground truth for what an agent proposes.

Use-case guides: Customer support agents, Enterprise and computer-use agents, Private evaluation sets

What makes this data valuable

Threads joined to tickets

A high share of Tickets with a Thread or email engagement means the exchange came too.

Stage history on every ticket

A stage path from first stage to closed makes handling reconstructable.

Change sources recorded

History rows naming a user, workflow or integration separate judgment from automation.

Stable pipelines

Few renamed or deleted stages keep hs_pipeline_stage IDs readable against the Ticket Pipelines.

Reply times where email was used

Time to first agent email reply filled on email Tickets and blank on chat-only ones matches HubSpot's definition.

Feedback tied to tickets

Responses associated with the Ticket they rate, not only a Contact, work as outcomes.

System export

HubSpot Service Hub dataset

This page covers hubSpot Service Hub tickets.Illustrative

A ticket is a CRM record moving through a pipeline

HubSpot builds a ticket the way it builds a deal. It is a CRM object with properties, it sits in a ticket pipeline, and its status is the stage it is in. There is no separate status field: hs_pipeline names the pipeline and hs_pipeline_stage the stage, both as internal IDs. Open or closed is a setting on the stage, so an account with a support pipeline and a returns pipeline has more than one stage that means closed.

A ticket's past is in property history, and only where the extraction asked for it. A read that names hs_pipeline_stage and hubspot_owner_id with history returns each earlier value with the time of the change and its source, which separates a person moving the ticket from a workflow that closed it after a quiet period. HubSpot describes Close date as set when a ticket moves from an open status to a closed one and cleared if the ticket reopens. On a ticket that was closed, reopened by the customer's reply and closed again, the first close survives only in the stage history.

Some ticket properties are narrower than their labels. HubSpot's property guide says Time to first agent email reply counts an email sent from the connected inbox or the ticket record, not a manually logged one, so a blank value on a chat ticket is not a slow reply. The same guide describes HubSpot setting Category with AI from the first message where that feature is on, so ask who or what chose it. The customer is not a property at all. A ticket has no requester column, only associations to Contacts, Companies and sometimes Deals, and the Contact is the record marketing and sales also use, so lifecycle stage and lead status come along unless left out.

The ticket export has no conversation in it

On screen a HubSpot ticket shows the whole exchange. A CSV or XLSX export of a ticket view does not: it is one row per ticket with current values, and the ticket's own text is two properties, a subject and a description. The exchange is stored in two other places. Conversations handled in the inbox or help desk, from team email, live chat, chatflows and forms, are Threads made of Messages in the Conversations API. Emails logged on the record, Notes and Calls are engagements, CRM objects of their own, tied to the ticket by association.

Thread data has its own shape. A Message is a message proper, a welcome message or a comment, and HubSpot's API guide says comments appear only in the inbox and are not sent to visitors. Each has a direction, plain and rich text, and senders named by actor IDs whose prefix says who acted: A for a HubSpot user, V for a visitor, I for an integration, S for the system, E for an email address HubSpot matched to neither side and L for its customer agent. Email messages carry a truncation status, because HubSpot can store an email cut down to its most recent reply and return the original content from a separate call. A Thread is only open or closed, and that is not the ticket's stage: a thread can close while its ticket waits in an open stage. The join is the thread's associated ticket ID, which the API returns only when the read asks for the ticket association. Do not assume one thread per ticket.

To test a sample, take twenty closed tickets. Count threads per ticket, and tickets with no outgoing message or email engagement, which were handled by phone or lost their join. Find one that was reopened and check that its stage history shows both closes while closed_date shows one. Check that comments are labeled apart from messages, and ask which actor type chatflow bot turns carry.

What to check before licensing

  • Have the data owner and your counsel read HubSpot's terms on API use and on exported data before a permitted use is agreed.
  • Ask for the list of Contact and Company properties delivered, and confirm marketing and sales fields such as lifecycle stage, lead status and original source are de-identified or left out.
  • Confirm Threads were read with their ticket association and email engagements pulled separately, and ask what share of Tickets arrive with no text.
  • Ask which Ticket properties were pulled with history, and whether HubSpot still held every past value on long-lived Tickets.
  • Check that Ticket Pipelines ship with the data, with each stage's open or closed state and any stages since renamed or deleted.
  • Agree whether internal comments, welcome messages, chatflow bot turns and customer agent turns are in scope, and how each is flagged.
  • Ask whether email Messages hold the truncated latest reply or the original content, and have counsel confirm recording consent before call audio is in scope.

Delivery No files move before a signed license. A listing or a request grants no files by itself.

How licensing works through SourceX

  1. 1

    Define

    Send the domain, modality, volume, format, timeline and permitted use you need.

  2. 2

    Source

    SourceX identifies businesses that hold matching data and are open to licensing it.

  3. 3

    Qualify

    Fit, rights and quality are checked, and you review samples before committing.

  4. 4

    License

    Scope, permitted use, exclusivity, price and obligations are agreed in writing.

  5. 5

    Deliver

    Approved data is prepared, de-identified where required and transferred securely.

Questions Acquisition Partners ask

Does a HubSpot ticket export include the conversation?

No, not by itself. The Ticket object holds properties such as subject, description, pipeline stage and owner. The exchange with the customer is stored as conversations inbox Threads and Messages and as email engagements, separate records joined to the Ticket through associations. Ask for both by name and check a sample for message text.

Can stage and owner changes be reconstructed?

Yes, where the extraction asked for property history. HubSpot keeps past values of a Ticket property with a timestamp and a source for each change, so the history of hs_pipeline_stage and hubspot_owner_id gives the stage path and each reassignment. A view export or a plain API read returns current values only.

How is this different from a HubSpot CRM dataset?

It centers on Tickets and inbox Threads, not on deals. A HubSpot CRM dataset covers Contacts, Companies, Deals and sales activity. A Service Hub dataset covers ticket pipelines, the conversations behind each Ticket, feedback surveys and knowledge base articles. Both share one account's Contact and Company records, so marketing and sales properties need scoping out.

Are survey responses tied to the ticket they rate?

Not always, so check the associations on a sample. HubSpot stores survey responses as Feedback Submissions, a CRM object of their own that its API exposes as read-only, covering NPS, CSAT, CES and custom surveys. Whether a response also carries an association to the Ticket whose closing triggered the survey depends on the survey type and setup, so ask which associations the export carries.

Can knowledge base articles be included?

Yes, where the account's edition has the knowledge base and the data owner agrees. Articles are content pages, not Ticket records, so ask how they were exported. Ask whether anything on the Ticket names the article an agent used. Where nothing does, the link rests on the article URL appearing in an outgoing Message.

Is SourceX affiliated with HubSpot?

HubSpot Service Hub is named to identify the system the records come from. That does not imply a partnership with or endorsement by HubSpot. The records belong to the business that runs HubSpot Service Hub, 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.

Evaluating this data for procurement?

Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.

Request dataset diligence

Tell 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.

See if your company qualifies