> For the complete documentation index, see [llms.txt](https://docs.cosmocloud.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cosmocloud.io/flow-builder/node-types/loop-nodes.md).

# Loop Nodes

Loop nodes are integral elements that facilitate the automation of repetitive tasks within workflows. These nodes empower users to iterate over a set of data, perform a series of actions multiple times, and dynamically process each iteration.

Some of the loop nodes present in cosmocloud are -

* **For Loop :** This node empowers you to iterate over a set of values or elements within your API flow, enabling you to perform repetitive actions, apply logic, and process data sequentially as part of your workflow.&#x20;
* **While Loop :** This node empowers you to create a loop within your API flow that continues executing as long as a specified condition is met.
