FlowmageDocs

List lists

BetaReads data

Lists the segments a HubSpot account has.

Settings

SettingWhat it is
ConnectionRequiredThe HubSpot connection the step signs in with.
Only lists ofAn object type id — 0-1 contacts, 0-2 companies, 0-3 deals, 0-5 tickets. Leave empty for every list.
Only lists of typeComma-separated. Only manual and snapshot lists can have their membership changed by a flow.
Lists per call1 to 500. HubSpot's own default is 20, so this is always sent.
Start afterA paging cursor from an earlier run of this node.
Fetch every pageFollows HubSpot's paging cursor, and refuses past 5,000 lists rather than answering a short list.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `hubspot`)
objectTypeIdtext
processingTypestext
countnumber, by default 100
aftertext
returnAlltrue/false, by default false

Output

FieldType
listsarray
listCountLists in this answernumber
hasMoreMore lists are waiting behind this pageboolean
nextCursorCursor for the next pagestring
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
}