FlowmageDocs

Delete segment

BetaChanges data

Deletes a segment from an audience; the contacts in it stay.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Audience idPicked from the list Mailchimp offers.
Segment idtext
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
audienceIdtexta value from the vendor's own list
segmentIdtext

Output

FieldType
deletedboolean
wasPresentThe segment was still thereboolean
segmentIdstring
Sample output, and the expression for each field
  • deletedtrue
  • segmentId"7"
  • wasPresenttrue

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>",
    "segmentId": ""
  },
  "label": "Delete segment",
  "type": "mailchimp.deleteSegment",
  "version": 1
}