FlowmageDocs

Delete campaign

BetaChanges data

Deletes a campaign that has not been sent.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Campaign idtext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
campaignIdtext

Output

FieldType
deletedboolean
wasPresentThe campaign was still thereboolean
campaignIdstring
Sample output, and the expression for each field
  • campaignId"c1"
  • deletedtrue
  • wasPresenttrue

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>"
  },
  "label": "Delete campaign",
  "type": "mailchimp.deleteCampaign",
  "version": 1
}