FlowmageDocs

Get audience

BetaReads data

Reads one Mailchimp audience with its contact and unsubscribe counts.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Audience idThe id List audiences gives you; it is also the id= in the Mailchimp audience URL.
Fields to fetchMailchimp returns everything unless you name the fields you want.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
audienceIdtexta value from the vendor's own list
fieldstext

Output

FieldType
audienceobject
memberCountContactsnumber
unsubscribeCountUnsubscribesnumber
Sample output, and the expression for each field
  • audience
    • id"a1b2c3"
    • name"Newsletter"
  • memberCount12
  • unsubscribeCount1

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": "",
    "connection": "<connection id>",
    "fields": ""
  },
  "label": "Get audience",
  "type": "mailchimp.getAudience",
  "version": 1
}