Skip to main content

List Add Item

Runs on: Shared (backend or chatbox overlay).

Adds a value to the end or start of a list and outputs the new list. The original list is not modified.

The item input accepts whatever type the connected list holds. A list of strings only accepts strings. The output list has the same type as the input.

Inputs​

NameTypeDescription
listlistThe list to add to.
itemanyThe value to add. The accepted type is inferred from the list's inner type.

Outputs​

NameTypeDescription
resultlistThe original items with the new item added.

Configuration​

  • Position: End (default) or Start.

Example​

For a giveaway, a Chat Command trigger for !enter fires the flow. Wire the running entries list into list and the username into item, then store result back as the entries list.