Transformers

HTML Template

Write an HTML page once, with {{key}} filling in payload values, and emit it as text for whatever comes next.

transformer.html_template
TRANSFORMHTML Template

At a glance

Takes
Any payload
Emits
html (renamable)
Good for
A report, a dashboard, a page to show or publish

Set it up

This node is where a page's HTML lives. It renders your markup against the incoming payload and hands the result downstream under html. HTML View and Artifyde: Push Page both default to reading {{html}}, so swapping "show it" for "ship it" is a rewire rather than a rewrite. This node never opens a window and never publishes anywhere.

The inspector for HTML Template: the page, and the key it lands under.
The inspector for HTML Template: the page, and the key it lands under.

Configure

FieldDefaultWhat it does
HTML—The page. Use {{key}} for payload values. Click ⇲ on the field's label to author it in the Workbench's HTML Editor.
Output KeyhtmlWhere the rendered page lands. Leave it as html so the consuming nodes pick it up with no configuration of their own.

Output

KeyTypeValue
htmlStringThe rendered page. Renamed by Output Key

Everything on the incoming payload passes through underneath it.

Example: build a page from a value

Input hands the flow some text. HTML Template wraps it in a page. Log prints the markup.

Three nodes: a value in, a page built, the markup logged.
Three nodes: a value in, a page built, the markup logged.

Paste this into the Flow Builder to get the same flow:

Take text from an Input trigger, build a small HTML page that shows it as a heading, and log the page.

Good to know

Nothing is trimmed, validated or sanitized. The node emits exactly what you wrote, and whatever consumes it decides what "valid" means.

Rename the key when one flow builds more than one page. Two HTML Template nodes both writing html means the second wins.

A missing {{token}} renders as nothing, the same as every other value field in the app — an empty spot in the page rather than literal braces.

The ⇲ editor is built for this field. Syntax highlighting paints every {{variable}} by whether it resolves, so a token nothing upstream provides turns red before the page ships; a preview fills in from the node's test values, auto-prettify makes a page an AI emitted on one line readable, and edits autosave on a rolling two-second timer. ▶ there renders — it never opens a window, publishes anything, or fires the rest of the flow.