integrations/hubspot/hub.md
The HubSpot integration allows you to connect your Botpress chatbot with HubSpot, a leading CRM and marketing automation platform. With this integration, your chatbot can manage contacts, tickets, and more directly within HubSpot, enabling seamless automation of sales, marketing, and support workflows.
To protect the sensitive data in your HubSpot workspace, this integration requires you to create and configure your own private HubSpot app. While we recognize this adds complexity to the setup process, it ensures your data remains secure. We're actively collaborating with HubSpot to streamline this into a one-click setup experience. In the meantime, please follow the steps below to manually configure the integration.
https://webhook.botpress.cloud/.oauthcrm.objects.contacts.readcrm.objects.contacts.writeticketscrm.objects.owners.readcrm.objects.companies.readcrm.objects.companies.writecrm.objects.leads.readcrm.objects.leads.writecrm.objects.deals.readcrm.objects.deals.writeVersion 5.x addresses issues that could cause your bot to crash during certain operations. The search actions (Search Contact, Search Deal, Search Lead) now have optional outputs — they return undefined instead of throwing an error when a resource is not found. Make sure to handle this in your bot’s logic to avoid unexpected behavior.
The default properties returned when searching for or retrieving a CRM object may have changed. If your bot relied on a property that is now missing, add the property's name to the properties input parameter of the get or search action for the relevant CRM object.
createTicket action now returns an object with the following structure:type CreateTicketOutput = {
ticket: {
id: string
subject: string
category: string
description: string
priority: string
source: string
properties: Record<string, string>
}
}
category, priority, and source input parameters can now accept any valid string that corresponds to a valid value in your HubSpot account.linearTicketUrl input parameter has been removed, as it may not be a valid property in all HubSpot accounts. If your bot was setting this property, set it as an additional property in the property input parameter.