Skip to content
HubSpot logoHubSpot logo

HubSpot Integrations

Marketing Automation

Build HubSpot automations with your AI agent. Run them on Zapier.

Add Zapier to Claude, ChatGPT, Cursor, or another AI agent, and your agent can build automations across HubSpot and 10,000+ other apps.
apps to connect
10,000+
ways to start a workflow
30
available app actions
69
  • Dependable AI workflows
  • Full audit trails and controls
  • Easy visual workflow manager
  • Free tier available
  • SOC 2 Type II, SOC 3, GDPR, and CCPA compliant

Top teams trust Zapier to automate work

  • Samsung
  • Okta
  • Mastercard
  • Nvidia
  • Airbnb

HubSpot MCP server: connect HubSpot to your AI agent with Zapier

Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with HubSpot and runs them—all with your credentials managed by Zapier and kept out of the model.

Paste into any AI tool
Connect to Zapier MCP at https://mcp.zapier.com/api/v1/connect and help me sign in to Zapier or sign up. Then connect my HubSpot account and help me build a Zap with HubSpot: ask me what I want to automate. Read the setup steps at https://zapier.com/AGENTS.md if you can't connect.

Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build HubSpot automations.

MCP server · Streamable HTTP
https://mcp.zapier.com/api/v1/connect

Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection hubspot

Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.

Terminal · no project
npx @zapier/install-zapier

Run this command to print setup instructions for your client, then follow the prompts to sign in.

Ask your AI agent to do it

Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.

Wire it into your own code

Connect your agent to HubSpot and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.

Set it up from your terminal

Tell your coding agent to run one command. It installs Zapier MCP so your agent can use HubSpot and other apps.

Use a premade HubSpot automation template to start building from anywhere: in your go-to agent interface, in code, or in Zapier.

With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the HubSpot triggers and actions your agent can build with right away.

  • New Payment

    Triggers when a new payment is recorded.

  • New Company

    Triggers when new company is available.

  • New Contact

    Triggers when new contact is available.

  • CRM Object Recently Created

    Triggers when a CRM object is recently created.

  • Company Recently Created or Updated

    Triggers when a company recently created or updated.

  • Contact Recently Created or Updated

    Triggers when a contact recently created or updated.

  • Line_item Recently Created or Updated

    Triggers when a line_item recently created or updated.

  • Product Recently Created or Updated

    Triggers when a product recently created or updated.

Your agent picks the right HubSpot action from what you ask. Connect Zapier once and it can use 91 HubSpot tools, each with typed inputs. Zapier handles HubSpot’s login, so you never paste an API key. The same actions run from TypeScript through the Zapier SDK.

Set up HubSpot MCP in Claude, Claude Code, ChatGPT, Cursor, and Codex

Zapier MCP works with any MCP client that supports Streamable HTTP. Connect or add Zapier in your AI tool, sign in when prompted, then ask for HubSpot.

MCP server · Streamable HTTP · OAuth
https://mcp.zapier.com/api/v1/connect
  • Claude

    Connect Zapier in Claude and sign in when prompted. Claude setup guide

  • Claude Code

    Install Zapier MCP in Claude Code, then sign in from the terminal. Claude Code setup guide

  • ChatGPT

    Connect Zapier in ChatGPT and approve the sign-in. ChatGPT setup guide

  • Cursormcp.json

    Add Zapier to Cursor and sign in. Cursor setup guide

  • Codex

    Add Zapier to Codex and sign in. Codex setup guide

  • VS Code and other clientsmcp.json

    Add Zapier to any MCP client that supports Streamable HTTP.

  • OpenCodeopencode.json

    Add Zapier to OpenCode.

  • Terminal auto-installer

    Install Zapier MCP in whichever client you have.

How your agent gets these tools

  1. Connect Zapier to your AI tool (pick yours above) and sign in once in the browser. Zapier sets up your MCP server, with no token to paste.
  2. Ask your agent to connect HubSpot. It calls discover_zapier_actions to find the HubSpot actions, then enable_zapier_action to add them.
  3. Approve the HubSpot sign-in when prompted. If HubSpot isn’t connected yet, the first call returns a sign-in link.
  4. Ask for what you want done in plain language. Each enabled action becomes its own tool, named as below. Until then, execute_zapier_read_action and execute_zapier_write_action run it.

Use HubSpot in 36 AI tools with Zapier MCP

91 HubSpot MCP tools

ToolMCP nameWhat it does
New Paymenthubspot_new_payment

Trigger · Read-only. Triggers when a new payment is recorded.

