FlowmageDocs

Get template

BetaReads data

Reads one e-mail template with its name, type and category.

Settings

SettingWhat it is
ConnectionRequiredThe Mailchimp connection the step signs in with.
Template idPicked from the list Mailchimp offers.
Fields to fetchMailchimp returns everything unless you name the fields you want.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `mailchimp`)
templateIdtexta value from the vendor's own list
fieldstext

Output

FieldType
templateobject
templateNamestring
typestring
Sample output, and the expression for each field
  • template
    • id5
    • name"Basic"
  • templateName"Basic"
  • type"user"

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>",
    "fields": "",
    "templateId": ""
  },
  "label": "Get template",
  "type": "mailchimp.getTemplate",
  "version": 1
}