What it connects

The HubSpot tool lets your agent interact with your CRM during a conversation. Use it to capture lead information, create support tickets when customers report issues, or add new contacts when users share their details.

Run independently through code

You can also run this integration’s actions through code without an agent conversation. Independent execution uses the project’s Draft connection and can perform real actions in the connected service. See Run tools without a conversation (Developers) for schema discovery, inputs, permissions, and results.

Before you connect

A HubSpot account with access to the CRM records you intend to create. For tickets, identify the pipeline and stage your team uses.

Set up and test

The steps below use a workflow so you can provide explicit inputs and check the result of one action.

1

Add the integration

Open a workflow and add an Integration step. Connect it to the preceding step, open its configuration, and choose HubSpot.

2

Connect your account

Authorize the HubSpot account in the connection dialog. If the account is already connected, check that it is the account you intend to test.

3

Choose an action

Select Create ticket for this first test. The tool shows the inputs for that action. You can find the other available actions in the reference below.

4

Configure the inputs

Enter a test ticket’s subject and content. Set hs_pipeline and hs_pipeline_stage to your account’s values if needed. You can set hs_ticket_priority to HIGH, MEDIUM, or LOW.

Use fixed test values first. When the test works, you can map the inputs to variables collected earlier in the conversation.

5

Run a test and check the result

Use Run to test the workflow and follow the conversation path that reaches the Integration step.

Inspect ticket.id, then open the new ticket in HubSpot. Confirm that its subject, content, and pipeline match your inputs.

To let the agent choose when to call the tool, add it to a playbook instead and describe when to use it and what information to collect. Manage existing connections in Settings → Integrations.

Supported actions

The table names the connector’s inputs; optional inputs are marked where listed. Select an action to see its complete configuration.

Use Capture response in an Integration step to save the result, or an object path within it, to a variable. Base the path on the actual returned result.

Create a support ticket

These are example input values, not a live execution.

Run Create ticket in a test account. Inspect the returned ticket.id and open that ticket in HubSpot to verify its subject and content. Set hs_pipeline and hs_pipeline_stage when your account needs a specific pipeline.

Limitations & troubleshooting

Ticket priority accepts LOW, MEDIUM, or HIGH. When no stage is supplied, the connector uses 1; check that it is valid for your pipeline. Create lead creates a CRM contact through the contacts API and returns it under lead; it does not create a separate Leads object. Updating records and managing deals are not exposed by this connector.

Integration walkthrough · Integration step · All integrations

Use the up and down arrow keys to select a result, Enter to open it, and Escape to close the search.