# awaisali36/50k-lead-generation-system architecture

> Architecture diagram of the GitHub repository awaisali36/50k-lead-generation-system, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-29). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/awaisali36/50k-lead-generation-system
- Repository: https://github.com/awaisali36/50k-lead-generation-system
- Video tour (about a minute): https://gitdiagram.com/awaisali36/50k-lead-generation-system/video

## Overview

This repository provides an n8n lead-generation workflow. A webhook selects one of five actions: scrape Apollo, enrich Apollo leads, scrape LinkedIn profiles found through Google Search, enrich LinkedIn profiles, or qualify leads. The documented paths collect and enrich lead data, then qualify it against an ICP and store results in Airtable. The workflow JSON is the only runtime artifact in the tree; relationships below follow the README, since no workflow source excerpt was provided.

Main entry points: [`n8n workflow/Lead Generation System.json`](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json) (Action router)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_orchestration["Workflow routing"]
  node_webhook["Webhook trigger"]
  node_router["Action router"]
end

subgraph group_acquisition["Lead acquisition"]
  node_apollo["Apollo scraper"]
  node_google["Google Search"]
  node_linkedin_search["LinkedIn profile search"]
end

subgraph group_enrichment["Enrichment and qualification"]
  node_profile_enrichment["Profile enrichment"]
  node_apify["Apify scraper"]
  node_website_research["Website research"]
  node_tavily["Tavily search"]
  node_qualification["ICP qualification"]
  node_gemini["Google Gemini"]
end

subgraph group_storage["Lead data"]
  node_airtable[("Airtable lead store")]
end

node_user(("Campaign caller"))

node_user -->|"submits action"| node_webhook
node_webhook -->|"routes request"| node_router
node_router -->|"dispatches scrape"| node_apollo
node_router -->|"dispatches enrichment"| node_profile_enrichment
node_router -->|"dispatches search"| node_linkedin_search
node_router -->|"dispatches qualification"| node_qualification
node_linkedin_search -->|"searches profiles"| node_google
node_apollo -->|"stores leads"| node_airtable
node_linkedin_search -->|"stores profiles"| node_airtable
node_profile_enrichment -->|"fetches and updates"| node_airtable
node_profile_enrichment -->|"scrapes profiles"| node_apify
node_qualification -->|"fetches and updates"| node_airtable
node_qualification -->|"requests research"| node_website_research
node_website_research -->|"finds website data"| node_tavily
node_qualification -->|"requests ICP scoring"| node_gemini

click node_webhook "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"
click node_router "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"
click node_apollo "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"
click node_linkedin_search "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"
click node_profile_enrichment "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"
click node_website_research "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"
click node_qualification "https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_webhook,node_router toneBlue
class node_apollo,node_google,node_linkedin_search toneAmber
class node_profile_enrichment,node_apify,node_website_research,node_tavily,node_qualification,node_gemini toneMint
class node_airtable toneRose
class node_user toneIndigo
```

## Components

### Workflow routing

- [Webhook trigger](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`
- [Action router](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`

### Lead acquisition

- [Apollo scraper](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`
- **Google Search**
- [LinkedIn profile search](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`

### Enrichment and qualification

- [Profile enrichment](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`
- **Apify scraper**
- [Website research](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`
- **Tavily search**
- [ICP qualification](https://github.com/awaisali36/50k-lead-generation-system/blob/main/n8n%20workflow/Lead%20Generation%20System.json): `n8n workflow/Lead Generation System.json`
- **Google Gemini**

### Lead data

- **Airtable lead store**

### Other components

- **Campaign caller**

## Connections

- Campaign caller → Webhook trigger: submits action (evidence: `README.md`)
- Webhook trigger → Action router: routes request (evidence: `README.md`)
- Action router → Apollo scraper: dispatches scrape (evidence: `README.md`)
- Action router → Profile enrichment: dispatches enrichment (evidence: `README.md`)
- Action router → LinkedIn profile search: dispatches search (evidence: `README.md`)
- Action router → ICP qualification: dispatches qualification (evidence: `README.md`)
- LinkedIn profile search → Google Search: searches profiles (evidence: `README.md`)
- Apollo scraper → Airtable lead store: stores leads (evidence: `README.md`)
- LinkedIn profile search → Airtable lead store: stores profiles (evidence: `README.md`)
- Profile enrichment → Airtable lead store: fetches and updates (evidence: `README.md`)
- Profile enrichment → Apify scraper: scrapes profiles (evidence: `README.md`)
- ICP qualification → Airtable lead store: fetches and updates (evidence: `README.md`)
- ICP qualification → Website research: requests research (evidence: `README.md`)
- Website research → Tavily search: finds website data (evidence: `README.md`)
- ICP qualification → Google Gemini: requests ICP scoring (evidence: `README.md`)
