Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The HubSpot connection the step signs in with. |
| Only lists of | An object type id — 0-1 contacts, 0-2 companies, 0-3 deals, 0-5 tickets. Leave empty for every list. |
| Only lists of type | Comma-separated. Only manual and snapshot lists can have their membership changed by a flow. |
| Lists per call | 1 to 500. HubSpot's own default is 20, so this is always sent. |
| 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 lists rather than answering a short list. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `hubspot`) |
objectTypeId | text |
processingTypes | text |
count | number, by default 100 |
after | text |
returnAll | true/false, by default false |
Output
| Field | Type |
|---|---|
lists | array |
listCountLists in this answer | number |
hasMoreMore lists are waiting behind this page | boolean |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- listCount0
- lists[]
- 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>",
"count": 100,
"objectTypeId": "",
"processingTypes": "",
"returnAll": false
},
"label": "List lists",
"type": "hubspot.listLists",
"version": 1
}