Mandala
Tools

HubSpot

Interact with HubSpot CRM or trigger workflows from HubSpot events

Usage Instructions

Integrate HubSpot into your workflow. Manage contacts, companies, deals, tickets, and other CRM objects with powerful automation capabilities. Can be used in trigger mode to start workflows when contacts are created, deleted, or updated.

Tools

hubspot_get_users

Retrieve all users from HubSpot account

Input

ParameterTypeRequiredDescription
limitstringNoNumber of results to return (default: 100)

Output

ParameterTypeDescription
usersarrayArray of HubSpot user objects
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_list_contacts

Retrieve all contacts from HubSpot account with pagination support

Input

ParameterTypeRequiredDescription
limitstringNoMaximum number of results per page (max 100, default 100)
afterstringNoPagination cursor for next page of results
propertiesstringNoComma-separated list of properties to return (e.g., "email,firstname,lastname")
associationsstringNoComma-separated list of object types to retrieve associated IDs for

Output

ParameterTypeDescription
contactsarrayArray of HubSpot contact objects
pagingobjectPagination information
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_get_contact

Retrieve a single contact by ID or email from HubSpot

Input

ParameterTypeRequiredDescription
contactIdstringYesThe ID or email of the contact to retrieve
idPropertystringNoProperty to use as unique identifier (e.g., "email"). If not specified, uses record ID
propertiesstringNoComma-separated list of properties to return
associationsstringNoComma-separated list of object types to retrieve associated IDs for

Output

ParameterTypeDescription
contactobjectHubSpot contact object with properties
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_create_contact

Create a new contact in HubSpot. Requires at least one of: email, firstname, or lastname

Input

ParameterTypeRequiredDescription
propertiesobjectYesContact properties as JSON object. Must include at least one of: email, firstname, or lastname
associationsarrayNoArray of associations to create with the contact (e.g., companies, deals). Each object should have "to" (with "id") and "types" (with "associationCategory" and "associationTypeId")

Output

ParameterTypeDescription
contactobjectCreated HubSpot contact object
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_update_contact

Update an existing contact in HubSpot by ID or email

Input

ParameterTypeRequiredDescription
contactIdstringYesThe ID or email of the contact to update
idPropertystringNoProperty to use as unique identifier (e.g., "email"). If not specified, uses record ID
propertiesobjectYesContact properties to update as JSON object

Output

ParameterTypeDescription
contactobjectUpdated HubSpot contact object
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_search_contacts

Search for contacts in HubSpot using filters, sorting, and queries

Input

ParameterTypeRequiredDescription
filterGroupsarrayNoArray of filter groups. Each group contains filters with propertyName, operator, and value
sortsarrayNoArray of sort objects with propertyName and direction ("ASCENDING" or "DESCENDING")
querystringNoSearch query string
propertiesarrayNoArray of property names to return
limitnumberNoMaximum number of results to return (max 100)
afterstringNoPagination cursor for next page

Output

ParameterTypeDescription
contactsarrayArray of matching HubSpot contact objects
totalnumberTotal number of matching contacts
pagingobjectPagination information
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_list_companies

Retrieve all companies from HubSpot account with pagination support

Input

ParameterTypeRequiredDescription
limitstringNoMaximum number of results per page (max 100, default 100)
afterstringNoPagination cursor for next page of results
propertiesstringNoComma-separated list of properties to return
associationsstringNoComma-separated list of object types to retrieve associated IDs for

Output

ParameterTypeDescription
companiesarrayArray of HubSpot company objects
pagingobjectPagination information
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_get_company

Retrieve a single company by ID or domain from HubSpot

Input

ParameterTypeRequiredDescription
companyIdstringYesThe ID or domain of the company to retrieve
idPropertystringNoProperty to use as unique identifier (e.g., "domain"). If not specified, uses record ID
propertiesstringNoComma-separated list of properties to return
associationsstringNoComma-separated list of object types to retrieve associated IDs for

Output

ParameterTypeDescription
companyobjectHubSpot company object with properties
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_create_company

Create a new company in HubSpot

