HubSpot tickets in a live spreadsheet

Add the Tickets table to a sheet as a data source named tickets and its 36 columns become names your formulas, pivot tables and charts use. Sheets reads it from your HubSpot account each time the sheet opens or refreshes.

Each account's columns are its own HubSpot properties, custom ones included. The columns listed here are HubSpot's standard properties; custom objects are tables too (Enterprise).

Formulas on this table

=data.tickets.sum(time_to_close)
Total time to close. Adds up the Time to close column over every row of Tickets.
=data.tickets.sum(time_to_close, ticket_status, A2)
Time to close per ticket status. With a ticket status in A2, the total for that one. Fill it down next to a list of them.
=list.tickets(ticket_status)
Every ticket status, once. Spills the distinct ticket status values down the column: the row labels for the formula above.
=data.tickets.count(record_id, ticket_status, "<>")
Rows with a ticket status. Counts the rows whose Ticket status is not empty.
=data.tickets.avg(time_to_first_agent_reply)
Average time to first agent reply. avg, min, max, count, countd (distinct) and first work the same way as sum.

Reports that use it

=data.tickets.count(record_id, ticket_status, "<>Closed", priority, A2)
Open tickets per priority. Tickets not yet closed, per priority in column A.

Columns

ColumnIn formulasType
Record IDrecord_idText
CategorycategoryText
Close dateclose_dateDate and time
Create datecreate_dateDate and time
Last activity datelast_activity_dateDate and time
Last modified datelast_modified_dateDate and time
PipelinepipelineText
PrioritypriorityText
SourcesourceText
Ticket descriptionticket_descriptionText
Ticket nameticket_nameText
Ticket ownerticket_ownerText
Ticket statusticket_statusText
Time to closetime_to_closeNumber
Time to first agent replytime_to_first_agent_replyNumber
Associated companiesassociated_companiesText
Associated company IDsassociated_company_idsText
Company IDcompany_idText
Company: Company namecompany_company_nameText
Company: Company domain namecompany_company_domain_nameText
Company: Industrycompany_industryText
Company: Country/Regioncompany_country_regionText
Company: Citycompany_cityText
Company: Number of employeescompany_number_of_employeesNumber
Company: Annual revenuecompany_annual_revenueNumber
Company: Lifecycle stagecompany_lifecycle_stageText
Company: Company ownercompany_company_ownerText
Associated contactsassociated_contactsText
Associated contact IDsassociated_contact_idsText
Contact IDcontact_idText
Contact: Emailcontact_emailText
Contact: Job titlecontact_job_titleText
Contact: Lifecycle stagecontact_lifecycle_stageText
Contact: Contact ownercontact_contact_ownerText
Associated dealsassociated_dealsText
Associated deal IDsassociated_deal_idsText

Your tickets, live

Contacts, companies, deals, tickets and activities become tables that formulas, pivot tables and charts read directly, opened inside HubSpot. Your numbers stay current without exporting.