hubspot_associations_batch_create
Batch create multiple associations between HubSpot object pairs in one request. Link many records at once, up to 100 pairs per call.
Instructions
Batch-create associations between multiple HubSpot object pairs in a single request (v4 API). More efficient than individual creates when linking many records at once. Maximum 100 pairs per request. Use this to associate a set of calls with their respective contacts after bulk import, or to link multiple deals to a single company.
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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"fromType": "<fromType>",
"toType": "<toType>",
"inputs": "<inputs>"
},
"name": "hubspot_associations_batch_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputs | Yes | Array of association pairs to create (maximum 100) | |
| toType | Yes | Object type of the target records (e.g., "contacts", "companies", "deals") | |
| fromType | Yes | Object type of the source records (e.g., "calls", "deals", "contacts") |