FlowmageDocs

List accounts

BetaReads dataVersion 2

Lists the company records in ActiveCampaign's CRM.

Settings

SettingWhat it is
ConnectionRequiredThe ActiveCampaign connection the step signs in with.
Accounts per call1 to 100. ActiveCampaign's own default is 20.
Start atZero-based. Ignored while every page is fetched.
Fetch every pageWalks the whole list, and refuses past 5,000 rows rather than answering a short one.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `activecampaign`)
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false
cursortext

Output

FieldType
accountsarray
accountCountAccounts in this answernumber
totalAccounts the CRM hasnumber
hasMoreMore accounts are waitingboolean
nextOffsetOffset for the next pagenumber
relatedSide-loaded relationsobject
nextCursorCursor for the next pagestring
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
SettingWhat it is
ConnectionRequiredThe ActiveCampaign connection the step signs in with.
Accounts per call1 to 100. ActiveCampaign's own default is 20.
Start atZero-based. Ignored while every page is fetched.
Fetch every pageWalks the whole list, and refuses past 5,000 rows rather than answering a short one.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `activecampaign`)
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false