Optional: properties_to_retrieve (Additional properties to retrieve)

New Companyhubspot_new_company

Trigger · Read-only. Triggers when new company is available.

Optional: properties_to_retrieve (Additional properties to retrieve)

New Contacthubspot_new_contact

Trigger · Read-only. Triggers when new contact is available.

Optional: properties_to_retrieve (Additional properties to retrieve)

CRM Object Recently Createdhubspot_crm_object_recently_created

Trigger · Read-only. Triggers when a CRM object is recently created.

Required: object_type (Object Type)

Optional: properties_to_retrieve (Properties to Retrieve)

Company Recently Created or Updatedhubspot_company_recently_created_or_updated

Trigger · Read-only. Triggers when a company recently created or updated.

Optional: properties_to_retrieve (Additional properties to retrieve)

Contact Recently Created or Updatedhubspot_contact_recently_created_or_updated

Trigger · Read-only. Triggers when a contact recently created or updated.

Optional: properties_to_retrieve (Additional properties to retrieve)

Line_item Recently Created or Updatedhubspot_line_item_recently_created_or_updated

Trigger · Read-only. Triggers when a line_item recently created or updated.

Optional: properties_to_retrieve (Additional properties to retrieve)

Product Recently Created or Updatedhubspot_product_recently_created_or_updated

Trigger · Read-only. Triggers when a product recently created or updated.

Optional: properties_to_retrieve (Additional properties to retrieve)

Deal Property Changehubspot_deal_property_change

Trigger · Read-only. Triggers when a specified property is provided or updated on a Deal.

Required: propertyName (Property Name)

New Email Eventhubspot_new_email_event

Trigger · Read-only. Triggers when all, or some specific new email event is available.

Optional: event_type (Event Type)

Email Subscriptions Timelinehubspot_email_subscriptions_timeline

Trigger · Read-only. Triggers when new email timeline subscription added for the portal.

New Engagementhubspot_new_engagement

Trigger · Read-only. Triggers when new engagement created.

Optional: type

New Form Submissionhubspot_new_form_submission

Trigger · Read-only. Triggers when a form is submitted.

Required: form_guid (Form)

New Invoicehubspot_new_invoice

Trigger · Read-only. Triggers when new invoice is available.

Optional: properties_to_retrieve (Additional properties to retrieve)

New Line_itemhubspot_new_line_item

Trigger · Read-only. Triggers when new line_item is available.

Optional: properties_to_retrieve (Additional properties to retrieve)

New Contact in Listhubspot_new_contact_in_list

Trigger · Read-only. Triggers when a contact is added to the specified list. (Marketing Hub Starter plans and above).

Required: list_id (Contact List)

Optional: properties_to_retrieve (Additional properties to retrieve)

New COS Blog Articlehubspot_new_cos_blog_article

Trigger · Read-only. Triggers when a new article is added to your COS blog.

Required: blog_id (Blog Url), state (Article State)

New Custom Objecthubspot_new_custom_object

Trigger · Read-only. Triggers when a new custom object is created.

Required: resource_name (Type of Custom Object)

New Dealhubspot_new_deal

Trigger · Read-only. Triggers when a new Deal is created.

New Social Media Messagehubspot_new_social_media_message

Trigger · Read-only. Triggers when a message is posted from HubSpot to the specified social media channel.

Required: channel

Optional: status

New Ticket Property Changehubspot_new_ticket_property_change

Trigger · Read-only. Triggers when a specified property is provided or updated on a ticket.

Required: propertyName (Property Name), properties (Properties to retrieve)

New Producthubspot_new_product

Trigger · Read-only. Triggers when new product is available.

Optional: properties_to_retrieve (Additional properties to retrieve)

New Quotehubspot_new_quote

Trigger · Read-only. Triggers when a new quote is created.

Optional: properties_to_retrieve (Additional properties to retrieve)

New Tickethubspot_new_ticket

Trigger · Read-only. Triggers when new ticket is available.

Optional: properties_to_retrieve (Additional properties to retrieve)

CRM Object Recently Updatedhubspot_crm_object_recently_updated

Trigger · Read-only. Triggers when a CRM object is recently updated.

Required: object_type (Object Type)

Optional: properties_to_retrieve (Properties to Retrieve)

CRM Object Property Recently Updatedhubspot_crm_object_property_recently_updated

Trigger · Read-only. Triggers when a specified property is updated on a CRM object.

Required: object_type (Object Type), propertyName (Property Name)

Optional: properties_to_retrieve (Additional Properties to Retrieve)

New Company Property Changehubspot_new_company_property_change

