List Selector Nodes

The List Selector Node works in tandem with the Split Text Node. Once you have a list of items, this node allows you to pick exactly which one(s) you want to use in your workflow.

Selection Modes

1. Single Item

  • Pick a specific item by its index (0 for the first item, 1 for the second, etc.).

2. Multiple Items

  • Pick specific indices (e.g., 0, 2, 5) to combine multiple items.

3. Range

  • Pick a sequence of items (e.g., from index 0 to 5).

4. Random

  • Picks a random item from the list. This is incredibly powerful for procedural generation or adding variety to your workflows.
  • Example: From a list of 50 adjectives, pick 1 randomly to modify a prompt.

5. First/Last N

  • Pick the first 3 items or the last 5 items.

Output

The selected item(s) are output as a text string. If multiple items are selected, you can define a Separator (e.g., New Line, Comma) to join them.