# Lead Generation

<figure><img src="https://482554757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfj4aZhXKhFCkn0sTL04%2Fuploads%2Fl1A96XXokLJdB0dJhe9v%2Foverview-lead-generation.png?alt=media&#x26;token=bf3632e9-fc48-4acf-8f4b-4c32a11aabf8" 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
  * ![](https://482554757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfj4aZhXKhFCkn0sTL04%2Fuploads%2FDRBxQUCtdT5KzkByGo2w%2FScreenshot%202025-03-31%20at%2013.56.51.png?alt=media\&token=a05726f9-db44-4801-8981-222d6804688e)
* Go to the Integrations tab
* Select Use API endpoints
* Copy the url from Run Actor synchronously and get dataset items
  * ![](https://482554757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfj4aZhXKhFCkn0sTL04%2Fuploads%2FVJcMYRRtBI1ASAyqoHzS%2FScreenshot%202025-03-31%20at%2013.59.10.png?alt=media\&token=22d72884-41c4-49ed-a0c8-93c707de2cc4)
* Paste the url in your n8n workflow
  * &#x20;![](https://482554757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfj4aZhXKhFCkn0sTL04%2Fuploads%2FJX2DW0CwN64licebFY2L%2FScreenshot%202025-03-31%20at%2013.49.32.png?alt=media\&token=b5381e85-ce82-48c4-b5ff-2db8ec3d11c1)

### 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
  * ![](https://482554757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfj4aZhXKhFCkn0sTL04%2Fuploads%2F0sgFbQlQEZlfmaZOiNt7%2FScreenshot%202025-03-31%20at%2014.09.04.png?alt=media\&token=f0aca250-db06-4c00-b867-37a0f10346c9)

#### 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;![](https://482554757-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FMfj4aZhXKhFCkn0sTL04%2Fuploads%2FJWlhYD8vIYhcJKJ3SvVR%2FScreenshot%202025-03-31%20at%2014.18.18.png?alt=media\&token=75bf3466-73a6-41d7-84dc-12cada5c9bf0)&#x20;

> Enjoy finding the right leads in seconds!
