Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Campaign id | The id List campaigns gives you. |
| Fields to fetch | Mailchimp returns everything unless you name the fields you want. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
campaignId | text |
fields | text |
Output
| Field | Type |
|---|---|
campaign | object |
status | string |
subjectLine | string |
sendTime | string |
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
}