This is an n8n workflow that automates B2B lead generation. It uses Google Search to find business websites, then collects and verifies contact emails. It runs every 4 hours or can be started manually.
Each run picks a random country and business category and builds a Google search query from them. API credentials are chosen depending on the hour. The Google Custom Search API returns unique business website domains and URLs. The workflow checks them against a "Processed_URLs" Google Sheet to skip any URL already handled.
An OpenRouter-hosted AI model works with Hunter.io and Firecrawl to scrape data. Emails are verified through regex extraction and Snov.io, with a pingutil.com fallback. New verified emails are checked against an existing "Leads" Google Sheet so they are unique before they are appended. Each processed URL is recorded, and the workflow waits 3 seconds between requests to manage rate limits. It also compiles run statistics for performance tracking.
- Type
- n8n workflow for B2B lead generation
- Trigger
- Every 4 hours, or manual start
- Search
- Google Custom Search API with a random country and business category
- Email verification
- Regex extraction, Snov.io, pingutil.com fallback
- Data sources
- Hunter.io, Firecrawl
- AI model
- OpenRouter-hosted (OpenAI-compatible)
- Storage
- Google Sheets: "Processed_URLs" and "Leads"
- Rate limiting
- 3-second wait between requests
- Nodes used
- if, code, wait, sticky note, http request, Google Sheets
- Integrations
- OpenRouter, Google Sheets OAuth2, Google Custom Search API, Hunter.io, Firecrawl, Snov.io
- Intended users
- n8n users, automation engineers, SaaS operators