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

Public_Object

Merge Two Tickets With Same Type

The `POST /crm/v3/objects/tickets/merge` endpoint merges two CRM tickets, requiring `objectIdToMerge` and `primaryObjectId` in JSON format. It supports OAuth and private apps security, and ret
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_MERGE_TWO_TICKETS_WITH_SAME_TYPE])

Merge Two Line Items With Same Type

The `POST /crm/v3/objects/line_items/merge` endpoint merges two line items using `objectIdToMerge` and `primaryObjectId`. It provides timestamps and error details, requiring OAuth2 or private
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_MERGE_TWO_LINE_ITEMS_WITH_SAME_TYPE])

Batch

Archive A Batch Of Tickets By Id

The endpoint `/crm/v3/objects/tickets/batch/archive` enables batch archiving of tickets by a POST request with ticket IDs array. It returns a 204 status upon success and supports multiple secu
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_BATCH_OF_TICKETS_BY_ID])

Create A Batch Of Tickets

The `/crm/v3/objects/tickets/batch/create` endpoint allows for creating batches of CRM tickets simultaneously, accepting and responding in JSON format to indicate operation success.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_BATCH_OF_TICKETS])

Update A Batch Of Tickets

This endpoint enables batch updates of multiple tickets in a CRM by allowing clients to send arrays of ticket IDs with new properties. It returns operation details, including timestamps and up
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_BATCH_OF_TICKETS])

Batch Read Line Items By Id Or Attributes

The `POST /crm/v3/objects/line_items/batch/read` endpoint allows users to read multiple line items by ID or attributes, specifying property details and archive status in the request, and provi
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_BATCH_READ_LINE_ITEMS_BY_ID_OR_ATTRIBUTES])

Archive A Batch Of Line Items By Id

This endpoint enables archiving multiple line items in a CRM by accepting an array of line item IDs. It returns a 204 status on success or error details otherwise. Access is restricted to user
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ARCHIVE_A_BATCH_OF_LINE_ITEMS_BY_ID])

Create A Batch Of Line Items

Create line item batches in HubSpot CRM through a secure endpoint, supporting OAuth2 and private apps with specific permissions. It processes JSON requests and provides batch creation statuses
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_CREATE_A_BATCH_OF_LINE_ITEMS])

Update A Batch Of Line Items

The `/crm/v3/objects/line_items/batch/update` endpoint allows batch updates of line items via an array of object IDs and properties, supporting OAuth2 or private apps security. It returns stat
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_UPDATE_A_BATCH_OF_LINE_ITEMS])

GDPR

Erase Contact For Compliance Using Email

Permanently delete a contact and all related content for GDPR compliance using 'idProperty' set to 'email' to identify the contact. If the email is not found, it will be added to a blocklist t
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_ERASE_CONTACT_FOR_COMPLIANCE_USING_EMAIL])

Permanently Remove Contact By Email For Compliance

To comply with GDPR, permanently delete a contact and all related content by using 'idProperty' set to 'email' to identify them. If the email is not found, it will be added to a blocklist to p
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_PERMANENTLY_REMOVE_CONTACT_BY_EMAIL_FOR_COMPLIANCE])

Basic

Fetch Paginated Tickets With Configurable Properties

Read a page of tickets. 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_PAGINATED_TICKETS_WITH_CONFIGURABLE_PROPERTIES])

Generate And Return Ticket With Id And Properties

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

Fetch Object Details Using Unique Id Or Property

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

Move Line Item To Recycle Bin

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

Modify Object Properties

Update an object identified by `{lineItemId}` or any unique property via `idProperty`. Overwrites given property values; ignores read-only and non-existent ones. Clear properties by passing an
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_MODIFY_OBJECT_PROPERTIES])

Read And Customize Line Items With Specified Properties

Read a page of line items. 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_READ_AND_CUSTOMIZE_LINE_ITEMS_WITH_SPECIFIED_PROPERTIES])

Generate And Return Line Item With Unique Id

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

Search Crm Tickets With Filters Sorting And Pagination

The `/crm/v3/objects/tickets/search` endpoint supports POST requests for searching tickets with complex filters, sorting, and pagination. It allows OAuth2 and private app authentication, provi
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_SEARCH_CRM_TICKETS_WITH_FILTERS_SORTING_AND_PAGINATION])

Search Line Items With Specified Criteria

The `/crm/v3/objects/line_items/search` endpoint supports POST requests for searching line items with filters, sort orders, and OAuth2 or private apps security. It returns paginated results an
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_SEARCH_LINE_ITEMS_WITH_SPECIFIED_CRITERIA])

Core

Get Active Imports

Returns a paged list of active imports for this account.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GET_ACTIVE_IMPORTS])

Start A New Import

Begins importing data from the specified file resources. This uploads the corresponding file and uses the import request object to convert rows in the files to objects.
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_START_A_NEW_IMPORT])

Owners

Get A Page Of Owners

This endpoint fetches a paginated list of CRM owners, filterable by email, archival status, and with paging options. It supports OAuth2 or private app security, and provides detailed error con
from composio_langchain import ComposioToolSet, Action tool_set = ComposioToolSet() tools = tool_set.get_tools(actions=[Action.HUBSPOT_GET_A_PAGE_OF_OWNERS])

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🧪