FlowmageDocs

Find contacts

BetaReads dataVersion 2

Finds ActiveCampaign contacts by e-mail, list, tag, segment or free text.

Settings

SettingWhat it is
ConnectionRequiredThe ActiveCampaign connection the step signs in with.
E-mail addressThe whole address, matched exactly.
E-mail containsPart of an address — everyone at one domain, for instance.
On listPicked from the list ActiveCampaign offers.
With tag idtext
In segmenttext
In automationThe List automations node answers this id.
Subscription status"any" or "unconfirmed" or "active" or "unsubscribed" or "bounced"
Free textMatches names, addresses and phone numbers.
Created aftertext
Created beforetext
Updated aftertext
Updated beforetext
Contacts per call1 to 100. ActiveCampaign's own default is 20.
Start atZero-based. Ignored while every page is fetched.
Fetch every pageWalks the whole result, and refuses past 5,000 contacts rather than answering a short list. ActiveCampaign allows the whole account five requests a second, so that walk is 50 calls and ten seconds at best.
Use ActiveCampaign's fast pagingWalks by ascending id instead of by offset, which is what ActiveCampaign recommends: accounts with many contacts get slower answers as the offset grows. Turn it off for a stable offset window.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `activecampaign`)
emailtext
emailLiketext
listIdtexta value from the vendor's own list
tagIdtext
segmentIdtext
automationIdtext
status"any" or "unconfirmed" or "active" or "unsubscribed" or "bounced", by default "any"
searchtext
createdAftertext
createdBeforetext
updatedAftertext
updatedBeforetext
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false
fastPagingtrue/false, by default trueused when `returnAll` is true
cursortext

Output

FieldType
contactsarray
contactCountContacts in this answernumber
totalContacts the search matchesnumber
hasMoreMore contacts are waitingboolean
nextOffsetOffset for the next pagenumber
relatedSide-loaded relationsobject
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • contactCount0
  • contacts[]
  • 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": {
    "automationId": "",
    "connection": "<connection id>",
    "createdAfter": "",
    "createdBefore": "",
    "cursor": "",
    "email": "",
    "emailLike": "",
    "fastPaging": true,
    "limit": 100,
    "listId": "",
    "offset": 0,
    "returnAll": false,
    "search": "",
    "segmentId": "",
    "status": "any",
    "tagId": "",
    "updatedAfter": "",
    "updatedBefore": ""
  },
  "label": "Find contacts",
  "type": "activecampaign.listContacts",
  "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.
E-mail addressThe whole address, matched exactly.
E-mail containsPart of an address — everyone at one domain, for instance.
On listPicked from the list ActiveCampaign offers.
With tag idtext
In segmenttext
In automationThe List automations node answers this id.
Subscription status"any" or "unconfirmed" or "active" or "unsubscribed" or "bounced"
Free textMatches names, addresses and phone numbers.
Created aftertext
Created beforetext
Updated aftertext
Updated beforetext
Contacts per call1 to 100. ActiveCampaign's own default is 20.
Start atZero-based. Ignored while every page is fetched.
Fetch every pageWalks the whole result, and refuses past 5,000 contacts rather than answering a short list. ActiveCampaign allows the whole account five requests a second, so that walk is 50 calls and ten seconds at best.
Use ActiveCampaign's fast pagingWalks by ascending id instead of by offset, which is what ActiveCampaign recommends: accounts with many contacts get slower answers as the offset grows. Turn it off for a stable offset window.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `activecampaign`)
emailtext
emailLiketext
listIdtexta value from the vendor's own list
tagIdtext
segmentIdtext
automationIdtext
status"any" or "unconfirmed" or "active" or "unsubscribed" or "bounced", by default "any"
searchtext
createdAftertext
createdBeforetext
updatedAftertext
updatedBeforetext
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false
fastPagingtrue/false, by default trueused when `returnAll` is true