Skip to main content
List Selector takes a list of text items and outputs one of them, chosen by index, at random, or the first item.

When to use

  • A/B pick from a set of variants
  • Choose a random creative option
Common pattern: split_text → list_selector → generate_text.

Inputs

List
text
required
The list of text items to pick from. Required, accepts an array.

Outputs

Item
text
The selected item.

Configuration

selectionMode
string
default:"manual"
How the item is chosen. manual selects the first item, index selects by position, and random picks one at random.
index
number
default:"0"
Zero-based position to select. Used only when selectionMode is index.