crm_search_objects
Search HubSpot CRM data using filters to find specific companies, contacts, deals, tickets, products, quotes, or custom objects based on defined criteria and property conditions.
Instructions
Search CRM objects using filters
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| objectType | Yes | ||
| filterGroups | Yes | ||
| properties | No | ||
| limit | No | ||
| after | No | ||
| sorts | No |
Input Schema (JSON Schema)
{
"properties": {
"after": {
"type": "string"
},
"filterGroups": {
"items": {
"additionalProperties": false,
"properties": {
"filters": {
"items": {
"additionalProperties": false,
"properties": {
"operator": {
"enum": [
"EQ",
"NEQ",
"LT",
"LTE",
"GT",
"GTE",
"BETWEEN",
"IN",
"NOT_IN",
"HAS_PROPERTY",
"NOT_HAS_PROPERTY",
"CONTAINS_TOKEN",
"NOT_CONTAINS_TOKEN"
],
"type": "string"
},
"propertyName": {
"type": "string"
},
"value": {}
},
"required": [
"propertyName",
"operator"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"filters"
],
"type": "object"
},
"type": "array"
},
"limit": {
"maximum": 100,
"minimum": 1,
"type": "number"
},
"objectType": {
"enum": [
"companies",
"contacts",
"deals",
"tickets",
"products",
"line_items",
"quotes",
"custom"
],
"type": "string"
},
"properties": {
"items": {
"type": "string"
},
"type": "array"
},
"sorts": {
"items": {
"additionalProperties": false,
"properties": {
"direction": {
"enum": [
"ASCENDING",
"DESCENDING"
],
"type": "string"
},
"propertyName": {
"type": "string"
}
},
"required": [
"propertyName",
"direction"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"objectType",
"filterGroups"
],
"type": "object"
}