Selector
AI-generatedSummary
Select data from one or more inputs based on specified conditions or an index, forwarding the selected input data as output.
Inputs
- Mode (required) — Choose between 'Single Select' to pass data from either Input 1 or Input 2 based on a condition, or 'Multi Select' to pass data from one of multiple inputs based on an index.
- Conditions — In 'Single Select' mode, define filter conditions to determine whether to pass Input 1 (if condition passes) or Input 2 (otherwise).
- Options — In 'Single Select' mode, configure options to ignore case and control type conversion behavior when evaluating conditions.
- Wait for All Inputs — Option to wait until all expected inputs have data before the node processes outputs (available in both modes).
- Condition Index — In 'Multi Select' mode, specify the index (0-based) of the input whose data should be passed through.
- Number of Inputs (required) — In 'Multi Select' mode, specify the total number of data inputs to expect (up to 15).
Output shape
a single output containing data items from the selected input(s)
In 'Single Select' mode, outputs data from Input 1 if conditions evaluate to true or from Input 2 otherwise. In 'Multi Select' mode, outputs data from the input at the specified 'Condition Index'. Supports optional waiting for all inputs before processing. Errors encountered during processing can output error objects if 'Continue On Fail' is enabled.
Examples
Example 1: Use 'Single Select' mode to pass Input 1 if a filter condition is met, else Input 2.
Set Mode to 'Single Select', define conditions, optionally set 'Ignore Case' and 'Convert Types Where Required', control 'Wait for All Inputs' as needed.
Example 2: Use 'Multi Select' mode to pass data from one of multiple inputs based on a numeric index.
Set Mode to 'Multi Select', specify 'Condition Index' for the desired input, set 'Number of Inputs' to match your workflow inputs, and optionally enable 'Wait for All Inputs'.