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.
| create_ | deals | amount |
|---|---|---|
| 2026-10-20 | 12 | 17190.20 |
| 2026-10-19 | 12 | 17528.07 |
| 2026-10-18 | 11 | 15998.89 |
| 2026-10-17 | 11 | 16234.32 |
| 2026-10-16 | 9 | 14691.94 |
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.
- 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.
- In Fresh Sheets, go to Destinations and choose Add a dataset. Enter the project ID and dataset ID.
- In Google Cloud, give the account Fresh Sheets shows you the BigQuery Data Editor role on your dataset, and add the label it shows.
- Back in Fresh Sheets, choose Check and add.
- Choose New report, pick HubSpot and the HubSpot account, then the report type, fields and date range.
- 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.
| Column | Type | Fresh Sheets field | Available at |
|---|---|---|---|
create_ | DATE | Create Date | Deals by create date, Contacts by create date |
close_ | DATE | Close Date | Deals by close date |
week | DATE | Week starting | Every level |
month | STRING | Month | Every level |
pipeline | STRING | Pipeline | Deals by create date, Deals by close date |
deal_ | STRING | Deal Stage | Deals by create date, Deals by close date |
deal_ | STRING | Deal status | Deals by create date, Deals by close date |
owner | STRING | Deal owner | Deals by create date, Deals by close date |
deal_ | STRING | Original Traffic Source | Deals by create date, Deals by close date |
deal_ | STRING | Original Traffic Source Drill-Down 1 | Deals by create date, Deals by close date |
deal_ | STRING | Deal Name | Deals by create date, Deals by close date |
deal_ | STRING | Record ID | Deals by create date, Deals by close date |
currency | STRING | Currency | Deals by create date, Deals by close date |
contact_ | STRING | Original Traffic Source | Contacts by create date |
contact_ | STRING | Latest Traffic Source | Contacts by create date |
lifecycle_ | STRING | Lifecycle Stage | Contacts by create date |
deals | INT64 | Deals | Deals by create date, Deals by close date |
won_ | INT64 | Won deals | Deals by create date, Deals by close date |
lost_ | INT64 | Lost deals | Deals by create date, Deals by close date |
amount | NUMERIC | Amount in company currency | Deals by create date, Deals by close date |
won_ | NUMERIC | Won amount in company currency | Deals by create date, Deals by close date |
deal_ | NUMERIC | Amount | Deals by create date, Deals by close date |
contacts | INT64 | Contacts created | Contacts 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.
Other sources to BigQuery
Analytics
Advertising
Last checked 23 November 2026
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.
