# When I Use Data from Table, No Data is Being Pulled

Whenever you use data from tables as source, you need to use the building block [Start Repeat](/using-zerowork/using-building-blocks/start-repeat.md) with the loop type [Dynamic Loop](/using-zerowork/using-building-blocks/start-repeat/dynamic-loop.md) to make your TaskBot loop through the rows in your table. Alternatively, add a reference to a variable, as variables can be used in any set-up with or without loops.

Consider these three set-ups:

❌ **Won't work: Referencing a table column without loop**

The workflow is set up to open a link and then perform a click action.

<figure><img src="/files/TFqoXQJcdER9g72SLUKW" alt=""><figcaption></figcaption></figure>

The link in *Open Link* building block refers to a table reference. This won't work because a loop that iterates over the rows is missing.

<figure><img src="/files/2XidUGOEPaWa3frS8R0J" alt=""><figcaption></figcaption></figure>

✅ **Works: TaskBot loops through the table**

Workflow set-up now contains a loop.

<figure><img src="/files/lTs1K03wJRg6H1C9M0Wc" alt=""><figcaption></figcaption></figure>

The loop type is dynamic in order to iterate over table's rows.

<figure><img src="/files/Co74DASuHeITOBXvALgk" alt=""><figcaption></figcaption></figure>

✅ **Works: Referencing a variable without loop**

This is the same set-up as in the 1st case.&#x20;

<figure><img src="/files/MpPxqIH1q2uA239WX5ma" alt=""><figcaption></figcaption></figure>

But the reference is now taken from variables, not from the table. This is correct and will work.

<figure><img src="/files/rJiOACfaREtOc7EZ7UYa" alt=""><figcaption></figcaption></figure>

#### But I just want to use the first row of the table, I don't need to iterate over all rows

If you don't need to loop through all rows but just want to use the first row from your table (perhaps because you just want to test something), simply enter 1 to the repetition limit:

<figure><img src="/files/brjRduHfqfRwfmNAfpZ9" alt=""><figcaption></figcaption></figure>


---

# 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/common-problems/when-i-use-data-from-table-no-data-is-being-pulled.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.
