HubSpot CRM AI Ontology & ERP-Linked MCP Connector
HubSpot stores commercial pipelines, customer communications and support tickets cleanly, yet custom deal stages use opaque internal IDs, company-to-deal associations are many-to-many, and ERP fulfillment data lives in a separate database on your servers. Naditu bridges HubSpot CRM with your on-prem ERP so assistants draft accurate quotes and account reviews.
HubSpot CRM v3 Search & Associations API
Human-approved via HubSpot CRM v3 Objects API
Canonical ontology mapping
Business objects & field-level governance.
Instead of exposing raw physical tables to an LLM, Naditu assembles governed domain objects and enforces caller role policies at query time.
Company & ERP Account
Physical tables / entitiescompanies · contacts · associations/v4 · ERP CustomerGovernance & masking ruleOwner team scope & personal phone/email masking rulesDeal & Pipeline Stage
Physical tables / entitiesdeals · line_items · pipelines/dealsGovernance & masking ruleConfidential M&A or enterprise pipelines restricted by groupSupport Ticket
Physical tables / entitiestickets · conversations · engagementsGovernance & masking ruleCustomer PII redaction for scheduled background agentsQuote & Product SKU
Physical tables / entitiesquotes · products · ERP Price ListGovernance & masking ruleWholesale cost & margin floor restricted to Sales Ops & Finance
| Business object | Physical tables / entities | Governance & masking rule |
|---|---|---|
| Company & ERP Account | companies · contacts · associations/v4 · ERP Customer | Owner team scope & personal phone/email masking rules |
| Deal & Pipeline Stage | deals · line_items · pipelines/deals | Confidential M&A or enterprise pipelines restricted by group |
| Support Ticket | tickets · conversations · engagements | Customer PII redaction for scheduled background agents |
| Quote & Product SKU | quotes · products · ERP Price List | Wholesale cost & margin floor restricted to Sales Ops & Finance |
Why raw SQL & generic MCP fail
Three physical schema traps solved in the layer.
Every operational system carries implicit join keys, status discriminators and multi-company rules that ungrounded Text-to-SQL guesses wrong.
- 01
Opaque numeric dealstage and pipeline IDs
HubSpot API payloads return numeric or internal stage IDs rather than human stage labels, causing ungrounded LLMs to misclassify open vs closed-won deals.
- 02
Many-to-many v4 Associations fan-out across parent/child companies
Deals associated with both a parent holding company and a billing subsidiary double-count pipeline totals unless primary association labels are enforced.
- 03
Drift between HubSpot product catalog and live ERP stock/pricing
HubSpot’s static product library rarely reflects live warehouse stock or customer-specific ERP price lists. Naditu joins HubSpot deals directly to ERP items at query time.
Common engineering questions.
How does Naditu connect cloud HubSpot CRM with an on-premises ERP like Logo, Nebim or SAP?
Naditu runs inside your network, pulls scoped HubSpot objects over outbound HTTPS using your private app token, and joins them locally with your on-prem ERP database.
Can we hide specific HubSpot pipelines from general AI queries?
Yes. Pipeline IDs and sensitive custom properties can be restricted to named SSO groups or closed to all AI callers.
Are HubSpot API rate limits handled automatically?
Yes. Incremental sync and batched v3/v4 association reads stay well inside HubSpot burst and daily quotas.
Engineering deep dives
Related architecture notes from the blog.
Glean and Dust vs ontology for live ERP data
Why enterprise search and workspace agent tools like Glean and Dust cannot replace a live ERP ontology for SQL joins, RBAC, and write gates.
Agent harness vs ontology: what each layer solves
An agent harness runs the model loop, tool calls and retries. An ontology defines what company data means, how tables join and what the agent is allowed to do.