HubSpot Chatbot: Turn AI Conversations Into CRM Records

Your agent qualifies the visitor; HubSpot gets the contact. Here are the four ways to wire that up today, and exactly what each one asks of you.

Last updated October 14, 2026 · By Samuel Su

The short answer

Chat Data does not ship a dedicated HubSpot connector. What it does have is a general way for an agent to call other software, and HubSpot exposes a well-documented REST API, so connecting the two is a configuration job rather than a development project.[*]

Pick the route by who should decide when HubSpot gets written to. If the agent should decide in the moment, use an AI Action. If a fixed flow should decide, use a workflow. If every lead should be copied regardless of the conversation, use events through Zapier, Make, n8n or your own webhook endpoint.

Four routes compared

RouteHow HubSpot is authorizedGood fitHIPAA workspace
HubSpot app via MCP (Composio)OAuth sign-in to HubSpot from the action settingsLetting the agent look up, create or update contacts, deals and tickets mid-conversationBlocked in HIPAA workspaces
AI Action of type API CallHubSpot private app token in a request headerOne precise call you fully control, such as creating a contact with four named propertiesAllowed; the request goes straight to HubSpot
Workflow API Call blockSame private app token, set in the block headersDeterministic steps inside a scripted flow, such as checking whether an email is already a contactAllowed; the request goes straight to HubSpot
Webhooks, Zapier, Make or n8nChat Data API key or webhook signing secret, plus HubSpot auth in the automation toolCopying every submitted lead or escalation into HubSpot without touching the agent promptDepends on the automation tool you route through

Route 1: the HubSpot app through MCP

Under AI Actions, the MCP action includes a catalog of prebuilt apps run by Composio, and HubSpot is one of them. You click Connect, sign in to HubSpot and approve access, then tick the individual tools the agent may use. Composio's HubSpot toolkit covers creating, reading, searching and updating contacts, deals and tickets.[*]

This is the fastest route when you want the agent to reason about the CRM, for instance searching for a contact before deciding whether to create one. Be selective: each ticked tool counts as one AI action, and an agent with three clear tools picks the right one more reliably than an agent with thirty. Prebuilt app actions are refused in HIPAA workspaces because they run through Composio, which is outside Chat Data's Business Associate Agreement coverage.

Route 2: a direct API Call action (worked example)

This is the configuration we use when a team wants one exact behaviour: once a visitor has shared an email and agreed to be contacted, create a HubSpot contact with four properties. The field names below are the ones in the API Call action editor.

1. Create the private app in HubSpot

A super admin opens Development, then Legacy apps, clicks Create legacy app and chooses Private. On the Scopes tab, grant crm.objects.contacts.write (and crm.objects.contacts.read if you plan the lookup in Route 3).[*]

2. Copy the token

On the app's Auth tab, click Show token, then Copy. HubSpot expects it as a Bearer token and suggests rotating it every six months.

3. Fill in the action

Action HTTP MethodPOST
Request URLhttps://api.hubapi.com/crm/v3/objects/contacts
HeadersAuthorization: Bearer <private app token>
Body Parametersproperties, type object, with four string properties: email (required), firstname, lastname, company
Parameter descriptionsPlain instructions the model reads, e.g. “The visitor's email exactly as they typed it”

4. Test, then tell the agent when to run it

Press Test. The example values go to HubSpot and the response panel shows what came back, including the new contact's id. Then write the trigger rule in the action description, and repeat it in the base prompt if the agent hesitates: “Run this only after the visitor has given an email address and said yes to being contacted.”

When a visitor named Priya Shah from Lakeside Dental says yes, the agent fills the dynamic fields from the conversation and HubSpot receives this body, matching the shape in HubSpot's contacts guide:

POST https://api.hubapi.com/crm/v3/objects/contacts
Authorization: Bearer <private app token>
Content-Type: application/json

{
  "properties": {
    "email": "[email protected]",
    "firstname": "Priya",
    "lastname": "Shah",
    "company": "Lakeside Dental"
  }
}

HubSpot's newest reference also publishes date-versioned paths alongside v3, so check its contacts guide for the path it currently recommends before you go live.[*]

Route 3: an API Call block inside a workflow

