crm_create_object
Create and manage CRM objects like companies, contacts, deals, and tickets in HubSpot. Define properties and associations to streamline data organization and relationship mapping.
Instructions
Create a new CRM object
Input Schema
Name | Required | Description | Default |
---|---|---|---|
associations | No | ||
objectType | Yes | ||
properties | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"associations": {
"items": {
"additionalProperties": false,
"properties": {
"to": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
},
"types": {
"items": {
"additionalProperties": false,
"properties": {
"associationCategory": {
"type": "string"
},
"associationTypeId": {
"type": "number"
}
},
"required": [
"associationCategory",
"associationTypeId"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"to",
"types"
],
"type": "object"
},
"type": "array"
},
"objectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
},
"properties": {
"additionalProperties": {},
"type": "object"
}
},
"required": [
"objectType",
"properties"
],
"type": "object"
}