Manage contacts, companies, deals, and tickets with HubSpot CRM
The HubSpot integration enables comprehensive CRM management including contacts, deals, and support tickets. You can search for existing records, create new entries, update information, and manage associations between different objects. This integration supports full lifecycle management from initial contact through deal closure and ongoing support, making it ideal for sales teams and customer service operations.
Required:
action
- The operation you want to perform (search, create, update, fetch)Optional:
object_type
- The HubSpot object type (contact, deal, ticket)
properties
- Specific properties to retrieve or update
Search for contacts using various filters and properties
Parameters:
email
(optional) - Email address to search forfirstname
(optional) - First name to search forlastname
(optional) - Last name to search forquery
(optional) - General search queryproperties
(optional) - Properties to return in resultslimit
(optional) - Maximum number of results (default: 10)Example:
Response:
Create a new contact record
Parameters:
email
(required) - Contact email addressfirstname
(optional) - Contact first namelastname
(optional) - Contact last namephone
(optional) - Contact phone numberExample:
Response:
Update existing contact properties
Parameters:
contact_id
(required) - The ID of the contact to updateproperties
(required) - Object containing properties to updateExample:
Response:
Create a new deal and optionally associate it with a contact
Parameters:
dealname
(required) - Name of the dealdealstage
(required) - Current stage of the dealamount
(optional) - Deal amountclosedate
(optional) - Expected close datecontact_id
(optional) - ID of contact to associate withExample:
Response:
Update deal properties including stage and amount
Parameters:
deal_id
(required) - The ID of the deal to updatedealstage
(optional) - New deal stageamount
(optional) - Updated deal amountdealname
(optional) - Updated deal nameclosedate
(optional) - Updated close dateExample:
Response:
Create a support ticket and optionally associate it with a contact
Parameters:
subject
(required) - Ticket subjectcontent
(required) - Ticket descriptionpriority
(optional) - Ticket priority (HIGH, MEDIUM, LOW)pipeline
(optional) - Pipeline ID (default: 0)pipeline_stage
(optional) - Pipeline stage ID (default: 1)contact_id
(optional) - ID of contact to associate withExample:
Response:
Update ticket properties including status and priority
Parameters:
ticket_id
(required) - The ID of the ticket to updatepipeline_stage
(optional) - New pipeline stagepriority
(optional) - Updated prioritycontent
(optional) - Updated descriptionExample:
Response:
Retrieve a list of deals with pagination and filtering
Parameters:
limit
(required) - Maximum number of results per pageafter
(optional) - Pagination cursor from previous responseproperties
(optional) - Properties to returnassociations
(optional) - Associated objects to retrievearchived
(optional) - Whether to return archived resultsExample:
Response:
Retrieve support tickets with filtering and sorting
Parameters:
limit
(optional) - Maximum number of results (default: 50)properties
(optional) - Properties to returnpriority_filter
(optional) - Filter by priority (HIGH, MEDIUM, LOW)sort
(optional) - Sort order (default: -createdate)Example:
Response:
When searching for contacts, you can use multiple filter groups with OR logic between groups and AND logic within groups. Deal stages and ticket priorities use specific HubSpot values that should match your portal configuration. Association type IDs are predefined: use typeId 3 for contact-to-deal associations and typeId 16 for contact-to-ticket associations. Properties can be specified multiple times in fetch operations for granular control over returned data.