FlowmageDocs

Update campaign

BetaChanges data

Changes a campaign's subject line, sender and other settings.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Campaign idtext
Subject lineMailchimp wants all three of subject line, from name and reply-to on every change, even the ones you are not changing.
From nametext
Reply-to addresstext
Preview texttext
Internal nametext
To nametext
Folder idtext
Audience idOnly to move the campaign to another audience.
Saved segment idtext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
campaignIdtext
subjectLinetext
fromNametext
replyTotext
previewTexttext
titletext
toNametext
folderIdtext
audienceIdtexta value from the vendor's own list
savedSegmentIdtext

Output

FieldType
campaignobject
campaignIdstring
statusstring
Sample output, and the expression for each field
  • campaign
    • id"c1"
    • status"save"
  • campaignId"c1"
  • status"save"

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": "",
    "campaignId": "",
    "connection": "<connection id>",
    "folderId": "",
    "fromName": "",
    "previewText": "",
    "replyTo": "",
    "savedSegmentId": "",
    "subjectLine": "",
    "title": "",
    "toName": ""
  },
  "label": "Update campaign",
  "type": "mailchimp.updateCampaign",
  "version": 1
}