# Dynamic Loop

Dynamic loop is used to iterate over existing rows in a table.

**Suitable for**

* Updating existing data - example: visiting profile links from a table and adding profile details such as "About Me" section to the existing rows or updating their qualification status based on certain conditions.
* Performing actions on existing data - example: visiting profile links from a table and auto-sending outreach messages.

**Key characteristics**

* Iterates over existing rows until it consumes all rows.
* If you don't want to iterate over all rows but need to access, for example, only one row, enter 1 to the optional repetition limit (or any other number that you need).

#### Example set-up

See [Enrich Existing Data](/using-zerowork/using-building-blocks/save-web-element/enrich-existing-data.md) (link includes a video tutorial).


---

# 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.zerowork.io/using-zerowork/using-building-blocks/start-repeat/dynamic-loop.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.
