Docs / Transformers / Template

# Template

Interpolate payload values into text using `{{key}}` syntax.

## Ports

Inlet
Input (any)
Outlet
Output (string)

## Configuration

Parameter | Type | Default | Description
--- | --- | --- | ---
`template` | textarea | — | The template string. Use `{{key}}` to reference payload values.
`outputKey` | text | `"text"` | The payload key where the rendered string is stored.

## Output Payload

`text` The interpolated string (or the key name configured via `outputKey`).

## Example

← While Math →