CRM & marketing

Your HubSpot data, where work happens.

CRM data as virtual tables: contacts, companies, deals, pipelines. Same read-only SQL as your warehouse.

Use the results in Excel, Google Sheets, AI tools and your apps through the Database REST API.

Every connector type is on Free. Start with 2 data sources and 1 agent.

HubSpotAPI data synced to relational tables
Inside your networkQuery Streams Network Agent

Sync, cache and query on your machine.

Read-only queries · outbound connection

JSON becomes relational tables. SQL reads the latest synced data.

Source → agent → allowed results

Query Streams turns a HubSpot portal into 31 SQL tables — contacts, companies, deals, tickets, engagements, quotes, invoices, lists and the pipeline definitions behind them — readable from Microsoft Excel, Google Sheets, Power BI, AI assistants over MCP and a REST endpoint. Associations come across as their own table, so the contact-to-company and deal-to-line-item links are an ordinary JOIN rather than an export you have to reassemble by hand.

  • 31 tables including associations
  • Custom fields kept in raw_data JSON
  • 20 tables can refresh as you read

Connect HubSpot with the right settings.

Keep the connection on the Network Agent. These are the details specific to HubSpot.

Authentication
A private app access token, held on the agent. Not an OAuth round trip you have to keep alive
Reached over
HTTPS from your network to HubSpot. Nothing inbound
Schema
hubspot — so hubspot.deals, hubspot.contacts, hubspot.associations
Tables
31, of which seven are on by default: contacts, companies, deals, owners, pipelines, pipeline_stages and properties
Custom properties
Kept in a raw_data JSON column on the object row, with their definitions listed in hubspot.properties. They are not added as columns
Incremental
Through HubSpot's CRM search on last-modified date, so edits to existing records are picked up
Live refresh
Available on 20 of the CRM object tables — a query keyed to one record checks it against HubSpot before answering
Rate limits
Paced to the floor of HubSpot's published limits, so a report cannot throttle the portal for everyone else
Local copy
An AES-256-GCM encrypted DuckDB file beside the agent, on your machine

Read-only is structural. The connector implements no HubSpot write call — every request it makes is a read, a search or a batch read — so a query cannot change a deal stage or touch a contact no matter what the token is scoped for. Scoping the private app to read anyway is still worth doing.

Syncing associations walks every object of each type and then reads the links in batches, so it is the most expensive table here. Give it a longer interval than the object tables unless you genuinely need the links up to the minute.

Provider reference: www.hubspot.com

Built for how HubSpot works.

Associations are a table, not a puzzle

The thing that makes HubSpot exports painful is that the interesting information is in the links between objects, and a CSV of contacts does not carry them. Here they are their own table with both sides on every row.

  • hubspot.associations holds the from-object, the to-object, the association type and the label, so a deal's contacts or a ticket's company is a plain JOIN.
  • Contacts to companies, contacts to deals, companies to deals, deals to line items, tickets to contacts and tickets to companies are all covered.
  • Pipelines and pipeline stages are separate tables too, so a deal's stage resolves to a name and an order rather than an opaque id.

The 31 tables

  • CRM objects — contacts, companies, deals, tickets, owners, pipelines, pipeline_stages, products, line_items.
  • Engagements — calls, emails, meetings, notes, tasks, communications.
  • Commerce — quotes, invoices, subscriptions, payments, taxes, discounts, fees.
  • Marketing — marketing_events, forms, form_submissions, feedback_submissions.
  • Lists and automation — lists, workflows.
  • Definitions — properties, schemas, associations.

Where your custom properties actually are

Worth being precise about, because it is the one thing people assume works differently. Each object table carries a fixed set of named columns — the standard fields — and everything else HubSpot returned, custom properties included, is kept in a raw_data JSON column on the same row.

  • Nothing is discarded. A custom property is queryable, but through the JSON column rather than as a column of its own.
  • hubspot.properties lists every property definition across fifteen object types — name, label, type, field type — so you can look up what exists and what it is called.
  • hubspot.schemas holds custom object definitions. Custom object records are not synced as tables of their own.
  • If you want a custom property to read as a first-class column in a spreadsheet, pull it out in the saved query. That is one expression once, and every consumer of that query then sees a proper column.

From connection to useful results.

  1. Create a private app in your HubSpot portal and give it read scopes for the objects you care about.
  2. Install the Network Agent and paste the access token. It is held there; HubSpot only ever hears from your own network.
  3. Choose which of the 31 tables to sync and how often. Contacts, companies, deals, owners, pipelines, pipeline stages and properties are on by default.
  4. Write ordinary SQL against hubspot.deals, hubspot.companies and the rest — or let Nova write it.
  5. Read it from Excel, Sheets, Power BI, MCP or REST, and join it to your own database in the same statement.

Put your HubSpot results to work.

One connection serves your spreadsheets, apps and AI tools. Share permission to run a saved query; recipients see the allowed results, with the SQL and source login hidden.

