Agent context

HubSpot models

18 SQL models that turn the raw HubSpot tables into the reports people ask about. Deploy them in Weld and your agent queries the definitions behind every number.

How the set is built
  1. 10
    Raw tables
  2. 11
    Staging
  3. 7
    Core
  4. 6
    Analytics

Staging cleans each raw table once, core holds the logic, and analytics is the table dashboards and agents read.

For the legacy HubSpot connector

Single queries written for the older connector's tables. They keep working there; for new setups, use the models above.

Weld or dbt
The same SQL in both dialects. Sync the folder with GitHub Sync, or copy the dbt models into your project.
Check before you rely on it
Reconcile a month against HubSpot's own reports first. Each model's notes say what the synced data can and can't support.

Connect HubSpot.
Your agents start with context.

Sync HubSpot to your warehouse, deploy these models, and query them from Claude, Cursor or ChatGPT over MCP. Free for 14 days, no credit card.