Get campaign report
BetaReads data
Reads one campaign's opens, clicks, bounces and unsubscribes.
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. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
campaignId | text |
fields | text |
Output
| Field | Type |
|---|---|
report | object |
emailsSent | number |
openRate | number |
clickRate | number |
bounceCountBounces | number |
unsubscribedUnsubscribes | number |
Sample output, and the expression for each field
- bounceCount2
- clickRate0.07
- emailsSent100
- openRate0.42
- report
- emails_sent100
- id"c1"
- unsubscribed1
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 report",
"type": "mailchimp.getCampaignReport",
"version": 1
}