Use Hubspot with AI Agents

HubSpot is a developer and marketer of software products for inbound marketing, sales, and customer service.
🔗 Connect and Use Hubspot
1. 🔑 Connect your Hubspot account
2. ✅ Select an action
3. 🚀 Go live with the agent
What do you want to do?
Actions
Batch
Basic
Public_Object
GDPR
Search
Pipeline Stage Audits
Pipelines
Pipeline Audits
Pipeline Stages
Settings
Recording_Settings
Core
Public_Imports
Public_Object_Schemas
Groups
Owners
Events
Templates
Tokens

API actions for Hubspot for AI assitants/agents

Language
JS
PYTHON

Batch

Archive A Batch Of Quotes By Id

The `/crm/v3/objects/quotes/batch/archive` POST endpoint enables archiving multiple quotes by IDs, requiring appropriate authorization. It returns a 204 status on success and provides detailed
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_BATCH_OF_QUOTES_BY_ID])

Create A Batch Of Quotes

The `/crm/v3/objects/quotes/batch/create` endpoint allows for batch creation of quotes using POST requests, requiring OAuth2 or private app permissions for `crm.objects.quotes.write`. It respo
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_BATCH_OF_QUOTES])

Update A Batch Of Quotes

This endpoint supports batch updating of quote objects in a CRM system via POST requests with JSON body requirements. It details successful and error responses in JSON and requires OAuth2 or p
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_BATCH_OF_QUOTES])

Read A Batch Of Deals By Internal Id Or Unique Property Values

The `POST /crm/v3/objects/deals/batch/read` endpoint allows batch reading of deals by ID or properties, supports OAuth2 and private app auth, can filter archived results, and needs a detailed
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_A_BATCH_OF_DEALS_BY_INTERNAL_ID_OR_UNIQUE_PROPERTY_VALUES])

Archive A Batch Of Deals By Id

The `POST /crm/v3/objects/deals/batch/archive` endpoint archives multiple deals using their IDs, requires OAuth2 or private app authentication with specific scope, returns a 204 status on succ
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_BATCH_OF_DEALS_BY_ID])

Create A Batch Of Deals

The `POST /crm/v3/objects/deals/batch/create` endpoint enables batch creation of deals in the CRM. It requires a JSON body with deal objects and returns creation status or errors. Security is
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_BATCH_OF_DEALS])

Update A Batch Of Deals

The `/crm/v3/objects/deals/batch/update` POST endpoint enables batch updating of CRM deals, requiring OAuth2/app authentication and specific `crm.objects.deals.write` permissions. It provides
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_BATCH_OF_DEALS])

Archive A Batch Of Properties

Archive a provided list of properties. This method will return a 204 No Content response on success regardless of the initial state of the property (e.g. active, already archived, non-existent
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_BATCH_OF_PROPERTIES])

Read A Batch Of Properties

Read a provided list of properties.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_A_BATCH_OF_PROPERTIES])

Create A Batch Of Properties

Create a batch of properties using the same rules as when creating an individual property.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_BATCH_OF_PROPERTIES])

GDPR

Permanently Remove Contact By Email With Blocklist Fallback

To comply with GDPR, permanently delete a contact using the optional 'idProperty' set to 'email' for identification. If the email is not found, it will be added to a blocklist to prevent futur
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_PERMANENTLY_REMOVE_CONTACT_BY_EMAIL_WITH_BLOCKLIST_FALLBACK])

Permanently Remove Contact By Email For Gdpr Compliance

To comply with GDPR, permanently delete a contact and all related content using 'idProperty' set to 'email' to identify by email. If not found, add the email to a blocklist to prevent future u
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_PERMANENTLY_REMOVE_CONTACT_BY_EMAIL_FOR_GDPR_COMPLIANCE])

Basic

Fetch Quotes Page With Customizable Properties

Read a page of quotes. Control what is returned via the `properties` query param.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_FETCH_QUOTES_PAGE_WITH_CUSTOMIZABLE_PROPERTIES])

Generate And Return New Quote Object With Id

Create a quote with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard quotes is provided.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GENERATE_AND_RETURN_NEW_QUOTE_OBJECT_WITH_ID])

Fetch Object Details By Id Or Specified Property

Read an Object identified by `{dealId}`. `{dealId}` refers to the internal object ID by default, or optionally any unique property value as specified by the `idProperty` query param. Control
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_FETCH_OBJECT_DETAILS_BY_ID_OR_SPECIFIED_PROPERTY])

Move Deal Object To Recycle Bin

Move an Object identified by `{dealId}` to the recycling bin.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_MOVE_DEAL_OBJECT_TO_RECYCLE_BIN])

Modify Specific Deal Properties By Unique Id

Update an object's properties using its `{dealId}` or another unique identifier via `idProperty`. Only the supplied values are updated; read-only and non-existent properties are ignored. Prope
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_MODIFY_SPECIFIC_DEAL_PROPERTIES_BY_UNIQUE_ID])

