Skip to main content
Glama

HubSpot MCP

crm_create_association

Link two objects in HubSpot CRM, such as contacts, companies, or deals, by defining their relationship using specific association types and IDs.

Instructions

Create an association between two objects

Input Schema

NameRequiredDescriptionDefault
associationTypesYes
fromObjectIdYes
fromObjectTypeYes
toObjectIdYes
toObjectTypeYes

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "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" }

Other Tools from HubSpot MCP

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinzo-labs/hubspot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server