FlowmageDocs

Delete template

BetaChanges data

Removes a template from the account for good.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp Transactional connection the step signs in with.
Template slugRequiredThe template's immutable slug. A false in Was there means nothing by that slug existed — it was already deleted, or the slug is wrong.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp-transactional`)
templateSlugtext

Output

FieldType
templateThe deleted template, empty when there was noneobject
wasPresentWas thereboolean
Sample output, and the expression for each field
  • template
    • slug"order-confirmation"
  • 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": {
    "connection": "<connection id>",
    "templateSlug": "<template slug>"
  },
  "label": "Delete template",
  "type": "mandrill.deleteTemplate",
  "version": 1
}