# Lead Generation

<figure><img src="/files/Ir4yLiXQAStyBiFTwrtn" alt=""><figcaption><p>Lean Gen Workflow</p></figcaption></figure>

**This n8n workflow allows you to**

1. Scrapes thousands of leads from Apollo.io
2. Structure all the data
3. Record in an Airtable database

{% hint style="info" %}
You don't need a paid Apollo's account. It will cost you $0.60 / 500 leads. And that's it!
{% endhint %}

### Scrape leads node: Setup API Call

* Go to apify.com and create an account&#x20;
* Go to the store: <https://console.apify.com/store>
* Search for Apollo and look for Apollo Scraper - Scrape upto 50k Leads
  * ![](/files/NcWrOCpqMBLGqQACeOur)
* Go to the Integrations tab
* Select Use API endpoints
* Copy the url from Run Actor synchronously and get dataset items
  * ![](/files/mO5HSDOAQApyQDr9NRwA)
* Paste the url in your n8n workflow
  * &#x20;![](/files/Yn00z7yMCq0eA4CSPFLi)

### Scrape leads node: Get leads from Apollo

* Go to [Apollo.io](https://www.apollo.io/)
* Create an account
* Go to [People](https://app.apollo.io/#/people)
* Add the filters fitting your need
  * In the Email status, always select Verified
* Once ready, copy the url of the page from the browser
* Paste the url in the json form of your n8n workflow
  * ![](/files/tws8Fw8FpPsrl7NVo52w)

#### A note about the JSON code

* *"totalRecords": 500* means you will get 500 leads. If you want 1,000 leads, replace 500 by 1,000. You can go up to 50,000.&#x20;
* Reminder: 500 leads will cost $0.60. No extra cost.&#x20;

### Airtable Setup

* Credentials: Step-by-step guide [available here](https://docs.n8n.io/integrations/builtin/credentials/airtable/)&#x20;
* Once done, duplicate this Airtable to your account: <https://airtable.com/appOkojFPYg40lI8P/shrbutZ0g77I0gxn6>
* Make sure to select the right Base & Table here, and you're good to go!
  * &#x20;![](/files/bLQh6EGcnV2U1360kkgZ)&#x20;

> Enjoy finding the right leads in seconds!


---

# 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://notanothermarketer.gitbook.io/home/templates/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.
