StyloDocs
Workflow blocks

Get Contacts

List HubSpot contacts (or fetch one by ID/email)

View as Markdown

hubspot/get-contacts — List HubSpot contacts (or fetch one by ID/email).

Where it appears

The Get Contacts block lives in the Integrations group of the Workflow Builder. Connect the Hubspot integration before adding it.

Fields

FieldTypeRequiredDefaultDescription
contactIdOrEmailtext (supports references)NoOptional HubSpot contact ID or email address to fetch a single contact. Leave empty to list contacts. Accepts literal text or <StepName.field>.
limitnumberNo100Maximum number of records to return when listing. Defaults to 100.

Inputs and outputs

Inputs are the configurable fields above. The block produces these outputs:

Outputs

Reference an output downstream with <Get Contacts.field>.

NameTypeDescription
successbooleanOperation succeeded
resultjsonContacts data
errorstringError message if failed

Example

A minimal configuration for this block:

{
  "type": "hubspot/get-contacts",
  "config": {
    "limit": 100
  }
}

Limits and failure modes

  • Requires a connected Hubspot integration. Calls fail if that integration is disconnected or its authorization has expired.
  • On failure the error output is populated; downstream blocks that reference other outputs may not receive values.

On this page