List Association Labels
hubspot.list_association_labels
ActionCRM & salesconnection required
Calls the HubSpot API with the connection's credentials.
List every association label defined between two object types, with GET /crm/v4/associations/{fromType}/{toType}/labels. This is where an `association_type_id` comes from — user-defined ids are per portal and cannot be hardcoded.
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
2 fields, 2 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 the labels start from. | string | Yes | — | — | contact |
to_object_type Object type the labels point to. | string | Yes | — | — | company |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"from_object_type": "contact",
"to_object_type": "company"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
results The labels, each with its typeId, category and human-readable label. | array | — |
count How many labels came back. | number | — |
{
"count": 0,
"results": []
}See List Association Labels 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.