Fetch Pageable Deal Data With Customizable Fields

Read a page of deals. Control what is returned via the `properties` query param.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_FETCH_PAGEABLE_DEAL_DATA_WITH_CUSTOMIZABLE_FIELDS])

Generate And Return A New Deal Object With Id

Create a deal with the given properties and return a copy of the object, including the ID. Documentation and examples for creating standard deals is provided.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GENERATE_AND_RETURN_A_NEW_DEAL_OBJECT_WITH_ID])

Search Quotes With Filters Sorting And Pagination

The `POST /crm/v3/objects/quotes/search` endpoint facilitates searching quotes using filters, sorting, and pagination. It requires OAuth2 or private app authentication and outputs results with
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_SEARCH_QUOTES_WITH_FILTERS_SORTING_AND_PAGINATION])

Search Deals With Filters Sorting And Limits

The `/crm/v3/objects/deals/search` POST endpoint allows users to search for deals using filters, sorting, and limits in JSON format. It supports OAuth2 or private apps for authentication and d
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_SEARCH_DEALS_WITH_FILTERS_SORTING_AND_LIMITS])

Public_Object

Merge Two Deals With Same Type

The `/crm/v3/objects/deals/merge` POST endpoint merges two similar deals, needing OAuth2 or private app write access. It requires a JSON payload with 'objectIdToMerge' and 'primaryObjectId,' a
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_MERGE_TWO_DEALS_WITH_SAME_TYPE])

Core

Cancel An Active Import

This allows a developer to cancel an active import.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CANCEL_AN_ACTIVE_IMPORT])

Get The Information On Any Import

A complete summary of an import record, including any updates.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GET_THE_INFORMATION_ON_ANY_IMPORT])

Get An Existing Schema

Returns an existing object schema.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GET_AN_EXISTING_SCHEMA])

Delete A Schema

Deletes a schema. Any existing records of this schema must be deleted **first**. Otherwise this call will fail.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_DELETE_A_SCHEMA])

Update A Schema

Update the details for an existing object schema.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_SCHEMA])

Create An Association

Defines a new association between the primary schema's object type and other object types.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_AN_ASSOCIATION])

Remove An Association

Removes an existing association from a schema.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_REMOVE_AN_ASSOCIATION])

Get All Schemas

Returns all object schemas that have been defined for your account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GET_ALL_SCHEMAS])

Create A New Schema

Define a new object schema, along with custom properties and associations. The entire object schema, including its object type ID, properties, and associations will be returned in the response
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_NEW_SCHEMA])

Read A Property

Read a property identified by {propertyName}.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_A_PROPERTY])

Archive A Property

Move a property identified by {propertyName} to the recycling bin.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_PROPERTY])

Update A Property

Perform a partial update of a property identified by {propertyName}. Provided fields will be overwritten.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_PROPERTY])

Read All Properties

Read all existing properties for the specified object type and HubSpot account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_ALL_PROPERTIES])

Create A Property

Create and return a copy of a new property for the specified object type.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_PROPERTY])

Public_Imports

Retrieve Crm Import Error Details With Pagination

Retrieve detailed error information for a CRM import by ID, supporting pagination and customizable result limits. Access requires OAuth2 or private app security. Responses include error types,
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_RETRIEVE_CRM_IMPORT_ERROR_DETAILS_WITH_PAGINATION])

Public_Object_Schemas

Purge Crm Object Schema By Type

This OpenAPI endpoint deletes object schemas in CRM systems based on 'objectType'. Requires CRM schema customization permissions. Returns a 204 status on success, and detailed error responses.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_PURGE_CRM_OBJECT_SCHEMA_BY_TYPE])

Groups

Read A Property Group

Read a property group identified by {groupName}.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_A_PROPERTY_GROUP])

Archive A Property Group

Move a property group identified by {groupName} to the recycling bin.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_PROPERTY_GROUP])

Update A Property Group

Perform a partial update of a property group identified by {groupName}. Provided fields will be overwritten.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_PROPERTY_GROUP])

Read All Property Groups

Read all existing property groups for the specified object type and HubSpot account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_ALL_PROPERTY_GROUPS])

Create A Property Group

Create and return a copy of a new property group.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_PROPERTY_GROUP])

Owners

Read An Owner By Given Id Or User Id

This endpoint fetches detailed CRM owner information using the `ownerId`. Optional parameters include `idProperty` and `archived` status. It returns owner data such as name, teams, and timesta
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_READ_AN_OWNER_BY_GIVEN_ID_OR_USER_ID])

Events

Creates Multiple Events

This text describes a process that creates multiple immutable timeline events based on a template. These events, once created, cannot be changed. If configured, the process also updates or add
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATES_MULTIPLE_EVENTS])

Create A Single Event

