FlowmageDocs

Create campaign

BetaChanges data

Creates a campaign for an audience, ready to be filled and sent.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Type"regular" or "plaintext" or "rss" or "variate" or "absplit"
Audience idPicked from the list Mailchimp offers.
Saved segment idSend to one segment instead of the whole audience.
Subject linetext
Preview texttext
Internal nameWhat you will recognise the campaign by inside Mailchimp.
From nametext
Reply-to addressMailchimp lets you create a campaign without it but refuses to send one.
To nametext
Template idPicked from the list Mailchimp offers.
Folder idtext
Content type"" or "template" or "multichannel"
Track opens"" or "on" or "off"
Track clicks in HTML"" or "on" or "off"
Track clicks in plain text"" or "on" or "off"
Google Analytics tagtext
RSS feed addresstext
RSS frequency"" or "daily" or "weekly" or "monthly"
RSS scheduleWhich hour and which days Mailchimp checks the feed.
Multivariate settingsWhich combinations Mailchimp tests and how it picks the winner.
Segment conditionsMailchimp's own condition grammar, when a saved segment id is not enough.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
type"regular" or "plaintext" or "rss" or "variate" or "absplit", by default "regular"
audienceIdtexta value from the vendor's own list
savedSegmentIdtext
subjectLinetext
previewTexttext
titletext
fromNametext
replyTotext
toNametext
templateIdtexta value from the vendor's own list
folderIdtext
contentType"" or "template" or "multichannel"
trackOpens"" or "on" or "off"
trackHtmlClicks"" or "on" or "off"
trackTextClicks"" or "on" or "off"
googleAnalyticstext
rssFeedUrltextused when `type` is "rss"
rssFrequency"" or "daily" or "weekly" or "monthly"used when `type` is "rss"
rssScheduleJsonobject (any keys), by default {}used when `type` is "rss"
variateSettingsJsonobject (any keys), by default {}used when `type` is "variate"
segmentOptionsJsonobject (any keys), by default {}

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": "",
    "connection": "<connection id>",
    "contentType": "",
    "folderId": "",
    "fromName": "",
    "googleAnalytics": "",
    "previewText": "",
    "replyTo": "",
    "rssFeedUrl": "",
    "rssFrequency": "",
    "rssScheduleJson": {},
    "savedSegmentId": "",
    "segmentOptionsJson": {},
    "subjectLine": "",
    "templateId": "",
    "title": "",
    "toName": "",
    "trackHtmlClicks": "",
    "trackOpens": "",
    "trackTextClicks": "",
    "type": "regular",
    "variateSettingsJson": {}
  },
  "label": "Create campaign",
  "type": "mailchimp.createCampaign",
  "version": 1
}