Change static segment members
BetaChanges data
Adds and removes addresses in a static segment in one call.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Mailchimp connection the step signs in with. |
| Audience id | Picked from the list Mailchimp offers. |
| Segment id | text |
| Addresses to add | Comma separated, at most 500. An address that is not on the audience is ignored by Mailchimp. |
| Addresses to remove | Comma separated, at most 500. They stay in the audience. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `mailchimp`) |
audienceId | texta value from the vendor's own list |
segmentId | text |
membersToAdd | text |
membersToRemove | text |
Output
| Field | Type |
|---|---|
membersAddedAddresses added | array |
addedCountAdded | number |
errorsAddresses Mailchimp refused | array |
errorCountRefused | number |
Sample output, and the expression for each field
- addedCount0
- errorCount0
- errors[]
- membersAdded[]
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>",
"membersToAdd": "",
"membersToRemove": "",
"segmentId": ""
},
"label": "Change static segment members",
"type": "mailchimp.setStaticSegmentMembers",
"version": 1
}