For your team, vendors and partners

Pull live HubSpot results straight into a worksheet and refresh them on demand — desktop Excel, Excel Online, Microsoft 365.

HubSpot guide

Ask a question in plain English. Nova already knows your HubSpot tables, writes and runs the SQL, explains the answer and charts it — no query to write, no credentials to hand over.

How Nova works

Share a live HubSpot result with anyone — a colleague, a vendor, a partner — as a bookmarkable grid that re-runs fresh when opened, on a phone, a tablet or a desktop. They see the results, never the SQL or the credentials.

How the Data Viewer works

For apps and systems

Publish a HubSpot query as an authenticated JSON endpoint any application can call, with an OpenAPI 3.1 spec and ready-made Postman, Insomnia and Hoppscotch collections. No database port is opened.

Explore REST API

Paste the generated Power Query M into the Power BI Advanced Editor and the report reads live HubSpot results over HTTPS — no ODBC driver, no database port opened.

Explore Power BI

Back an Anvil Python app with HubSpot through the REST endpoint instead of embedding database credentials in the app.

HubSpot guide

For AI tools

Give an AI assistant read-only access to HubSpot with the schema it needs to write correct SQL — no credentials in the chat.

HubSpot guide

Delivered to people

Join HubSpot to the rest of your data.

Bring databases, business APIs, files and logs into one read-only query. Every connector supports Federated Queries.

Name the connections and tables. Query Streams handles the source queries and combines the results.

Explore Federated Queries
Illustrative cross-source query
-- the account from HubSpot, your own customer row, the invoice from Stripe
SELECT   h.industry, COUNT(DISTINCT h.id) AS accounts, SUM(i.amount_due) / 100 AS invoiced
FROM     crm.hubspot.companies1   h
JOIN     pg_crm.public.customers2 c ON c.domain = h.domain
JOIN     billing.stripe.invoices3 i ON i.customer = c.stripe_id
GROUP BY h.industry
ORDER BY invoiced DESC;

Use your own connection, schema, table and column names.

Shared across the connector family.

How every API connector works

  • Your account becomes tables — endpoints are mapped to typed SQL tables with primary keys and indexes, so you write SELECT, JOIN and GROUP BY instead of paging through JSON.
  • You choose what syncs, and how often — each table has its own interval, or none at all. Where the vendor's API supports it, only records that changed since the last run are fetched.
  • The copy is yours — it lives in an AES-256-GCM encrypted DuckDB file next to the agent, on your machine. Not in our cloud.
  • The vendor only ever hears from you — the agent calls the API directly from your own network, so your token is not needed by Query Streams to answer a query.

Good to know

  • It is a synced copy, not a live proxy — a query reads what has already been fetched, so it returns at SQL speed and never spends your API rate limit. Selected tables can additionally refresh a stale row as you read it.
  • Rate limits are respected for you — each connector paces itself well inside the vendor's published limits, so a report cannot get your account throttled for everything else that uses it.
  • Nothing is thrown away — fields the table does not name are kept in a raw_data JSON column you can still query.
  • Join it to your databases — an API table and a SQL Server table in the same statement is an ordinary query here, not an integration project.

Questions about HubSpot

Where can I use HubSpot query results?

Use HubSpot results in Excel, Google Sheets, the Data Viewer, your apps through the Database REST API, and AI tools through MCP or Nova. Saved results also feed supported Automation destinations, reports and alerts. Destination availability and allowances depend on your plan.

Do I need to open an inbound port for HubSpot?

No. Install the Network Agent on a machine that can reach HubSpot. The agent connects outward to Query Streams; no inbound port or VPN is needed. Your source must still allow the agent machine to connect under its own access rules.

Can Query Streams change data in HubSpot?

No. Queries are enforced read-only on the Network Agent before execution. Source credentials stay on that machine. Sharing grants permission to run a saved query and receive its results; it does not reveal the SQL or database login.

What do I need to connect HubSpot?

Authentication: A private app access token, held on the agent. Not an OAuth round trip you have to keep alive. Reached over: HTTPS from your network to HubSpot. Nothing inbound. Schema: hubspot — so hubspot.deals, hubspot.contacts, hubspot.associations. Tables: 31, of which seven are on by default: contacts, companies, deals, owners, pipelines, pipeline_stages and properties

Can I join HubSpot to other connected sources?

Yes. Federated Queries support every connector type, including databases, business APIs, files and logs. Name the connections and tables in one read-only query. Query Streams translates the source portions as needed and combines their results. See how Federated Queries work.

Do SQL queries call the HubSpot API every time?

The connector syncs selected HubSpot data to relational tables cached on your Network Agent. SQL reads the latest synced data. The connector handles the API requests and pagination; freshness depends on your sync settings.

Put HubSpot where the work happens.

Start with Free: every connector type, 2 data sources and 1 Network Agent. Add plan allowances as your needs grow.