FlowmageDocs

Get campaign

BetaReads data

Reads one campaign with its settings, recipients and send time.

Settings

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

Output

FieldType
campaignobject
statusstring
subjectLinestring
sendTimestring
Sample output, and the expression for each field
  • campaign
    • id"c1"
    • status"save"
  • sendTime""
  • status"save"
  • subjectLine"Autumn news"

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": {
    "campaignId": "",
    "connection": "<connection id>",
    "fields": ""
  },
  "label": "Get campaign",
  "type": "mailchimp.getCampaign",
  "version": 1
}