Accumulation Get Item¶
Retrieves a single element from an accumulation at a specified index. If the index is invalid or the accumulation is malformed, the node returns a null item. The output type matches the type of the stored element.

Usage¶
Use this node when you need to extract a specific element from an accumulation created or transformed by other list/accumulation nodes (e.g., Accumulate, Accumulation Head/Tail, List to Accumulation). Provide the accumulation and the zero-based index of the item you want to retrieve.
Inputs¶
| Field | Required | Type | Description | Example |
|---|---|---|---|---|
| accumulation | True | ACCUMULATION | The accumulation object to read from, typically produced by other accumulation or list nodes. | |
| index | True | INT | Zero-based position of the item to retrieve. Supports typical integer indexing. | 0 |
Outputs¶
| Field | Type | Description | Example |
|---|---|---|---|
| item | WILDCARD | The element at the provided index within the accumulation. Returns null if the index is out of range or the accumulation is invalid. | example-item |
Important Notes¶
- Indexing is zero-based: Index 0 returns the first element.
- Out-of-range indices return null: If the index is invalid, the node outputs a null item.
- Output type is dynamic: The output type follows the element type stored in the accumulation.
- Provide a valid accumulation: Ensure the input is a proper accumulation object produced by compatible nodes.
- Negative indices: Depending on the accumulation's underlying list behavior, negative indices may access from the end; if unsupported or out of range, null is returned.
Troubleshooting¶
- Got null output: Verify the index is within the valid range of the accumulation and that the accumulation contains elements.
- Unexpected type: Ensure the accumulation contains the expected element types; this node returns whatever type is stored at the index.
- Accummulation input not accepted: Confirm the input comes from accumulation-compatible nodes (e.g., Accumulate or List to Accumulation) and not a raw list.
- Off-by-one errors: Remember indexing starts at 0; adjust the index accordingly.