Trigger · Read-only. Triggers when a specified property is provided or updated on a company.

Required: propertyName (Property Name)

New Contact Property Changehubspot_new_contact_property_change

Trigger · Read-only. Triggers when a specified property is provided or updated on a contact.

Required: property_name (Property Name)

Optional: properties_to_retrieve (Additional properties to retrieve)

New Custom Object Property Changehubspot_new_custom_object_property_change

Trigger · Read-only. Triggers when a specified property is provided or updated on a custom object.

Required: resource_name (Type of Custom Object)

Updated Deal Stagehubspot_updated_deal_stage

Trigger · Read-only. Triggers when a deal enters a specified stage.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find CRM Objecthubspot_find_crm_object

Search · Read-only. Finds CRM objects by searching with filters

Find Company Deprecatedhubspot_find_company_deprecated

Search · Read-only. Finds a company by searching. Deprecated, please switch to "Find Company" search for the most reliable experience with your Zap.

Required: name

Find Companyhubspot_find_company

Search · Read-only. Finds a company by searching.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find Contacthubspot_find_contact

Search · Read-only. Finds a contact by searching.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find Custom Objecthubspot_find_custom_object

Search · Read-only. Finds a custom object by searching.

Required: resource_name (Type of Custom Object)

Find Deal Deprecatedhubspot_find_deal_deprecated

Search · Read-only. Finds a deal by searching. Deprecated, please switch to "Find Deal" search for the most reliable experience with your Zap.

Required: dealname (Name)

Find Dealhubspot_find_deal

Search · Read-only. Finds a deal by searching.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find Associationshubspot_find_associations

Search · Read-only. Find associations between objects.

Get Owner by Emailhubspot_get_owner_by_email

Search · Read-only. Gets an existing owner by email.

Required: owner_email (Owner email)

Optional: search_archived (Search among deactivated owners)

Get Pipeline Stage Detailshubspot_get_pipeline_stage_details

Search · Read-only. Finds and retrieves CRM object pipeline stage details.

Required: object_type (Object Type), pipeline_id (Pipeline Id), stage_id (Stage Id)

Find Userhubspot_find_user

Search · Read-only. Finds a HubSpot user by email or user ID.

Get Owner by IDhubspot_get_owner_by_id

Search · Read-only. Gets an existing owner by ID.

Required: owner_id (Owner Id)

Optional: search_archived (Search among deactivated owners)

Find Invoicehubspot_find_invoice

Search · Read-only. Finds an invoice by searching its properties, such as the invoice number.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find Line_itemhubspot_find_line_item

Search · Read-only. Finds a line_item by searching.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find Producthubspot_find_product

Search · Read-only. Finds a product by searching.

Optional: properties_to_retrieve (Additional properties to retrieve)

Find Tickethubspot_find_ticket

Search · Read-only. Finds a ticket by searching.

Optional: properties_to_retrieve (Additional properties to retrieve)

Make API GET Requesthubspot_make_api_get_request

Action · Read-only. Make a GET HTTP request to HubSpot's API, without needing to handle authentication. Fixed parameters: - method: GET This integration requests the following OAuth scopes: crm.objects.contacts.read crm.schemas.contacts.read crm.schemas.deals.read crm.schemas.companies.read crm.objects.companies.write crm.objects.contacts.write crm.objects.deals.read crm.objects.deals.write crm.objects.companies.read crm.objects.owners.read crm.lists.write crm.lists.read zapier.

Required: fail_on_errors (Stop on error), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

Update Contact Subscription Preferenceshubspot_update_contact_subscription_preferences

Action · Writes data. Adds a contact to one or more subscription types in HubSpot.

Required: email (Contact Email), subscription_type_ids (Subscription Types)

Optional: legal_basis_explanation (Legal Basis Explanation)

Add Contact to Listhubspot_add_contact_to_list

Action · Writes data. Adds a contact to a specific static list. (Marketing Hub Starter plans and above)

Required: list_id (List Name), contact_id (Contact)

Optional: haltTaskIfNoChanges (Halt my task if contact is already a member of the list)

Create Company Deprecatedhubspot_create_company_deprecated

Action · Writes data. Creates a new company. Deprecated, please switch to "Create Company" action for the most reliable experience with your Zap.

Required: name

Create Companyhubspot_create_company

Action · Writes data. Creates a Company in HubSpot.

Create Contacthubspot_create_contact

Action · Writes data. Creates a Contact in HubSpot.

Create Associationshubspot_create_associations

Action · Writes data. Creates associations between objects.

Create CRM Objecthubspot_create_crm_object

