FlowmageDocs

Get account

BetaReads data

Reads the Mailchimp account's name, plan and total number of subscribers.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Fields to fetchMailchimp returns everything unless you name the fields you want.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
fieldstext

Output

FieldType
accountobject
accountIdstring
accountNamestring
totalSubscribersSubscribers in totalnumber
Sample output, and the expression for each field
  • account
    • account_id"acc1"
    • account_name"Example"
  • accountId"acc1"
  • accountName"Example"
  • totalSubscribers12

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>",
    "fields": ""
  },
  "label": "Get account",
  "type": "mailchimp.getAccount",
  "version": 1
}