hubspot_associations_create
Link two HubSpot CRM objects (e.g., call to contact, meeting to deal) using labeled associations. Supports predefined and custom association types.
Instructions
Create or update an association between two HubSpot CRM objects using the v4 API. Use this to link a call/meeting/note/task/email to a contact, company, deal, or ticket, or to link any two objects with a labeled relationship.
Default HUBSPOT_DEFINED typeIds (verify via hubspot_associations_labels_list): Call: Contact 194 | Company 182 | Deal 206 | Ticket 220 Email: Contact 198 | Company 186 | Deal 210 | Ticket 224 Meeting: Contact 200 | Company 188 | Deal 212 | Ticket 226 Note: Contact 202 | Company 190 | Deal 214 | Ticket 228 Task: Contact 204 | Company 192 | Deal 216 | Ticket 230
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| toId | Yes | HubSpot ID of the target record | |
| fromId | Yes | HubSpot ID of the source record | |
| toType | Yes | Object type of the target record (e.g., "contacts", "companies", "deals", "tickets") | |
| fromType | Yes | Object type of the source record (e.g., "contacts", "deals", "calls", "meetings") | |
| associationTypes | Yes | One or more association type specifiers. Use hubspot_associations_labels_list to discover available types for your portal. |