List Add Item
Runs on: Shared — pure logic, runs on the Streamerly backend or inside a chatbox overlay.
The List Add Item node takes an existing list and a new value, appends the value to the end, and outputs the resulting list. The original list is never modified — a fresh copy with the item added is produced each time.
The item input type is dynamically inferred from whatever list is connected. If you wire in a list of strings, the item input will only accept strings. The output list type always matches the input list type.
Inputs
| Name | Type | Description |
|---|---|---|
list | list | The list to add to. |
item | any | The value to append. The accepted type is inferred from the list's inner type. |
Outputs
| Name | Type | Description |
|---|---|---|
result | list | A new list containing all original items with the new item appended at the end. |
Example
You are running a giveaway and storing entries as a list of usernames. Each time a viewer types !enter in chat, a Chat Command trigger fires. Connect its username output through List Add Item — wiring the running entries list into list and the username into item — then store the result back as your updated entries list. Every new entry gets added without overwriting the ones before it.