Tools
| Tool | Description |
|---|---|
HUBSPOT_READ_OWNERS | List owners (users) to find IDs for record associations |
HUBSPOT_SEARCH_COMPANIES | Search companies with advanced filtering and sorting |
HUBSPOT_SEARCH_DEALS | Search deals with advanced filtering and sorting |
HUBSPOT_SEARCH_CONTACTS | Search contacts with advanced filtering and sorting |
HUBSPOT_LIST_OBJECTS | List records for any object type with pagination |
HUBSPOT_READ_RECORDS | Read one or more records by ID with optional associations |
HUBSPOT_SEARCH_OBJECTS | Generic search for any object type with filters |
HUBSPOT_QUERY_ASSOCIATIONS | Batch query associations between object types |
HUBSPOT_LIST_PROPERTIES | List available properties for an object type |
HUBSPOT_LIST_SCHEMAS | List custom object schemas to discover objectTypeIds |
Filter Groups Syntax
Humm uses HubSpot’s filterGroups structure for advanced searches. Here’s how it works:Logic
- Within a filter group: Conditions are combined with AND
- Across filter groups: Groups are combined with OR
Structure
Operators
| Operator | Description | Value Type |
|---|---|---|
EQ | Equal to (use for strings/numbers, not enumeration properties) | value |
NEQ | Not equal to | value |
LT / LTE | Less than / Less than or equal | value |
GT / GTE | Greater than / Greater than or equal | value |
BETWEEN | Within range (inclusive) | value + highValue |
IN / NOT_IN | In list / Not in list | values array |
HAS_PROPERTY | Property has a value | none |
NOT_HAS_PROPERTY | Property has no value | none |
CONTAINS_TOKEN | Contains token (preferred for enumeration properties) | value |
NOT_CONTAINS_TOKEN | Does not contain token | value |
Enumeration Properties
Certain HubSpot properties are “enumeration” types internally and require special handling:hubspot_owner_iddealstagepipelinelifecyclestage
CONTAINS_TOKEN instead of EQ. Using EQ often returns no results.
Query Examples
Search companies by owner
Search deals in a specific stage
Search contacts by email domain
Combined filters (AND logic within group)
Multiple filter groups (OR logic across groups)
Custom Objects
HubSpot supports custom objects with unique schemas. To work with custom objects:- Discover schemas: Use
HUBSPOT_LIST_SCHEMASto list all custom object schemas and theirobjectTypeIdvalues (e.g.,2-123456) - List properties: Use
HUBSPOT_LIST_PROPERTIESwith theobjectTypeIdto see available fields - Query records: Use
HUBSPOT_LIST_OBJECTSorHUBSPOT_SEARCH_OBJECTSwith theobjectTypeIdas theobject_type
Authentication
OAuth
Connect securely via HubSpot OAuth. Authorize Humm to access your HubSpot portal.