HubSpot Integration

API Key (Bearer)

Connect your AI agent to HubSpot CRM. Manage contacts, deals, tickets, and company records directly from conversations.

What your agent can do

With HubSpot credentials, your agent gets full CRM access through the HubSpot API.

Contact management

Create, update, and search contacts. Enrich records with notes, lifecycle stage changes, and custom properties.

Deal pipeline

Create deals, move them through stages, update amounts, and associate contacts and companies.

Ticket creation

Open support tickets, assign owners, set priority levels, and track resolution status.

Company records

Look up companies, create new records, and link contacts and deals to company profiles.

Meeting scheduling

Check availability, create meeting links, and log completed meetings against contact records.

Prerequisites

  • A HubSpot account (Free, Starter, Professional, or Enterprise)
  • Admin or Super Admin access to create Private Apps
  • A ClawTrust agent on any plan (Starter, Pro, or Enterprise)

Step-by-step setup

Create a Private App in HubSpot and add the token to your agent.

1

Open HubSpot Private Apps

In your HubSpot account, go to Settings > Integrations > Private Apps. Click "Create a private app."

2

Configure scopes

Name your app (e.g., "ClawTrust Agent"). Under Scopes, enable the permissions your agent needs: crm.objects.contacts, crm.objects.deals, crm.objects.companies, and tickets if applicable.

3

Copy your access token

Click "Create app" and copy the generated access token. This is a Bearer token that authenticates API requests.

4

Add to ClawTrust

In your agent's dashboard, go to Credentials > Add Credential. Select "API Key (Bearer)", paste your token, and set the allowed domain to *.hubapi.com.

Credential details

Type

API Key (Bearer Token)

Header

Authorization: Bearer pat-xx-xxxxxxxx

Allowed domains

*.hubapi.com

Fields

Private App access token (single field)

Example actions

Once connected, you can ask your agent to perform actions like these.

"Add john@acme.com as a new contact with company Acme Corp"

Creates a contact record and associates it with the Acme Corp company.

"Move the Acme Corp deal to Closed Won and set the amount to $24,000"

Updates the deal stage and revenue amount in your pipeline.

"Create a support ticket for billing issue from john@acme.com, priority high"

Opens a ticket linked to the contact with the correct priority level.

"Show me all deals in the Proposal stage worth over $10,000"

Queries the deals API and returns a filtered summary of matching deals.

Ready to connect your agent to HubSpot?

Add your Private App token and your agent starts managing CRM data immediately.