First Non Empty
Returns the first non-empty value among all connected inputs. Useful for merging two branches where only one will have a value for a given run.
The First Non-Empty node returns the first input that actually has a value. Connect several inputs and it forwards the first non-empty one, ignoring the rest — useful for providing fallbacks when an upstream branch may be empty. First Non-Empty is partial-input tolerant, making it useful for merging several conditional branches back into one path.
First Non Empty
ValueText
Inputs
Each input can be typed in directly or connected to another node's output.
| Input | Type | Required | Description |
|---|---|---|---|
| Value | Text | Optional | Candidate value. Click + to add more inputs. |
Output
Type: JSON (json)