Input

ParameterTypeRequiredDescription
propertiesobjectYesCompany properties as JSON object (e.g., name, domain, city, industry)
associationsarrayNoArray of associations to create with the company

Output

ParameterTypeDescription
companyobjectCreated HubSpot company object
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_update_company

Update an existing company in HubSpot by ID or domain

Input

ParameterTypeRequiredDescription
companyIdstringYesThe ID or domain of the company to update
idPropertystringNoProperty to use as unique identifier (e.g., "domain"). If not specified, uses record ID
propertiesobjectYesCompany properties to update as JSON object

Output

ParameterTypeDescription
companyobjectUpdated HubSpot company object
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_search_companies

Search for companies in HubSpot using filters, sorting, and queries

Input

ParameterTypeRequiredDescription
filterGroupsarrayNoArray of filter groups. Each group contains filters with propertyName, operator, and value
sortsarrayNoArray of sort objects with propertyName and direction ("ASCENDING" or "DESCENDING")
querystringNoSearch query string
propertiesarrayNoArray of property names to return
limitnumberNoMaximum number of results to return (max 100)
afterstringNoPagination cursor for next page

Output

ParameterTypeDescription
companiesarrayArray of matching HubSpot company objects
totalnumberTotal number of matching companies
pagingobjectPagination information
metadataobjectOperation metadata
successbooleanOperation success status

hubspot_list_deals

Retrieve all deals from HubSpot account with pagination support

Input

ParameterTypeRequiredDescription
limitstringNoMaximum number of results per page (max 100, default 100)
afterstringNoPagination cursor for next page of results
propertiesstringNoComma-separated list of properties to return
associationsstringNoComma-separated list of object types to retrieve associated IDs for

Output

ParameterTypeDescription
dealsarrayArray of HubSpot deal objects
pagingobjectPagination information
metadataobjectOperation metadata
successbooleanOperation success status

Triggers

hubspot_contact_created

Trigger workflow when a new contact is created in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_contact_deleted

Trigger workflow when a contact is deleted in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_contact_privacy_deleted

Trigger workflow when a contact is deleted for privacy compliance (GDPR, CCPA, etc.) in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_contact_property_changed

Trigger workflow when any property of a contact is updated in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_company_created

Trigger workflow when a new company is created in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_company_deleted

Trigger workflow when a company is deleted in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_company_property_changed

Trigger workflow when any property of a company is updated in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_conversation_creation

Trigger workflow when a new conversation is created in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_conversation_deletion

Trigger workflow when a conversation is deleted in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_conversation_new_message

Trigger workflow when a new message is added to a conversation in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_conversation_privacy_deletion

Trigger workflow when a conversation is deleted for privacy compliance (GDPR, CCPA, etc.) in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_conversation_property_changed

Trigger workflow when any property of a conversation is updated in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_deal_created

Trigger workflow when a new deal is created in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_deal_deleted

Trigger workflow when a deal is deleted in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_deal_property_changed

Trigger workflow when any property of a deal is updated in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_ticket_created

Trigger workflow when a new ticket is created in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_ticket_deleted

Trigger workflow when a ticket is deleted in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

hubspot_ticket_property_changed

Trigger workflow when any property of a ticket is updated in HubSpot

Output

ParameterTypeDescription
payloadjsonFull webhook payload array from HubSpot containing event details
providerstringProvider name (hubspot)
providerConfig.appIdstringHubSpot App ID
providerConfig.clientIdstringHubSpot Client ID
providerConfig.triggerIdstringTrigger ID (e.g., hubspot_company_created)
providerConfig.clientSecretstringHubSpot Client Secret
providerConfig.developerApiKeystringHubSpot Developer API Key
providerConfig.curlSetWebhookUrlstringcurl command to set webhook URL
providerConfig.curlCreateSubscriptionstringcurl command to create subscription
providerConfig.webhookUrlDisplaystringWebhook URL display value
providerConfig.propertyNamestringOptional property name filter (for property change triggers)

Notes

  • Category: tools
  • Type: hubspot
HubSpot