# Save Lists

**Example: Save list of profiles from LinkedIn search results**

In this example, let's assume we want to save 10 profiles from a page.

Here is the workflow set-up:

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

*Open Link* opens the page where the list of profiles is displayed. Note: You should add a url that already contains all necessary search filters, similar to what you see on the screenshot below.

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

The loop is set at 10 to be able to save 10 results. The loop is set up in the *Start Repeat* building block.

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

*Save Web Element* building block saves profile links like so:

<figure><img src="/files/8L0g8hjNVth9ueDylPxg" alt=""><figcaption></figcaption></figure>

**IMPORTANT**: If you pay close attention to the screenshot above, you will see that the selector contains <mark style="background-color:red;">**{loop\_index}**</mark>. Please read the following section to learn how to add the loop index to your selector (CSS or XPath): [Standard Loop](/using-zerowork/using-building-blocks/start-repeat/standard-loop.md#how-to-use-loop-index-syntax-to-save-lists-of-public-data).

### FAQ

#### Data is always appended. But I want the new data to overwrite the old data on every run.

Use [Delete Data](/using-zerowork/using-building-blocks/delete-data.md) building block before you start your loop.

#### How do I get rid of duplicates in my table?

Use [Remove Duplicates](/using-zerowork/using-building-blocks/remove-duplicates.md) building block after your loop finished saving all the results.

#### How to save paginated results?

Check [Nested Loops - Handle Pagination](/using-zerowork/using-building-blocks/start-repeat/nested-loops-handle-pagination.md).

#### How to handle scrolling?

Scrolling is handled automatically by your TaskBot.

In-built auto-scrolling logic might fail in some cases. You may need to set up some additional logic by using space or arrow down with a [Keyboard Action](/using-zerowork/using-building-blocks/keyboard-action.md) block. Contact support to report the website where scrolling is not triggered automatically ([Support](/support/getting-support.md)).

### Video Tutorial

{% embed url="<https://youtu.be/QNdzT5oIs6g?si=rIcZd5UK6OJ4o-Xs>" %}


---

# 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/save-web-element/save-lists.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.
