HubSpot notes in a live spreadsheet

Add the Notes table to a sheet as a data source named notes and its 34 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.notes.sum(company_number_of_employees)
Total company: number of employees. Adds up the Company: Number of employees column over every row of Notes.
=data.notes.sum(company_number_of_employees, associated_contacts, A2)
Company: number of employees per associated contacts. With a associated contacts in A2, the total for that one. Fill it down next to a list of them.
=list.notes(associated_contacts)
Every associated contacts, once. Spills the distinct associated contacts values down the column: the row labels for the formula above.
=data.notes.count(record_id, associated_contacts, "<>")
Rows with a associated contacts. Counts the rows whose Associated contacts is not empty.
=data.notes.avg(company_annual_revenue)
Average company: annual revenue. avg, min, max, count, countd (distinct) and first work the same way as sum.

Columns

ColumnIn formulasType
Record IDrecord_idText
Activity assigned toactivity_assigned_toText
Activity dateactivity_dateDate and time
Create datecreate_dateDate and time
Last modified datelast_modified_dateDate and time
Note bodynote_bodyText
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 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 dealsassociated_dealsText
Associated deal IDsassociated_deal_idsText
Deal IDdeal_idText
Deal: Deal namedeal_deal_nameText
Deal: Deal stagedeal_deal_stageText
Deal: Pipelinedeal_pipelineText
Deal: Amountdeal_amountNumber
Deal: Close datedeal_close_dateDate and time
Deal: Deal ownerdeal_deal_ownerText

Other activities tables

Your notes, 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.