What does HubSpot discovery do, and when should I re-run it?
Discovery catalogs deal stages, owners, and enum values from HubSpot so the analysis builder can offer real filter options, not IDs.
TL;DR
Discovery scans your HubSpot portal once and catalogs deal stages,
owner names, industry values, and company-size buckets. The analysis
builder at /new then offers those real labels as filters instead of
asking you to type stage IDs. Re-run discovery whenever your HubSpot
schema changes.
How it works
When you connect HubSpot for the first time, Callmine runs discovery automatically. It calls HubSpot's API to read pipeline metadata, property definitions, owner records, and a sample of deals — enough to catalog the enum values your portal actually uses. The catalog is stored per-workspace and powers two surfaces:
- ·The HubSpot filter chips at
/new(deal stage, sales rep, industry, company size, amount range). - ·The HubSpot filter summary panel that appears on every report so you can see which filters produced the result set.
Discovery never modifies your HubSpot data — it's a read-only catalog build.
Filters discovery enables
Once discovery has run, the analysis builder offers these HubSpot-derived filters:
- ·Deal stage — picked from your real pipeline stage labels. Multi-select.
- ·Sales rep — picked from HubSpot owner names. Multi-select.
- ·Industry — picked from the enum values your portal uses. Multi-select.
- ·Company size — bucketed by HubSpot's company-size enum.
- ·Deal amount — numeric range, in your portal's currency.
Combined with Gong-side date range and max_calls, this is the full
filter set that determines which calls reach the LLM.
Re-running discovery
Open /settings → Integrations → HubSpot and click Re-run discovery.
Useful after:
- ·Adding or renaming pipeline stages
- ·Adding new sales reps in HubSpot
- ·Extending the industry or company-size picker
- ·Adding a new custom deal property you want to filter on
Until you re-run, the filter UI shows the labels from your last discovery snapshot — your analysis still works, but new HubSpot values won't appear as filter options.