HubSpot
Search and manage HubSpot CRM contacts, companies, deals, notes, and associations.
Overview
Connect HubSpot to give AI clients access to your CRM contacts, companies, deals, notes, and record associations.
Prerequisites
- A HubSpot account with CRM access
- Super Admin or HubSpot Marketplace Access permissions to install OAuth apps
- A stackgate.ai account
Getting credentials
- Sign in to stackgate.ai.
- Go to Integrations and open HubSpot.
- Click Activate, then Connect HubSpot.
- Select your HubSpot portal and approve the OAuth scopes — stackgate.ai stores your access and refresh tokens securely.
No manual API keys are required for the standard connect flow.
Using with AI clients
- Dedicated endpoint:
POST /mcp/hubspotwith a Sanctum bearer token - Private gateway: one config for all integrations — use
hubspot__*namespaced tools
See Documentation for HTTP authentication and private gateway setup.
Troubleshooting
- 422 integration not configured — complete the OAuth connect flow in My Integrations.
- Auth errors after connecting — disconnect and reconnect HubSpot from the integration page (tokens are revoked when the app is uninstalled).
- 429 rate limit errors — HubSpot enforces per-portal API limits, including a stricter limit on CRM search endpoints. Reduce request volume or spread searches over time.
Available tools
-
get_portal_info
Return details about the connected HubSpot portal (account name, hub ID, timezone).
-
search_contacts
Search HubSpot contacts by text query or filter groups.
-
get_contact
Get a HubSpot contact by ID with selected properties.
-
search_companies
Search HubSpot companies by text query or filter groups.
-
get_company
Get a HubSpot company by ID with selected properties.
-
search_deals
Search HubSpot deals by text query or filter groups.
-
get_deal
Get a HubSpot deal by ID with selected properties.
-
search_notes
Search HubSpot notes by text query or filter groups.
-
get_note
Get a HubSpot note by ID with selected properties.
-
list_associations
List associations between HubSpot CRM objects (e.g. contact to company).
-
create_contact
Create a HubSpot contact with the given CRM properties.
-
update_contact
Update a HubSpot contact by ID with the given CRM properties.
-
create_company
Create a HubSpot company with the given CRM properties.
-
update_company
Update a HubSpot company by ID with the given CRM properties.
-
create_deal
Create a HubSpot deal with the given CRM properties.
-
update_deal
Update a HubSpot deal by ID with the given CRM properties.
-
create_note
Create a HubSpot note and optionally associate it with a contact, company, or deal.
MCP endpoint:
https://stackgate.ai/mcp/hubspot
(HTTP) or via the
private gateway.
Related workflows
Multi-integration playbooks that use HubSpot to solve concrete business outcomes.
-
CRM revenue workspace with Salesforce, HubSpot, Gmail, and Slack
Unify pipeline visibility across Salesforce and HubSpot, draft follow-ups in Gmail, and alert revenue teams in Slack without forcing a single CRM.
-
Lead qualification handoff with Typeform, HubSpot, Gmail, and Slack
Pull new Typeform lead responses, enrich or create HubSpot contacts, draft Gmail follow-ups, and alert the team in Slack.
-
Prospect company brief with CVR, CRM, and email
Resolve a Danish prospect by CVR or name, enrich with CRM context, and draft a follow-up email.