Action · Writes data. Creates a CRM object in HubSpot

Create Engagementhubspot_create_engagement

Action · Writes data. Creates a new Engagement for a contact, in HubSpot.

Required: type (Engagement Type)

Optional: haltIfAssociationsErrors (Halt task if any associations error occurred), ownerId (Assigned To)

Create Listhubspot_create_list

Action · Writes data. Creates a new list (segment) in HubSpot. Use this to organize records for segmentation, filtering, and grouping.

Required: name (List Name), objectTypeId (Object Type), processingType (Processing Type)

Optional: listFolderId (Folder ID)

Create Social Media Messagehubspot_create_social_media_message

Action · Writes data. Creates and immediately publishes a message on a specified social media channel.

Required: channel (Social Media Channel), body (Message Content)

Optional: trigger_at (When), is_draft (Save as draft)

Create Custom Objecthubspot_create_custom_object

Action · Writes data. Creates a Custom Object in HubSpot.

Required: resource_name (Type of Custom Object)

Create Deal Deprecatedhubspot_create_deal_deprecated

Action · Writes data. Creates a new deal. Deprecated, please switch to "Create Deal" action for the most reliable experience with your Zap.

Required: dealname (Name)

Optional: company, contact

Create Dealhubspot_create_deal

Action · Writes data. Creates a Deal in HubSpot.

Delete CRM Objecthubspot_delete_crm_object

Action · Writes data. Deletes a CRM object from HubSpot

Add Contact to Workflowhubspot_add_contact_to_workflow

Action · Writes data. Adds a contact to a specific workflow.

