> For the complete documentation index, see [llms.txt](https://docs.zerowork.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.zerowork.io/common-problems/when-i-use-data-from-table-no-data-is-being-pulled.md). Agents can also search and read this documentation through its [MCP server](https://docs.zerowork.io/~gitbook/mcp).

# 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](https://docs.zerowork.io/building-blocks/logic/start-repeat.md) with the loop type [Start Repeat](https://docs.zerowork.io/building-blocks/logic/start-repeat.md#loop-index) 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><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-50c4bc5b51a20079cc03b3e01e8f94b5ea9f68b9%2Fno-data-open-click-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-ff5c64078d0d8d5a7f940cd445c94066bf8510d1%2Fno-data-open-click.png?alt=media" alt="Open Link followed by Click Web Element" width="534"></picture><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><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-9e75f09c276df3a7a91e534d4642bc9c76cc80e3%2Fno-data-open-link-table-ref-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-d97491afec8edde57a7d22ac9f7c2c9b5b5916bf%2Fno-data-open-link-table-ref.png?alt=media" alt="Open Link with a table reference" width="555"></picture><figcaption></figcaption></figure>

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

Workflow set-up now contains a loop.

<figure><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-b3cc9cd61df09adcc5ef24e85e3d54d833a24154%2Fno-data-loop-open-click-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-127448ae33274c3534b8b6ed626f42a73a350300%2Fno-data-loop-open-click.png?alt=media" alt="Start Repeat, Open Link and Click Web Element" width="789"></picture><figcaption></figcaption></figure>

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

<figure><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-24edeae8c4ad546ac8f7af25c7c4b46da06deaec%2Fno-data-start-repeat-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-33987b259ce780d099f10140861f2f61ef0cb535%2Fno-data-start-repeat.png?alt=media" alt="Start Repeat set to a dynamic loop" width="555"></picture><figcaption></figcaption></figure>

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

This is the same set-up as in the 1st case.

<figure><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-50c4bc5b51a20079cc03b3e01e8f94b5ea9f68b9%2Fno-data-open-click-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-ff5c64078d0d8d5a7f940cd445c94066bf8510d1%2Fno-data-open-click.png?alt=media" alt="Open Link followed by Click Web Element" width="534"></picture><figcaption></figcaption></figure>

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

<figure><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-13fa5fee0b55aa833c90a5f4183ba338860482dc%2Fno-data-open-link-variable-ref-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-7f3cee1a730931f7a06d2be64e5170e502414210%2Fno-data-open-link-variable-ref.png?alt=media" alt="Open Link with a variable reference" width="555"></picture><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><picture><source srcset="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-56eeb0b0adbfd9592b3021256c5971a53c14334c%2Fno-data-start-repeat-limit-dark.png?alt=media" media="(prefers-color-scheme: dark)"><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2Fgit-blob-e431bad563e8f6c734c3e55925da065071cc52a1%2Fno-data-start-repeat-limit.png?alt=media" alt="Start Repeat with the repetition limit 1" width="555"></picture><figcaption></figcaption></figure>
