List Associations
hubspot.list_associations
ActionCRM & salesconnection required
Calls the HubSpot API with the connection's credentials.
List every record of one object type associated with a record, with GET /crm/v4/objects/{fromType}/{id}/associations/{toType}.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- HubSpot
- Secret shape
- the HubSpot private-app token, or {"token": "…"}
- Resolved by
- config.connection_id, else node.connection_id
Configuration
5 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
from_object_type Object type of the record whose associations are being listed. | string | Yes | — | — | contact |
from_object_id The HubSpot record id of the record whose associations are being listed. | string | Yes | — | — | 101 |
to_object_type Object type of the associated records to return. | string | Yes | — | — | deal |
limit How many associated records to return per page. | number | No | 100 | 1–500 | — |
after Paging cursor taken from the previous page's `after` output; blank starts at the first page. | string | No | — | — | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"from_object_id": "101",
"from_object_type": "contact",
"limit": 100,
"to_object_type": "deal"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
results The associated records, each with toObjectId and its associationTypes. | array | — |
count How many associations this page carried. | number | — |
after Cursor for the next page; empty when this was the last. | string | — |
{
"after": "",
"count": 0,
"results": []
}See List Associations run in a workflow.
In a technical demo we add the HubSpot connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.