AutomationFlows โ€บ Web Scraping โ€บ Scrape Verified Instagram Leads with Apify and Airtable

Scrape Verified Instagram Leads with Apify and Airtable

ByMSiddhant @msiddhant on n8n.io

๐Ÿš€ Instagram Leads Scraper (Perfect for Cold Outreach)

Event triggerโ˜…โ˜…โ˜…โ˜…โ˜† complexity12 nodesHTTP RequestForm TriggerAirtable
Web Scraping Trigger: Event Nodes: 12 Complexity: โ˜…โ˜…โ˜…โ˜…โ˜† Added:

This workflow corresponds to n8n.io template #11428 โ€” we link there as the canonical source.

This workflow follows the Airtable โ†’ Form Trigger recipe pattern โ€” see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide โ†’

Download .json
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "b3c8a879-3a00-4c69-9071-41304bf2fe64",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1184,
        -192
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "organicResults"
      },
      "typeVersion": 1
    },
    {
      "id": "75068932-e518-4e38-81ef-d98ab7bd25cc",
      "name": "Processing Data",
      "type": "n8n-nodes-base.wait",
      "position": [
        944,
        -192
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "c6a57d97-329f-48fb-b84d-96b06beae8f2",
      "name": "If1",
      "type": "n8n-nodes-base.if",
      "position": [
        480,
        224
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "58b1cc95-3985-4578-9931-a25996033036",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.validations.mx_records }}",
              "rightValue": ""
            },
            {
              "id": "262b1b66-40a1-4d55-88fb-99b63dd002ac",
              "operator": {
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.status }}",
              "rightValue": "VALID"
            },
            {
              "id": "9deaa93f-f899-4c69-8f41-25e80ef7d311",
              "operator": {
                "type": "boolean",
                "operation": "true",
                "singleValue": true
              },
              "leftValue": "={{ $json.validations.mailbox_exists }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "bc8e5e11-6264-4b69-ae2c-d178d4006ec7",
      "name": "Email Verifier",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        272,
        224
      ],
      "parameters": {
        "url": "https://rapid-email-verifier.fly.dev/api/validate",
        "options": {},
        "sendQuery": true,
        "sendHeaders": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "email",
              "value": "={{ $json.emphasizedKeywords[0] }}"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "accept",
              "value": "application/json"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "afd43f88-5c1e-41a6-bbbe-8ecc031d41e8",
      "name": "Query Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        272,
        -192
      ],
      "parameters": {
        "options": {},
        "formTitle": "Enter Data",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Enter Query"
            }
          ]
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "3f460e8b-3364-4e4d-8ad9-30a33a9277f6",
      "name": "Passing Emails",
      "type": "n8n-nodes-base.if",
      "position": [
        1408,
        -192
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "or",
          "conditions": [
            {
              "id": "62534e33-25c5-4df8-8fcd-3d9aa323ea08",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.emphasizedKeywords[0] }}",
              "rightValue": "@gmail.com"
            },
            {
              "id": "bedf6d74-9908-4a0e-91ec-5542f56b8470",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.emphasizedKeywords[0] }}",
              "rightValue": "@hotmail.com"
            },
            {
              "id": "1dbd9a2a-6f13-4894-97ad-30f9dd41552b",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.emphasizedKeywords[0] }}",
              "rightValue": "@aol.com"
            },
            {
              "id": "00b32635-9296-4b6c-9074-64c7d650ce2f",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.emphasizedKeywords[0] }}",
              "rightValue": "@yahoo.com"
            },
            {
              "id": "fd100974-0abc-4016-97da-fa035f75184a",
              "operator": {
                "type": "string",
                "operation": "contains"
              },
              "leftValue": "={{ $json.emphasizedKeywords[0] }}",
              "rightValue": "@outlook.com"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "2c1f70bb-2492-4fae-ac49-469aa36ee18a",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        -432
      ],
      "parameters": {
        "color": 6,
        "width": 544,
        "height": 1072,
        "content": "## How it works\nThis Workflow helps you to Scrape the Leads from Instagram, It uses Apify Scrapers to scrape the data from Instagram such as Profile, Emails, etc and Then filters it out based on certain parameters to Qualify the leads and Store in your Airtable Database which is ready for Cold Outreach.\n\n## Setup steps\n1. Create an Apify account and open the Google Search Scraper actor.\n2. Copy the \u201cRun actor synchronously and get dataset items\u201d endpoint URL and replace it in the **Apify Scraping Data** node.\n3. Add your Apify token in the Apify Scraping Data node URL.\n4. Create an Airtable base + table with these fields: Username, Contact Details, URL, Followers, Email Verifier.\n5. Connect your Airtable credentials in the **Airtable DB** node and select your base/table.\n6. Run the workflow \u2192 submit your query in the form \u2192 verified leads will appear in Airtable.\n\n>For Detailed Guide, See Notes available below\n\n## Apify Token Setup\nReplace the token in the 'Apify Scraping Data' Node with your own token.\n\n**How to Get Token and Setup**\n1. Go to Apify Actor: [Open Link](https://console.apify.com/actors/nFJndFXA5zjCTuudP/input)\n2. Click on API > API Endpoints\n3. Scroll down and Find this > 'Run Actor synchronously and get dataset items'\n4. Copy the POST URL\n5. Paste this URL in the 'Apify Scraping Data' node in this workflow in the URL field\n\n## Airtable Token Setup\nConnect Airtable token + select base/table in the 'Airtable DB' node before running.\n\nYou can close this Airtable Sheet for Ease: [Clone Table](https://airtable.com/appOfLatszE9cHYw3/shrbctCMIY7tOdv15)\n\n**How to get Airtable Token**\n1. Signup or Login to Airtable Account\n2. Go to Builder Hub in Airtable\n3. Create your Personal Access Token\n\n>Use this link for Full detailed Airtable Setup Guide: [Open Link](https://docs.n8n.io/integrations/builtin/credentials/airtable/)\n\nThanks,\nContact Me [@msiddhant](#)\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "b1a86738-8af5-430c-8938-f513b108ed48",
      "name": "Airtable DB",
      "type": "n8n-nodes-base.airtable",
      "position": [
        752,
        208
      ],
      "parameters": {
        "base": {
          "__rl": true,
          "mode": "list",
          "value": "applMjHUxKsqVMuQJ",
          "cachedResultUrl": "https://airtable.com/applMjHUxKsqVMuQJ",
          "cachedResultName": "IG Leads"
        },
        "table": {
          "__rl": true,
          "mode": "list",
          "value": "tblYcWRvqRcSkcfiN",
          "cachedResultUrl": "https://airtable.com/applMjHUxKsqVMuQJ/tblYcWRvqRcSkcfiN",
          "cachedResultName": "Leads"
        },
        "columns": {
          "value": {
            "URL": "={{ $('Split Out').item.json.url }}",
            "Username": "={{ $('Split Out').item.json.displayedUrl }}",
            "Followers": "={{ $('Split Out').item.json.followersAmount }}",
            "Email Verifier": "={{ $json.status }}",
            "Contact Details": "={{ $json.email }}"
          },
          "schema": [
            {
              "id": "id",
              "type": "string",
              "display": true,
              "removed": true,
              "readOnly": true,
              "required": false,
              "displayName": "id",
              "defaultMatch": true
            },
            {
              "id": "Username",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Username",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Contact Details",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Contact Details",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "URL",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "URL",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Followers",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Followers",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Email Verifier",
              "type": "string",
              "display": true,
              "removed": false,
              "readOnly": false,
              "required": false,
              "displayName": "Email Verifier",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "Username"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "upsert"
      },
      "credentials": {
        "airtableTokenApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "d6577f4b-aecd-4d4d-ae36-6de669445eaa",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        64
      ],
      "parameters": {
        "width": 688,
        "height": 352,
        "content": "## Email Verify + Store\nVerifies emails using an email verification API. If valid, the lead is stored into Airtable."
      },
      "typeVersion": 1
    },
    {
      "id": "d126b7c5-0b2f-4220-bff2-ba123a9ca592",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        240,
        -368
      ],
      "parameters": {
        "color": 4,
        "width": 576,
        "height": 368,
        "content": "## Input + Scraping\nEnter a keyword query. Apify Google Search Scraper runs a search for Instagram pages containing public emails.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "b07ae7ab-84c0-4458-892d-b55c64f916ad",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -368
      ],
      "parameters": {
        "color": 5,
        "width": 688,
        "height": 368,
        "content": "## Data Processing + Email Filtering\nWaits for Apify results and splits the data into individual lead items and Filterss results that contain Gmail address.\n"
      },
      "typeVersion": 1
    },
    {
      "id": "6d40b7ab-2cd4-467b-b3fa-81ce68fab961",
      "name": "Apify Scraping Data",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        592,
        -192
      ],
      "parameters": {
        "url": "https://api.apify.com/v2/acts/apify~google-search-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN_HERE",
        "method": "POST",
        "options": {},
        "jsonBody": "={\n    \"focusOnPaidAds\": false,\n    \"forceExactMatch\": false,\n    \"includeIcons\": false,\n    \"includeUnfilteredResults\": false,\n    \"maxPagesPerQuery\": 10,\n    \"maximumLeadsEnrichmentRecords\": 0,\n    \"mobileResults\": false,\n    \"queries\": \"site:instagram.com + {{ $json['Enter Query'] }} + @gmail.com\",\n    \"resultsPerPage\": 100,\n    \"saveHtml\": false,\n    \"saveHtmlToKeyValueStore\": true\n}",
        "sendBody": true,
        "specifyBody": "json"
      },
      "typeVersion": 4.2
    }
  ],
  "connections": {
    "If1": {
      "main": [
        [
          {
            "node": "Airtable DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Passing Emails",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Query Form": {
      "main": [
        [
          {
            "node": "Apify Scraping Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Airtable DB": {
      "main": [
        []
      ]
    },
    "Email Verifier": {
      "main": [
        [
          {
            "node": "If1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Passing Emails": {
      "main": [
        [
          {
            "node": "Email Verifier",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Processing Data": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Apify Scraping Data": {
      "main": [
        [
          {
            "node": "Processing Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing โ€” you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

๐Ÿš€ Instagram Leads Scraper (Perfect for Cold Outreach)

Source: https://n8n.io/workflows/11428/ โ€” original creator credit. Request a take-down โ†’

More Web Scraping workflows โ†’ ยท Browse all categories โ†’

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Web Scraping

This n8n workflow collects leads from Google Maps, scrapes their websites via direct HTTP requests, and extracts valid email addresses โ€” all while mimicking real user behavior to improve scraping reli

Form Trigger, @Apify/N8N Nodes Apify, HTTP Request +1
Web Scraping

This workflow uses the Zyte API to automatically detect and extract structured data from E-commerce sites, Articles, Job Boards, and Search Engine Results (SERP) - no custom CSS selectors required.

Form Trigger, HTTP Request, Form
Web Scraping

Automate LinkedIn lead generation by scraping comments from targeted posts and enriching profiles with detailed data

Form Trigger, HTTP Request, Google Sheets
Web Scraping

This workflow automates lead generation by scraping business data from Google Maps using Apify, enriching it with verified email addresses via Anymailfinder, and storing the results in a NocoDB databa

Form Trigger, HTTP Request, Noco Db
Web Scraping

This workflow automates the process of extracting and qualifying leads from LinkedIn post comments based on your Ideal Customer Profile (ICP) criteria. It turns LinkedIn engagement into a structured,

HTTP Request, Form Trigger