Concatenate strings
Description
Pure function joining a dynamic list of text pins into a single string, in pin order. Starts with two pins and takes more — add and remove them on the node; two is the minimum, since joining fewer is just the text itself. A null text reads as no text rather than failing the run.
When to use
Use Concatenate strings to join strings together without a separator — for example, to build a greeting like “Hello, Alice” from a prefix and a name. The node starts with two text pins and takes as many more as you need: press Add text to append one, or the × beside a pin to remove it, down to the two it always keeps. Pin order is the order the pieces are joined in, so the topmost pin comes first.
Because pins are added on the node, a message assembled from several pieces needs one node rather than a chain of them. A pin you have not filled in contributes nothing, and so does a pin fed a null — a Map get that found no key, or a model field that arrived empty, shortens the result instead of failing the run. This is concatenation’s own tolerance: the other string nodes still fail on a null, and Join writes a null element into the result as the literal text “null”. Reach for Join when the pieces are an array rather than a fixed set of inputs, or when they need a separator between them.
Because it is a pure node it evaluates lazily, so connect the result wherever a string input is required without worrying about ordering.
Pins
Input pins
| Pin | Type | Default | Notes |
|---|---|---|---|
| Text 1 | string | — | The first string. Combined with the pins below it without any separator. |
| Text 2 | string | — | The second string, appended immediately after Text 1. Text 1 and Text 2 are always present — the minimum the node keeps. |
| Text 3, Text 4, … | string | — | Added on the node itself with Add text, and removed again with the × beside the pin. Each one is appended in top-to-bottom order; a pin left empty — and a pin fed a null — contributes nothing to the result. |
Output pins
| Pin | Type | Notes |
|---|---|---|
| Result | string | Every text pin joined in top-to-bottom order, with no separator. |
Example
Build a personalised log message from a static prefix, a dynamic name, and a suffix.
Press Add text once so the node has three pins. Set Text 1 to "Hello, ", wire the
Value output of Stream to string into Text 2, and set Text 3 to "!". Feed the Result
output into the Message input of Log message, producing “Hello, Alice!” (or whatever
name was received) in the execution log.