FlowmageDocs

List contacts

BetaReads dataVersion 2

Lists the contacts of an audience, filtered by status, date or interest.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Audience idPicked from the list Mailchimp offers.
Status"" or "subscribed" or "unsubscribed" or "cleaned" or "pending" or "transactional" or "archived"
E-mail format"" or "html" or "text"
Changed sincetext
Changed beforetext
Opted in sincetext
Opted in beforetext
Unsubscribed sinceMailchimp only accepts this filter together with the Unsubscribed status.
Sent to sincetext
Unique e-mail idMailchimp's own id for an address across every audience.
VIPs onlytrue/false
Interest group idFrom List interest categories. Needed by the two fields below.
Interest idsComma separated. Mailchimp needs an interest group id beside them.
Interest match"" or "any" or "all" or "none"
Sort on"" or "timestamp_opt" or "timestamp_signup" or "last_changed"
Sort direction"" or "ASC" or "DESC"
Fields to fetchMailchimp returns everything unless you name the fields you want. On a page of 1,000 this is the difference between fitting this run's size limit and not.
Contacts per call1 to 1,000.
Skip this manyMailchimp pages by position, not by cursor.
Fetch every pageWalks Mailchimp's pages, and refuses past 5,000 contacts rather than answering a short list. Mailchimp pages by position, so an audience that changes while the walk runs can repeat or skip a contact.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
audienceIdtexta value from the vendor's own list
status"" or "subscribed" or "unsubscribed" or "cleaned" or "pending" or "transactional" or "archived"
emailType"" or "html" or "text"
sinceLastChangedtext
beforeLastChangedtext
sinceTimestampOpttext
beforeTimestampOpttext
unsubscribedSincetext
sinceLastCampaigntext
uniqueEmailIdtext
vipOnlytrue/false, by default false
interestCategoryIdtext
interestIdstext
interestMatch"" or "any" or "all" or "none"
sortField"" or "timestamp_opt" or "timestamp_signup" or "last_changed"
sortDir"" or "ASC" or "DESC"
fieldstext
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false
cursortext

Output

FieldType
membersContactsarray
memberCountContacts in this answernumber
hasMoreMore contacts are waiting behind this pageboolean
totalItemsContacts in totalnumber
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • hasMorefalse
  • memberCount0
  • members[]
  • totalItems0

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": {
    "audienceId": "",
    "beforeLastChanged": "",
    "beforeTimestampOpt": "",
    "connection": "<connection id>",
    "cursor": "",
    "emailType": "",
    "fields": "",
    "interestCategoryId": "",
    "interestIds": "",
    "interestMatch": "",
    "limit": 100,
    "offset": 0,
    "returnAll": false,
    "sinceLastCampaign": "",
    "sinceLastChanged": "",
    "sinceTimestampOpt": "",
    "sortDir": "",
    "sortField": "",
    "status": "",
    "uniqueEmailId": "",
    "unsubscribedSince": "",
    "vipOnly": false
  },
  "label": "List contacts",
  "type": "mailchimp.listMembers",
  "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 Mailchimp connection the step signs in with.
Audience idPicked from the list Mailchimp offers.
Status"" or "subscribed" or "unsubscribed" or "cleaned" or "pending" or "transactional" or "archived"
E-mail format"" or "html" or "text"
Changed sincetext
Changed beforetext
Opted in sincetext
Opted in beforetext
Unsubscribed sinceMailchimp only accepts this filter together with the Unsubscribed status.
Sent to sincetext
Unique e-mail idMailchimp's own id for an address across every audience.
VIPs onlytrue/false
Interest group idFrom List interest categories. Needed by the two fields below.
Interest idsComma separated. Mailchimp needs an interest group id beside them.
Interest match"" or "any" or "all" or "none"
Sort on"" or "timestamp_opt" or "timestamp_signup" or "last_changed"
Sort direction"" or "ASC" or "DESC"
Fields to fetchMailchimp returns everything unless you name the fields you want. On a page of 1,000 this is the difference between fitting this run's size limit and not.
Contacts per call1 to 1,000.
Skip this manyMailchimp pages by position, not by cursor.
Fetch every pageWalks Mailchimp's pages, and refuses past 5,000 contacts rather than answering a short list. Mailchimp pages by position, so an audience that changes while the walk runs can repeat or skip a contact.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
audienceIdtexta value from the vendor's own list
status"" or "subscribed" or "unsubscribed" or "cleaned" or "pending" or "transactional" or "archived"
emailType"" or "html" or "text"
sinceLastChangedtext
beforeLastChangedtext
sinceTimestampOpttext
beforeTimestampOpttext
unsubscribedSincetext
sinceLastCampaigntext
uniqueEmailIdtext
vipOnlytrue/false, by default false
interestCategoryIdtext
interestIdstext
interestMatch"" or "any" or "all" or "none"
sortField"" or "timestamp_opt" or "timestamp_signup" or "last_changed"
sortDir"" or "ASC" or "DESC"
fieldstext
limitnumber, by default 100
offsetnumber, by default 0
returnAlltrue/false, by default false