Use Hubspot with CrewAI Python

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
Framework

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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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_crewai 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 cutting-edge framework for building AI applications, designed to make the process of developing AI solutions super easy and fun! It's a collection of powerful tools and libraries that simplify the process of creating AI applications, 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, making it a breeze to leverage its capabilities within the Composio.dev platform. You can use Hubspot to call functions on various platforms like Google, GitHub, and others, allowing you to incorporate different services into your AI applications with ease. It also supports user login via OAuth2 and can work with other popular frameworks such as LangChain and CrewAI, giving you the flexibility to build truly innovative AI solutions.

What models can I use with Hubspot and crewAI_python?

When using Hubspot and crewAI_python, 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 with crewAI_python?

Integrating Hubspot with crewAI_python is super easy with Composio.dev! You can use the Composio.dev API to call functions from both Hubspot and crewAI_python, allowing you to tap into their capabilities with just a few lines of code. The SDK is available in Python, JavaScript, and TypeScript, so you can work with the language you're most comfortable with and integrate these powerful tools into your projects seamlessly.

What is the pricing for Hubspot and crewAI_python?

Both Hubspot and crewAI_python are completely free to use, with a generous free tier that allows up to 1000 requests per month. This makes them accessible for developers and organizations of all sizes, whether you're a student working on a personal project or a startup building the next big thing. You can get started with these powerful tools without worrying about breaking the bank.

What kind of authentication is supported for Hubspot and crewAI_python?

Hubspot and crewAI_python support OAuth2 authentication, ensuring secure and authorized access to their functionalities. You can use the Composio.dev API to handle authentication and call functions from both Hubspot and crewAI_python 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 both Hubspot and crewAI_python, enabling you to leverage their 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 these powerful tools to your project with ease.

What is the accuracy of Hubspot and crewAI_python?

Hubspot and crewAI_python are 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. The 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 and crewAI_python?

Hubspot and crewAI_python can be used for a wide range of AI applications, making them versatile tools for developers and creators alike. Some common use cases include natural language processing, text generation, question answering, sentiment analysis, and more. They're 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, these tools 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.

Can I customize Hubspot and crewAI_python for my specific needs?

Absolutely! Hubspot and crewAI_python are highly customizable and extensible, allowing you to tailor their functionality, models, and configurations to meet your specific requirements. Whether you're building a chatbot, a content creation tool, or any other AI-powered application, you can customize these tools to fit your unique needs. Additionally, Composio.dev provides a flexible platform for integrating and orchestrating various AI tools and services, enabling you to create custom AI solutions that are tailored to your project.

What kind of support and documentation is available for Hubspot and crewAI_python?

Hubspot and crewAI_python have comprehensive documentation and a supportive community, making it easy for you to get started and find answers to your questions. Composio.dev also provides extensive resources, including tutorials, guides, and a dedicated support team to assist you throughout your AI development journey. Whether you're a beginner or an experienced developer, you'll have access to the resources you need to make the most of these powerful tools.
+ 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🧪