Skip to main content

JSON: Template

Build a text from a given template using configured JSON input.

Example

For given configuration like:

Example:
# Configuration:
Message: "Hello {name} {lastname} age: {age}"
Placeholders: [name, lastname, age]

# Input Connectors
- name: "John"
- lastname: "Doe"
- age: 42

# Output will be:

> "Hello John Doe age: 42"

Parameters

Message

Message with template placeholders like: {name}

Placeholders

One or multiple placeholders connectors (must match given message placeholders {name}):

  • key: which key to add the input to

  • label: which label to display on the node

Input

Dynamics connectors

Any connectors configured. cf. Placeholders

Output

Plain Text

Generated text with rendered placeholders