# Lead Generation

Lead generation teams rely on structured business data, such as company names, websites, services, industries, ratings, and locations, when identifying potential clients or partners. With Pline, you can extract this data from platforms like Clutch, Yelp, Yellow Pages, G2, or GoodFirms.

Pline automatically groups business listing cards and organizes them into structured datasets ideal for B2B outreach, agency prospecting, market segmentation, competitor analysis, and CRM enrichment.

This guide outlines how to extract business leads effortlessly using Pline.

{% hint style="info" %}
In this guide, we’ll extract data from **Yellow Pages.**
{% endhint %}

### Step 1: Create a Workflow

Open the Pline extension and click **"Build Workflow.”**

<figure><img src="/files/5Rgk4dJJvw6nUqPG9tkT" alt=""><figcaption></figcaption></figure>

### Step 2: Select Page Type

Webpages present data in various layouts, such as **Vertical, Grid, or Horizontal Layout.**

* Choose the layout that matches the page structure (e.g., Vertical Layout).

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

### Step 3: AI-Driven Field Detection

Pline uses AI to automatically detect and group similar items on the page and **preselect relevant fields**. If the grouping looks correct, click **“Yes, Looks good.”**

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

{% hint style="info" %}
If not, select the next group. You can **add, edit, or remove fields** as needed before proceeding.
{% endhint %}

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

### Step 4: Select Pagination Type

* Select the appropriate pagination type, then locate it on the page and tag it.

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

* Preview the sample data to ensure the correct items and fields are being extracted as expected.

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

### Step 5: Run the Workflow

Give your workflow a name and click **Save and Run.**

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

### **Step 6: Access and Export Your Data**

* Stop the extraction once you’re done.

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

* Download your dataset in **CSV** or explore further in Pline's Platform.

<figure><img src="/files/2j3LNaTZkENDAPFjlmun" 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.pline.ai/industry-specific/lead-generation.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.
