Skip to content

Dynamic Text

Builds a text string by inserting up to 10 user-provided values into placeholders. Placeholders use the format {{input_1}} through {{input_10}} and are replaced with the corresponding optional inputs. Useful for templating prompts, messages, or any dynamic text assembly.
Preview

Usage

Use this node when you need to compose a text template that references up to 10 dynamic variables. Type your template into the required text field and insert variables using the slash menu to ensure exact placeholder names. Provide values for input_1 to input_10 as needed; unset inputs default to empty strings. The node outputs the compiled text for downstream nodes.

Inputs

FieldRequiredTypeDescriptionExample
textTrueDYNAMIC_STRINGThe template string containing placeholders like {{input_1}} ... {{input_10}} to be replaced with provided values.Hello {{input_1}}, your order {{input_2}} is ready.
input_1FalseSTRINGValue to replace {{input_1}} in the template.Alice
input_2FalseSTRINGValue to replace {{input_2}} in the template. Hidden until input_1 is set.#12345
input_3FalseSTRINGValue to replace {{input_3}} in the template. Hidden until input_2 is set.tomorrow
input_4FalseSTRINGValue to replace {{input_4}} in the template. Hidden until input_3 is set.10:00 AM
input_5FalseSTRINGValue to replace {{input_5}} in the template. Hidden until input_4 is set.Pickup
input_6FalseSTRINGValue to replace {{input_6}} in the template. Hidden until input_5 is set.Main Store
input_7FalseSTRINGValue to replace {{input_7}} in the template. Hidden until input_6 is set.Priority
input_8FalseSTRINGValue to replace {{input_8}} in the template. Hidden until input_7 is set.Thank you!
input_9FalseSTRINGValue to replace {{input_9}} in the template. Hidden until input_8 is set.Contact support if needed.
input_10FalseSTRINGValue to replace {{input_10}} in the template. Hidden until input_9 is set.support@example.com

Outputs

FieldTypeDescriptionExample
textSTRINGThe compiled text with all {{input_n}} placeholders replaced by the provided values.Hello Alice, your order #12345 is ready.

Important Notes

  • Placeholder format: Use double curly braces with exact keys: {{input_1}} through {{input_10}}.
  • Available options menu: In the template field, press '/' to insert available placeholders reliably.
  • Unset inputs: Any unset input is treated as an empty string, so its placeholder will be removed if present.
  • Replacement behavior: Performs simple text replacement; all occurrences of a placeholder are replaced without escaping.
  • Case sensitivity: Placeholder keys are case-sensitive and must exactly match input_1 ... input_10.
  • Progressive visibility: input_2 is hidden until input_1 is set, input_3 until input_2 is set, and so on.
  • Limit: Supports up to 10 variables. For more variables, chain multiple Dynamic Text nodes.

Troubleshooting

  • Placeholders not replaced: Ensure the template uses exact names like {{input_1}} and that you provided corresponding input values.
  • Unexpected leftover braces: Provide values for the referenced inputs or remove unused placeholders from the template.
  • Need more than 10 variables: Split your template across multiple nodes and pass the compiled result forward.
  • Wrong value inserted: Verify that you didn't reuse the wrong placeholder name and check the order of your inputs.
  • Multiple occurrences not all replaced: This node replaces all matches; if only some changed, confirm the exact placeholder text matches the input key (no extra spaces).

Example Pipelines

Example
Example