Back to Manage HubSpot records

Contacts Search

HubSpot

Search contacts in a connected HubSpot account by property filters and sort order.

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. Tell it what you need

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Contacts Search (tool ID: hubspot.contacts-search). Ask me for the details you need, then show me the result. Help me connect the required app account if needed.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

This tool also needs you to connect your app account.

Connect your first agent to receive $1 trial credit.

Current price
$0.0025/request
Availability
Requires connected account

Tool details

About this tool

Runs a HubSpot CRM search over the connected account's contacts. Billed per upstream request at $0.0025; pagination over N pages is N requests.

Inputs and outputs

Input

bodyobject · optional

HubSpot CRM search body (filterGroups, properties, limit, sorts).

max_pagesinteger · optional

Maximum number of result pages to request.

minimum: 1 · maximum: 10

Output

pagesnumber

Returned pages value.

resultsarray

Returned results value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

{
  "tool_id": "hubspot.contacts-search",
  "input": {
    "body": {
      "limit": 10,
      "properties": [
        "email",
        "firstname",
        "lastname"
      ],
      "filterGroups": [
        {
          "filters": [
            {
              "value": "ada@example.com",
              "operator": "EQ",
              "propertyName": "email"
            }
          ]
        }
      ]
    },
    "max_pages": 1
  }
}

Output

{
  "pages": 1,
  "results": [
    {
      "id": "100000000002",
      "archived": false,
      "properties": {
        "lastname": "Lovelace (Sample Contact)",
        "firstname": "Ada"
      }
    }
  ]
}
Errors and limitations
  • connection_required: This capability acts on your own HubSpot account, which isn't connected yet.Open connect_url, approve access, then retry this run unchanged.