HubSpot to BigQuery

Deals and deal amount from HubSpot, by create date, close date, stage or source, in your own BigQuery dataset. Each run replaces the whole table.

  • One table per report, named after it: fs_deals_created, for example.
  • Refreshes every day on Plus, every 6 hours on Pro and every hour on Max.
  • Up to 50,000 records a report.

30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.

fs_deals_created
create_datedealsamount
2026-10-201217190.20
2026-10-191217528.07
2026-10-181115998.89
2026-10-171116234.32
2026-10-16914691.94
Example, with made-up figures

How to connect HubSpot to BigQuery

To load HubSpot data into BigQuery you need a Google Cloud project with a dataset in it, and a HubSpot account where you can create a service key.

  1. In HubSpot's left menu, open More, then Development, then Keys, then Service keys, and create a key with read scopes for deals, contacts, owners and their properties. In Fresh Sheets, open Sources and add the key on the HubSpot card.
  2. In Fresh Sheets, go to Destinations and choose Add a dataset. Enter the project ID and dataset ID.
  3. In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role on your dataset, and add the label it shows.
  4. Back in Fresh Sheets, choose Check and add.
  5. Choose New report, pick HubSpot and the HubSpot account, then the report type, fields and date range.
  6. Under Destination, pick your dataset and name the table. Under Schedule, pick how often. Then Save and run.

Columns HubSpot writes to BigQuery

Each report is one table: the columns you pick, plus _fs_written_at, the time the row landed. Money is in the account's own currency.

ColumnTypeFresh Sheets fieldAvailable at
create_dateDATECreate DateDeals by create date, Contacts by create date
close_dateDATEClose DateDeals by close date
weekDATEWeek startingEvery level
monthSTRINGMonthEvery level
pipelineSTRINGPipelineDeals by create date, Deals by close date
deal_stageSTRINGDeal StageDeals by create date, Deals by close date
deal_statusSTRINGDeal statusDeals by create date, Deals by close date
ownerSTRINGDeal ownerDeals by create date, Deals by close date
deal_sourceSTRINGOriginal Traffic SourceDeals by create date, Deals by close date
deal_source_detailSTRINGOriginal Traffic Source Drill-Down 1Deals by create date, Deals by close date
deal_nameSTRINGDeal NameDeals by create date, Deals by close date
deal_idSTRINGRecord IDDeals by create date, Deals by close date
currencySTRINGCurrencyDeals by create date, Deals by close date
contact_sourceSTRINGOriginal Traffic SourceContacts by create date
contact_latest_sourceSTRINGLatest Traffic SourceContacts by create date
lifecycle_stageSTRINGLifecycle StageContacts by create date
dealsINT64DealsDeals by create date, Deals by close date
won_dealsINT64Won dealsDeals by create date, Deals by close date
lost_dealsINT64Lost dealsDeals by create date, Deals by close date
amountNUMERICAmount in company currencyDeals by create date, Deals by close date
won_amountNUMERICWon amount in company currencyDeals by create date, Deals by close date
deal_amountNUMERICAmountDeals by create date, Deals by close date
contactsINT64Contacts createdContacts by create date

Dates are your HubSpot account's, in its own time zone.

An example

A query for the report saved as Deals created:

SELECT create_date, SUM(deals) AS deals, SUM(amount) AS amount FROM `your-project.your_dataset.fs_deals_created` WHERE create_date >= DATE_SUB(CURRENT_DATE(), INTERVAL 30 DAY) GROUP BY create_date ORDER BY create_date DESC, deals DESC;

Try it with your own HubSpot data in BigQuery.

Other ways to do it

HubSpot can export a view of your deals or contacts as a CSV or Excel file, and emails you a link to download it.

Source: HubSpot: Export your records

Fresh Sheets sends the reports you build, replacing the table on every run.

What this doesn't cover

Companies, tickets, emails and marketing events aren't included. This reads deals and new contacts only.

Questions

How do I connect HubSpot to BigQuery?

Add your service key on the Sources page, add your dataset under Destinations, then build a report that sends to it.

Send your HubSpot pipeline to BigQuery

BigQuery is included in your 30 days of Plus, then on every paid plan.

30 days of Plus, free from sign-up. No card needed. Paid plans from £15 a month.

Paid plans from £15 a month, or £12 a month billed annually.