This text describes creating an immutable timeline event using a template. If configured, the creation process also updates or adds object properties specified by `objectPropertyName`.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_SINGLE_EVENT])

Templates

Gets A Specific Event Template For Your App

View the current state of a specific template and its tokens.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GETS_A_SPECIFIC_EVENT_TEMPLATE_FOR_YOUR_APP])

Update An Existing Event Template

The text describes how to update an existing template, including its headerTemplate and detailTemplate, along with all associated tokens directly, eliminating the need for separate API calls t
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_AN_EXISTING_EVENT_TEMPLATE])

Deletes An Event Template For The App

This will delete the event template. All associated events will be removed from search results and the timeline UI. This action can't be undone, so it's highly recommended that you stop using
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_DELETES_AN_EVENT_TEMPLATE_FOR_THE_APP])

Tokens

Adds A Token To An Existing Event Template

You can customize event templates by assigning unique tokens for adding custom data, useful for display or segmentation. Additionally, integrating CRM object properties via `objectPropertyName
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ADDS_A_TOKEN_TO_AN_EXISTING_EVENT_TEMPLATE])

Frequently asked questions

What is Composio.dev?

Composio.dev is a platform for building AI applications, designed to make the process of developing AI solutions super easy and fun! It provides a comprehensive set of tools and libraries that simplify the process of developing AI solutions, allowing you to focus on the creative aspects of your project without getting bogged down by the technical details.

How does Composio.dev support Hubspot?

Composio.dev seamlessly integrates with Hubspot, allowing you to leverage its capabilities within the Composio.dev platform. You can utilize Hubspot to call functions across various platforms, including Google, GitHub, and others, making it a breeze to incorporate different services into your AI applications. Additionally, it supports user authentication via OAuth2 and can work in conjunction with other popular frameworks like LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with Hubspot?

With Hubspot, you have access to a wide range of state-of-the-art language models, including GPT-4o (OpenAI), GPT-3.5 (OpenAI), GPT-4 (OpenAI), Claude (Anthropic), PaLM (Google), LLaMA and LLaMA 2 (Meta), Gemini, and many others. This flexibility allows you to choose the model that best suits your specific use case, whether you're building a chatbot, a content creation tool, or any other AI-powered application. You can experiment with different models and find the one that delivers the best performance for your project.

How can I integrate Hubspot into my project?

Composio.dev provides a seamless integration for Hubspot, making it super easy to incorporate this powerful framework into your projects. You can leverage the Composio.dev API to call functions from Hubspot, allowing you to tap into its capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with your preferred programming language and integrate Hubspot into your projects seamlessly.

What is the pricing for Hubspot?

Hubspot is completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes it accessible for developers and organizations of all sizes to explore and experiment with this powerful tool without any upfront costs. Whether you're a student working on a personal project or a startup building the next big thing, you can get started with Hubspot without worrying about breaking the bank.

What kind of authentication is supported for Hubspot?

Hubspot supports OAuth2 authentication, ensuring secure and authorized access to its functionalities. You can leverage the Composio.dev API to handle authentication and call functions from Hubspot seamlessly. The SDK is available in Python, JavaScript, and TypeScript for your convenience, making it easy to integrate authentication into your projects and keep your users' data safe and secure.

Can I add Hubspot to my project?

Absolutely! You can easily incorporate Hubspot into your project by utilizing the Composio.dev API. This API allows you to call functions from Hubspot, enabling you to leverage its capabilities within your application. The SDK is available in Python, JavaScript, and TypeScript to facilitate integration, so you can work with the language you're most comfortable with and add Hubspot to your project with ease.

What is the accuracy of Hubspot?

Hubspot is designed to provide highly accurate and reliable results, ensuring that your AI applications perform at their best. The integration with Composio.dev ensures precise function calls, enabling you to build robust and powerful AI applications with confidence. Hubspot's comprehensive framework and the ability to leverage state-of-the-art models ensure reliable and accurate outcomes for your AI development needs, whether you're working on a chatbot, a content creation tool, or any other AI-powered project.

What are some common use cases for Hubspot?

Hubspot can be used for a wide range of AI applications, making it a versatile tool for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. It's particularly useful for building chatbots, virtual assistants, content creation tools, and other AI-powered applications that can help you automate tasks, engage with users, and create compelling content. Whether you're working on a personal project or building a product for your startup, Hubspot can help you bring your ideas to life.

How does Hubspot handle data privacy and security?

Data privacy and security are crucial considerations when working with AI systems, and Hubspot takes these issues seriously. It follows industry best practices and adheres to strict data protection regulations, ensuring that your data is kept safe and secure. Hubspot provides robust security measures, such as encryption and access controls, to ensure the confidentiality and integrity of your data. You can rest assured that your sensitive information is protected when using Hubspot for your AI development needs.
+ Integrate seamlessly with your agentic frameworks
Composio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and SizesComposio Works with All Shapes and Sizes
Building for AI across continents🧪