Skip to main content

JSON: Template

Build a text by substituting {name} placeholders in a template with values received on input connectors. Placeholders are auto-detected from the message content: each unique {name} token adds one input connector to the node — editing the message automatically adds or removes connectors.

Example

For given configuration like:

Example:
# Configuration:
Message: "Hello {name} {lastname} age: {age}"

# Detected placeholders (one input connector each):
- name: "John"
- lastname: "Doe"
- age: 42

# Output will be:

> "Hello John Doe age: 42"

Parameters

Messagerequired

Template body with placeholders like {name}. Each unique placeholder becomes a required input connector.

Escaping rules:

  • Doubled braces {{ / }} are literal braces, not placeholders.
  • Tokens containing whitespace, like { spaced }, are not placeholders and are left as-is.

Input

Placeholder connectorsrequired

One input connector per placeholder detected in the message. Each accepts Plain Text, Integer, JSON (stringified into the text) or File (loaded as text).

Triggerrequired

Only present when the message contains no placeholders: a static trigger input used to fire the node — any upstream value works.

Output

Plain Text

Generated text with rendered placeholders