# List Iterate

### Description

<figure><img src="/files/ocL0JxReU3jZpjDwUjO0" alt=""><figcaption><p>List Iterate node</p></figcaption></figure>

The "List Iterate" node provides a loop mechanism to iterate over each element within a list. It receives a list as input and sequentially outputs each element and its corresponding index. The node is essential for workflows that require processing or examining each item in a collection. It automatically triggers the execution of connected nodes for each item in the list and then proceeds to the next operation once the entire list has been processed.

<table><thead><tr><th width="186">Name</th><th width="223.3279424240331">Type</th><th width="340.1572968009442">Description</th></tr></thead><tbody><tr><td>List</td><td>IList</td><td>An input slot for the list to be iterated over.</td></tr><tr><td>Body</td><td>OverExecutionFlowData</td><td>An execution output that triggers the connected nodes for each iteration over the list.</td></tr><tr><td>Current Index</td><td>int</td><td>An output slot that provides the index of the current element being processed in the list.</td></tr><tr><td>Current Element</td><td>object</td><td>An output slot that provides the current element from the list being processed.</td></tr></tbody></table>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overthereality.ai/over-sdk-manual/over-visual-scripting-legacy/nodes/flow/loops/list-iterate.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
