FlowmageDocs

Update template

BetaChanges data

Changes an existing template's subject, sender or code.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp Transactional connection the step signs in with.
Template slugRequiredThe template's immutable slug — the List templates node answers it beside the display name.
Default subjecttext
Default from addresstext
Default from nametext
HTMLLeft empty, the template's HTML is left alone; filled in, it replaces what was there.
Plain texttext
LabelsComma-separated, at most 10.
Publish the changeOff writes the draft only, so the send nodes keep using the version that is live now.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp-transactional`)
templateSlugtext
subjecttext
fromEmailtext
fromNametext
codetext
texttext
labelstext
publishtrue/false, by default true

Output

FieldType
templateThe template as it now standsobject
Sample output, and the expression for each field
  • template
    • slug"order-confirmation"

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": {
    "code": "",
    "connection": "<connection id>",
    "fromEmail": "",
    "fromName": "",
    "labels": "",
    "publish": true,
    "subject": "",
    "templateSlug": "<template slug>",
    "text": ""
  },
  "label": "Update template",
  "type": "mandrill.updateTemplate",
  "version": 1
}