FlowmageDocs

Create template

BetaChanges data

Adds a new template to the account under a name you choose.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp Transactional connection the step signs in with.
Template nameRequiredMust be unique on the account — Mailchimp refuses a second template by the same name. The slug the send nodes use is derived from it and never changes afterwards.
Default subjecttext
Default from addresstext
Default from nametext
HTMLMark the editable parts with mc:edit="name" — those names are the Editable regions the send node fills in.
Plain texttext
LabelsComma-separated, at most 10.
Publish it straight awayOff saves the draft only, and the send nodes keep using the published version.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp-transactional`)
nametext
subjecttext
fromEmailtext
fromNametext
codetext
texttext
labelstext
publishtrue/false, by default true

Output

FieldType
templateThe new templateobject
templateSlugSlugstring
Sample output, and the expression for each field
  • template
    • slug"order-confirmation"
  • templateSlug"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": "",
    "name": "<template name>",
    "publish": true,
    "subject": "",
    "text": ""
  },
  "label": "Create template",
  "type": "mandrill.createTemplate",
  "version": 1
}