Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HubSpot connection the step signs in with. |
| From object | "contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom" |
| From custom object type id | The object type id, e.g. 2-1234567. |
| From record idRequired | text |
| Linked to object | "contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom" |
| Linked custom object type id | The object type id, e.g. 2-1234567. |
| Links per call | 1 to 500. |
| Start after | A paging cursor from an earlier run of this node. |
| Fetch every page | Follows HubSpot's paging cursor, and refuses past 5,000 links rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hubspot`) |
fromObject | "contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom", by default "contacts" |
fromCustomObjectType | textused when `fromObject` is "custom" |
fromId | textits `{{ }}` must give a string |
toObject | "contacts" or "companies" or "deals" or "tickets" or "notes" or "tasks" or "calls" or "meetings" or "emails" or "leads" or "products" or "line_items" or "custom", by default "companies" |
toCustomObjectType | textused when `toObject` is "custom" |
limit | number, by default 100 |
after | text |
returnAll | true/false, by default false |
Output
| Field | Type |
|---|---|
associationsLinks | array |
associationCountLinks in this answer | number |
hasMoreMore links are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- associationCount0
- associations[]
- hasMorefalse
- nextCursor""
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"after": "",
"connection": "<connection id>",
"fromCustomObjectType": "",
"fromId": "<from record id>",
"fromObject": "contacts",
"limit": 100,
"returnAll": false,
"toCustomObjectType": "",
"toObject": "companies"
},
"label": "List associations",
"type": "hubspot.listAssociations",
"version": 1
}