List mailing lists
Lists the mailing lists an ActiveCampaign account sends to.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| Name contains | Part of a list's name. Leave it empty for every list. |
| Order | "none" or "nameAsc" or "nameDesc" |
| Lists per call | 1 to 100. ActiveCampaign's own default is 20. |
| Start at | Zero-based. Ignored while every page is fetched. |
| Fetch every page | Walks the whole list, and refuses past 5,000 rows rather than answering a short one. |
| Cursor | Paste a previous run's Next cursor to read the page after it. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `activecampaign`) |
name | text |
sort | "none" or "nameAsc" or "nameDesc", by default "none" |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
listsMailing lists | array |
listCountLists in this answer | number |
totalLists the account has | number |
hasMoreMore lists are waiting | boolean |
nextOffsetOffset for the next page | number |
relatedSide-loaded relations | object |
nextCursorCursor for the next page | string |
Sample output, and the expression for each field
- hasMorefalse
- listCount0
- lists[]
- nextOffset0
- related{}
- total0
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": {
"connection": "<connection id>",
"cursor": "",
"limit": 100,
"name": "",
"offset": 0,
"returnAll": false,
"sort": "none"
},
"label": "List mailing lists",
"type": "activecampaign.listLists",
"version": 2
}Older versions
A flow that already has this version keeps running it. A new step always gets the newest.
Version 1
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| Name contains | Part of a list's name. Leave it empty for every list. |
| Order | "none" or "nameAsc" or "nameDesc" |
| Lists per call | 1 to 100. ActiveCampaign's own default is 20. |
| Start at | Zero-based. Ignored while every page is fetched. |
| Fetch every page | Walks the whole list, and refuses past 5,000 rows rather than answering a short one. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `activecampaign`) |
name | text |
sort | "none" or "nameAsc" or "nameDesc", by default "none" |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |