crm_search_deals
Search HubSpot deals by free-text query to find matching records based on name, amount, or stage text.
Instructions
Search HubSpot deals by free-text term and return one page of matches.
Use this to find deals by name, amount, or stage text. Use crm_get_deal when the record id is already known, and crm_list_pipelines to translate the returned pipeline and stage ids into readable labels.
Read-only. Needs the crm.objects.deals.read scope; a missing scope is denied locally and recorded in the audit log. Not cached. Pass the returned 'after' cursor back for the next page and stop when it is null. Archived deals are excluded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor copied from the previous response's 'after' field. Omit for the first page. | |
| limit | No | How many records this page may contain, 1 to 100. HubSpot caps it at 100. | |
| query | No | Free-text term matched against the record's indexed properties. Omit to match every record. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for the next page, or null when this is the last page. | |
| results | Yes | Records in this page, each with 'id' and 'properties'. |