Update campaign
BetaChanges data
Changes a campaign's subject line, sender and other settings.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Campaign id | text |
| Subject line | Mailchimp wants all three of subject line, from name and reply-to on every change, even the ones you are not changing. |
| From name | text |
| Reply-to address | text |
| Preview text | text |
| Internal name | text |
| To name | text |
| Folder id | text |
| Audience id | Only to move the campaign to another audience. |
| Saved segment id | text |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
campaignId | text |
subjectLine | text |
fromName | text |
replyTo | text |
previewText | text |
title | text |
toName | text |
folderId | text |
audienceId | texta value from the vendor's own list |
savedSegmentId | text |
Output
| Field | Type |
|---|---|
campaign | object |
campaignId | string |
status | string |
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
}