crm_create_association
Establish connections between CRM objects like contacts, companies, deals, and tickets to organize relationships and track interactions within HubSpot.
Instructions
Create an association between two objects
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fromObjectType | Yes | ||
| toObjectType | Yes | ||
| fromObjectId | Yes | ||
| toObjectId | Yes | ||
| associationTypes | Yes |
Input Schema (JSON Schema)
{
"properties": {
"associationTypes": {
"items": {
"additionalProperties": false,
"properties": {
"associationCategory": {
"type": "string"
},
"associationTypeId": {
"type": "number"
}
},
"required": [
"associationCategory",
"associationTypeId"
],
"type": "object"
},
"type": "array"
},
"fromObjectId": {
"type": "string"
},
"fromObjectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
},
"toObjectId": {
"type": "string"
},
"toObjectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
}
},
"required": [
"fromObjectType",
"toObjectType",
"fromObjectId",
"toObjectId",
"associationTypes"
],
"type": "object"
}