# Enrich Existing Data

#### **Example: Visit every profile from a list of LinkedIn profile links and save additional public information such as current job position and email address shown on the profile page**

Here is the workflow set-up:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FZ4Pust3QIKNu3rOM6mc6%2FScreenshot%202023-11-22%20at%2017.11.03.png?alt=media&#x26;token=b1203bbc-4754-4426-9046-d632972b524c" alt=""><figcaption></figcaption></figure>

The loop is set to iterate over table rows:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FOYA8wuRWPCilrksFFyE6%2FScreenshot%202023-11-22%20at%2017.10.46.png?alt=media&#x26;token=b2a472c3-18a8-477e-8c46-04555ae912d3" alt=""><figcaption></figcaption></figure>

*Open Link* building block points to the table column "Profile link":

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FGOSYTNc47hUhOtUqn8U1%2FScreenshot%202023-11-22%20at%2017.09.10.png?alt=media&#x26;token=a5862040-e7f5-48f5-9aaa-6570570f8c27" alt=""><figcaption></figcaption></figure>

The two last *Save Web Element* building blocks save job title and about me section:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FEb6vRskUqQK2n56n0Ecc%2FScreenshot%202023-11-22%20at%2017.10.01.png?alt=media&#x26;token=484a8633-5128-413d-8743-b53b49289941" alt=""><figcaption></figcaption></figure>

**Table before run**

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FCOhyRW7UmHhwGTzAaZ0Q%2Fspaces_g9LcR8XM7TGOzOCDGsCS_uploads_cyEdDlwC1VkMd76MQZqR_Screenshot%202023-06-16%20at%2014%20copy.png?alt=media&#x26;token=0bd7311d-d696-4f31-8653-b378016cdb42" alt=""><figcaption></figcaption></figure>

**Table after run**

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FPtfVB3fMhjRE3PhelGkU%2Fspaces_g9LcR8XM7TGOzOCDGsCS_uploads_r6KQKv1CRmDLlYRFO7CR_Screenshot%202023-06-16%20at%2014%20copy.png?alt=media&#x26;token=945c2457-9010-4d77-b3ce-c8ef02cd85a9" alt=""><figcaption></figcaption></figure>

#### Avoid visiting same profiles

You should avoid visiting the same profiles. Visiting same profiles over and over slows down your TaskBot runs and data generation. And it might also trigger **anti-bot alerts**. Some websites like LinkedIn track how many profiles you visit per day and block display if you exceed those limits. So do add extra logic to avoid visiting same profiles. The example below explains how to achieve that.

#### **Example: Set profile visit status to "visited" and avoid visiting same profile links by checking if status equals "visited"**&#x20;

Add [update-data](https://docs.zerowork.io/using-zerowork/using-building-blocks/update-data "mention") building block:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FQtW2MiZg9YlryOL4LRaI%2FScreenshot%202023-11-22%20at%2017.19.25.png?alt=media&#x26;token=3cec6a1e-f54a-4804-8e83-bbf1442bc1f9" alt=""><figcaption></figcaption></figure>

Create a new column in your table (or in your Google Sheet) and call it "Profile visit status":

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FczSAvyYhNRzsiRqYifLw%2FScreenshot%202023-11-22%20at%2017.21.07.png?alt=media&#x26;token=e101e065-bd8d-4581-9695-3993f99911d8" alt=""><figcaption></figcaption></figure>

Use *Update Data* building block to mark that a profile was visited like so:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2F4HSTmhSRQJMVu9XyWPfL%2FScreenshot%202025-01-02%20at%2007.53.17.png?alt=media&#x26;token=c3a3ba03-3659-4362-80c9-fdc93ed19871" alt=""><figcaption></figcaption></figure>

Now you need to set a condition that will check if a profile has already been visited or not. Add [start-condition-and-set-condition](https://docs.zerowork.io/using-zerowork/using-building-blocks/start-condition-and-set-condition "mention") building blocks like so:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FUOfztkjr5vSI7XyLevf4%2FScreenshot%202023-11-22%20at%2017.23.23.png?alt=media&#x26;token=b7f5dd3c-9d82-499d-bc6a-3541fca70749" alt=""><figcaption></figcaption></figure>

Your *Start Condition* building block points to the "Profile visit status" column:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FZ5wXv0BMkjCuxFtPdlES%2FScreenshot%202023-11-22%20at%2017.25.32.png?alt=media&#x26;token=265a0759-1893-414d-ae61-a54a10a9411b" alt=""><figcaption></figcaption></figure>

And your *Set Condition* building block ensures that TaskBot only opens those links that have not yet been visited:

<figure><img src="https://3220183989-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fg9LcR8XM7TGOzOCDGsCS%2Fuploads%2FA75pzH6irQx91DttPMYX%2FScreenshot%202023-11-22%20at%2017.26.56.png?alt=media&#x26;token=0ef2c83f-74a0-4d29-a7c0-aadd0536007a" alt=""><figcaption></figcaption></figure>

The above set-up on how to prevent your TaskBot from visiting same profile links is also demonstrated in a video tutorial:

{% embed url="<https://youtu.be/bDPPa36dvbo?si=IP9HDCTpoZ4k_LYU>" %}

### Video Tutorial

{% embed url="<https://youtu.be/Ozbp1WLtN-4?si=qcSw1QNDdysu250y>" %}
