Get Template

postmark.get_template
ActionEmailconnection required

Calls the Postmark API with the connection's credentials.

Read one template's stored subject, HTML body and text body.

Connection

Required
Yes — the node will not save without one
Auth type
API key
Providers
Postmark
Secret shape
the server API token, or {"server_token": "…"}
Config it needs
message_stream, from_address, base_url
Resolved by
config.connection_id, else node.connection_id

Configuration

1 field, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
template
The template's numeric TemplateId or its alias — Postmark accepts either in the path.
stringYes———

Output

One shape.

result

FieldTypeExample
TemplateId
The template's numeric Postmark id.
number—
Name
The template's name.
string—
Alias
The template's alias, when it has one.
string—
Subject
The stored subject line, before rendering.
string—
HtmlBody
The stored HTML body, before rendering.
string—
TextBody
The stored plain-text body, before rendering.
string—
Active
True while the template can be sent with.
boolean—
TemplateType
Standard for a sendable template, Layout for one others wrap in.
string—
LayoutTemplate
The alias of the layout this template renders inside, when it uses one.
string—
AssociatedServerId
The Postmark server the template belongs to.
number—
{
  "Active": false,
  "Alias": "",
  "AssociatedServerId": 0,
  "HtmlBody": "",
  "LayoutTemplate": "",
  "Name": "",
  "Subject": "",
  "TemplateId": 0,
  "TemplateType": "",
  "TextBody": ""
}

See Get Template run in a workflow.

In a technical demo we add the Postmark connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.