hubspot_create_association
Create an association between two HubSpot objects like contacts, companies, deals, or tickets. Specify source and target types and IDs to link related records.
Instructions
Create an association between two HubSpot objects. Use hubspot_get_association_types to discover valid association type IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toObjectId | Yes | The ID of the target object | |
| fromObjectId | Yes | The ID of the source object | |
| toObjectType | Yes | The type of the target object | |
| fromObjectType | Yes | The type of the source object | |
| associationTypeId | No | The association type ID. Use hubspot_get_association_types to find valid IDs. If not provided, uses default HubSpot-defined type. | |
| associationCategory | No | The association category: HUBSPOT_DEFINED (standard), USER_DEFINED (custom labels), or INTEGRATOR_DEFINED | HUBSPOT_DEFINED |