Workflows suit steps that must happen the same way every time. The API Call block takes a method, a URL and headers that can contain {{variables}}, maps JSON response fields into variables with paths like properties.firstname (typed after the fixed body. prefix), and leaves through a success handle on 2xx or an error handle on 4xx and 5xx. Each call that gets a response costs 0.1 message credits, including a 4xx or 5xx such as a 404 lookup; only a call that never gets a response, such as a network failure, is free.

A practical use is a returning-customer check: a Form Block collects the email into a session variable, then a GET to https://api.hubapi.com/crm/v3/objects/contacts/{{SESSION.email}}?idProperty=email either succeeds (greet the visitor by first name) or errors (no contact yet, so continue to the signup path). The block sends body fields as a flat list of keys and values, which matches this lookup but not HubSpot's nested properties body for creating records; use Route 2 for that.

Route 4: copy events with Zapier, Make, n8n or webhooks

If you would rather not touch the agent at all, listen to what it emits. Chat Data publishes a lead submission event, a live chat escalation event and a new message event:

  • Zapier: the Lead Submission trigger followed by a HubSpot contact action.
  • Make: Watch Lead Submission, then HubSpot's module.
  • n8n: the On Lead Submission trigger, then a HubSpot node.
  • Webhooks: a signed lead-submission event with the lead's name, email, phone and uuid, sent to an endpoint you run, verified with HMAC-SHA256.

Before configuring event delivery, review the current options on the pricing page.

Reviewed for Accuracy

Samuel Su

Founder & CEO

AI AgentsWorkflow AutomationSaaS ArchitectureCustomer Support AIProduct Strategy

Action fields, body handling and HIPAA rules checked against the Chat Data product and cookbook. Endpoint, scopes, token handling and deduplication checked against HubSpot's developer documentation; toolkit coverage against Composio's catalog.

Last updated on October 14, 2026.

Frequently Asked Questions

Does Chat Data have a dedicated HubSpot connector?

No. Chat Data has no dedicated HubSpot panel the way it has one for Zendesk. You connect HubSpot through an MCP action powered by Composio, an API Call action or workflow block that calls the HubSpot API directly, or an automation tool such as Zapier, Make or n8n listening to Chat Data events.

Which HubSpot scopes does the private app need?

For the contact example on this page, crm.objects.contacts.write to create records and crm.objects.contacts.read if you also look contacts up. Grant nothing broader than the calls you actually configure.

Will returning visitors create duplicate contacts?

As of October 2026, HubSpot treats email as the primary unique identifier for deduplicating contacts, so always send the email property. If a visitor might already exist, add a lookup by email first, or let the MCP route use HubSpot update and search tools alongside create.

Does the language model ever see my HubSpot token?

No. Headers are not part of the tool definition the model receives; Chat Data attaches them only when it sends the request. The model fills the body fields such as email and first name. With the MCP route there is no token to paste at all, because the connection is made through OAuth.

How many AI actions does the HubSpot MCP route use?

Each tool you tick counts as one AI action toward your limit, and only ticked tools count. Selecting create contact, search contacts and create deal uses three, no matter how many tools the HubSpot toolkit offers.

Can I use HubSpot in a HIPAA workspace?

Not through the Composio-powered MCP app: prebuilt app actions run through Composio, which is outside Chat Data's Business Associate Agreement coverage, so they cannot be saved in a HIPAA workspace. API Call actions, workflow API Call blocks and custom MCP servers you host call HubSpot directly; whether HubSpot may hold health data is governed by your own agreement with HubSpot.

Does the agent answer questions from HubSpot data?

Only through the calls you configure. Knowledge answers come from the documents and web pages you train it on. HubSpot calls are actions the agent runs when its instructions say to, for example reading a contact record so it can greet a returning customer by name.

Qualified in chat, recorded in HubSpot

Train an agent on your content, add the HubSpot route that fits your team, and stop retyping chat leads into the CRM.

References

  1. [1]
    HubSpot Developer Docs: Contacts API guide (2026-10-14)

    HubSpot CRM contacts API guide covering contact creation, required scopes, retrieval by email and email-based deduplication.

  2. [2]
    HubSpot Developer Docs: Legacy private apps (2026-10-14)

    HubSpot guide to creating a private app, selecting scopes, copying its access token and sending it as a Bearer token.

  3. [3]
    Composio HubSpot toolkit (2026-10-14)

    Composio catalog page for the HubSpot toolkit, listing contact, deal and ticket tools available to AI agents.