Required: workflow_id (Workflow Name), email (Contact's Email)

Get Companyhubspot_get_company

Action · Writes data. Gets a Company.

Required: id (Company ID)

Optional: properties_to_retrieve (Additional properties to retrieve)

Get Contacthubspot_get_contact

Action · Writes data. Gets a Contact.

Required: id (Contact ID)

Optional: properties_to_retrieve (Additional properties to retrieve)

Get Custom Objecthubspot_get_custom_object

Action · Writes data. Gets a Custom Object.

Required: resource_name (Type of Custom Object)

Get Dealhubspot_get_deal

Action · Writes data. Gets a Deal.

Required: id (Deal ID)

Optional: properties_to_retrieve (Additional properties to retrieve)

Get File Public URLhubspot_get_file_public_url

Action · Writes data. Gets a publicly accessible URL for a file that was uploaded using a HubSpot form.

Get Line_itemhubspot_get_line_item

Action · Writes data. Gets a Line_item.

Required: id (Line_item ID)

Optional: properties_to_retrieve (Additional properties to retrieve)

Get Producthubspot_get_product

Action · Writes data. Gets a Product.

Required: id (Product ID)

Optional: properties_to_retrieve (Additional properties to retrieve)

Get Tickethubspot_get_ticket

Action · Writes data. Gets a Ticket.

Required: id (Ticket ID)

Optional: properties_to_retrieve (Additional properties to retrieve)

Create Line_itemhubspot_create_line_item

Action · Writes data. Creates a Line_item in HubSpot.

Create COS Blog Posthubspot_create_cos_blog_post

Action · Writes data. Creates a blog post in your HubSpot COS blog.

Required: content_group_id (Blog URL), blog_author_id (Blog Author), state (Publish This Post?), slug (Blog Post URL), name (Blog Post Title), post_body (Blog Post Content), meta_description (Meta Description)

Optional: featured_image (Featured image URL)

Create Enterprise Eventhubspot_create_enterprise_event

Action · Writes data. Creates a new custom enterprise event. (Marketing Hub Enterprise plans only)

Required: email (Contact Email Address), event_id (Event ID)

Optional: value (Contact Value)

Create Producthubspot_create_product

Action · Writes data. Creates a Product in HubSpot.

Get CRM Objecthubspot_get_crm_object

Action · Writes data. Gets a CRM object from HubSpot by ID

Remove Associationshubspot_remove_associations

Action · Writes data. Removes associations between objects.

Remove Contact From Listhubspot_remove_contact_from_list

Action · Writes data. Remove a contact from a specific static list. (Marketing Hub Starter plans and above)

Required: list_id (List Name), contact_id (Contact), haltTaskIfNoChanges (Halt my task if contact wasn't a member of the list)

Create Form Submissionhubspot_create_form_submission

Action · Writes data. Creates a new submission for a selected form.

Required: form

Optional: hutk (HubSpot usertoken), ipAddress (IP address), pageName (Page name), pageUri (Page URI), pageId (Page ID), sfdcCampaignId (SFDC campaign ID), goToWebinarWebinarKey (GoToWebinar key/ID), submittedAt (Submission timestamp), skipValidation (Skip validation)

Create Tickethubspot_create_ticket

Action · Writes data. Creates a Ticket in HubSpot.

Update Companyhubspot_update_company

Action · Writes data. Update a Company in HubSpot.

Update Contacthubspot_update_contact

Action · Writes data. Update a Contact in HubSpot.

Update Dealhubspot_update_deal

Action · Writes data. Update a Deal in HubSpot.

Update Line_itemhubspot_update_line_item

Action · Writes data. Update a Line_item in HubSpot.

Update CRM Objecthubspot_update_crm_object

Action · Writes data. Updates a CRM object in HubSpot

Update Producthubspot_update_product

Action · Writes data. Update a Product in HubSpot.

Update Tickethubspot_update_ticket

Action · Writes data. Update a Ticket in HubSpot.

Update Custom Objecthubspot_update_custom_object

Action · Writes data. Update a Custom Object in HubSpot.

Required: resource_name (Type of Custom Object)

Remove Email Subscriptionhubspot_remove_email_subscription

Action · Writes data. Remove Email Subscription.

Required: email

Upload Filehubspot_upload_file

Action · Writes data. Uploads a file to HubSpot File Manager.

Required: folderId (Folder), filename, access (Access level), file

Create or Update Contacthubspot_create_or_update_contact

Action · Writes data. Creates a new contact or updates an existing contact based on email address.

Required: email (Contact Email)

Make API Mutating Requesthubspot_make_api_mutating_request

Action · Writes data. Make a mutating HTTP request (POST, PUT, PATCH, DELETE, etc.) to HubSpot's API, without needing to handle authentication. This integration requests the following OAuth scopes: crm.objects.contacts.read crm.schemas.contacts.read crm.schemas.deals.read crm.schemas.companies.read crm.objects.companies.write crm.objects.contacts.write crm.objects.deals.read crm.objects.deals.write crm.objects.companies.read crm.objects.owners.read crm.lists.write crm.lists.read zapier.

Required: fail_on_errors (Stop on error), method (HTTP Method), url

Optional: querystring (Query string parameters), headers (Additional request headers), body

HubSpot API with the Zapier SDK, without pasting an API key

The Zapier SDK gives your code one way to call HubSpot. You connect your account once, and your code references that connection instead of a raw token.

add_contact_to_subscription (Update Contact Subscription Preferences) requires email and subscription_type_ids. Every HubSpot action and its inputs are listed under HubSpot triggers and actions above. Zapier handles OAuth, token refresh, retries and rate limits. Read the SDK docs

Terminal · in your project
npm install @zapier/zapier-sdk
npm install -D @zapier/zapier-sdk-cli
npx zapier-sdk login
npx zapier-sdk create-connection hubspot
TypeScript
import { createZapierSdk } from "@zapier/zapier-sdk";

const zapier = createZapierSdk();
const { data: connection } = await zapier.findFirstConnection({ app: "hubspot", owner: "me" });

const { data } = await zapier.runAction({
  app: "hubspot",
  actionType: "write",
  action: "add_contact_to_subscription",
  connection: connection.id,
  inputs: {
    email: "", // Contact Email
    subscription_type_ids: "", // Subscription Types
  },
});
Zapier SDK CLI
npx zapier-sdk run-action hubspot write add_contact_to_subscription \
  --inputs '{"email":"","subscription_type_ids":""}'

Frequently asked questions about automating with HubSpot

How do I connect HubSpot to Claude?

Connect Zapier in Claude, sign in to Zapier, then ask Claude to connect HubSpot. Claude finds the HubSpot actions and adds them. If HubSpot needs a sign-in, you approve it once.

Can I use the HubSpot API without managing API keys?

With the Zapier SDK you connect your HubSpot account to Zapier once, and your code runs actions through that connection. Zapier handles HubSpot’s login, so you never paste an API key into your code.

What can an AI agent do with HubSpot?

Through Zapier MCP, your agent can use 91 HubSpot tools, such as New Payment, New Company, and New Contact. 47 tools only read data, so you can start with those before you let your agent make changes.

My AI agent already connects to my apps. Why add Zapier?

Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.

Can’t my AI agent already run tasks on a schedule?

Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.

Why not have my AI agent write me a script?

You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.

Point your AI agent to this page’s markdown file to build HubSpot automations. It covers how HubSpot connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI. To start from a ready-made Zap instead, have it search zapier.sh.