Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Campaign id | text |
| Fields to fetch | Mailchimp returns everything unless you name the fields you want. A full HTML body is large; asking for plain_text alone keeps the run small. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
campaignId | text |
fields | text |
Output
| Field | Type |
|---|---|
content | object |
html | string |
plainText | string |
Sample output, and the expression for each field
- content
- html"<p>Hello</p>"
- plain_text"Hello"
- html"<p>Hello</p>"
- plainText"Hello"
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 content",
"type": "mailchimp.getCampaignContent",
"version": 1
}