crm_create_object
Create new CRM objects in HubSpot including contacts, companies, deals, tickets, products, and custom objects with defined properties and associations.
Instructions
Create a new CRM object
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | Yes | ||
| properties | Yes | ||
| associations | No |
Input Schema (JSON Schema)
{
"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"
}