Overview
OneCLI connects AI agents to HubSpot through OAuth. Agents can read and manage CRM records including contacts, companies, deals, and tickets. The gateway injects OAuth credentials into requests to the HubSpot API automatically.HubSpot is a cloud-only integration, available on the Team plan.
Setup
Authorize
Click Connect HubSpot. You’ll be redirected to HubSpot to authorize OneCLI. Review the requested permissions and click Grant access.OneCLI requests read access to contacts, companies, deals, owners, and tickets by default. Write access and additional scopes (line items, quotes, lists, schemas) are optional.
What agents can do
| Area | Description |
|---|---|
| Contacts | Read, create, and update contact records and properties |
| Companies | Read, create, and update company records |
| Deals | Read, create, and update deals and pipeline stages |
| Tickets | Read, create, and update support tickets |
| Owners | View record owners and assignments |
| Lists | View contact lists (read-only) |
| Quotes & Line Items | View quotes and line item records (read-only) |
| Schemas | View property definitions for contacts, companies, and deals |
Use cases
- CRM enrichment agents that update contact records with data from other sources
- Sales pipeline agents that track deals and update stages
- Support agents that create and triage tickets
- Reporting agents that pull CRM data for analysis