Skip to main content

Search Contacts

Searches contacts in HubSpot.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
AfterinAfterPagination cursor from previous response
Client IDinClientIDClient ID from Connect node (optional if credentials provided)
FiltersinFiltersArray of filter objects [{propertyName، operator، value}]
PropertiesinPropertiesList of properties to return
QueryinQuerySearch query text

Outputs

PropertyFieldDescription
ContactsoutContactsArray of matching contacts
Has MoreoutHasMoreWhether more results are available
Next CursoroutAfterCursor for next page of results
TotaloutTotalNumber of contacts returned

Options

PropertyFieldDescription
CredentialsoptCredentialsHubSpot credentials (optional - use instead of Connect node)
LimitoptLimitMaximum number of results (max 200)
Sort ByoptSortPropertyProperty to sort by One of: createdate, lastmodifieddate, firstname, lastname, email.
Sort DirectionoptSortDirectionSort order One of: ASCENDING, DESCENDING.

Requirements

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Private App Access Token — Access token from a HubSpot Private App
    • value — Access Token (password, required). Private App access token from HubSpot
  • OAuth2 — OAuth2 authorization for user-level access
    • _redirect_url — Redirect URL (readonly, optional). Add this to your HubSpot app's Redirect URLs
    • client_id — Client ID (text, required). OAuth2 Client ID from HubSpot Developer Account
    • client_secret — Client Secret (password, required). OAuth2 Client Secret

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Create Contact · Get Contact · Update Contact · Delete Contact · List Contacts

Elsewhere in the package: Connect · Disconnect · Create Company · Get Company · Update Company · Delete Company · List Companies · Search Companies · Create Deal · Get Deal and 12 more

See also