List accounts
Lists the company records in ActiveCampaign's CRM.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The ActiveCampaign connection the step signs in with. |
| Accounts 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`) |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |
cursor | text |
Output
| Field | Type |
|---|---|
accounts | array |
accountCountAccounts in this answer | number |
totalAccounts the CRM has | number |
hasMoreMore accounts 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
- accountCount0
- accounts[]
- hasMorefalse
- 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,
"offset": 0,
"returnAll": false
},
"label": "List accounts",
"type": "activecampaign.listAccounts",
"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. |
| Accounts 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`) |
limit | number, by default 100 |
offset | number, by default 0 |
returnAll | true/false, by default false |