Beginner lead finder using SerpAPI search
UnknownWhat this workflow does
This AI workflow has 12 nodes and runs manually, when you click “Execute workflow”. Along the way it connects OpenAI Chat Model and Serpapi (community).
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Set Topic (Edit Fields (Set)): sets 1 field: Topic
- Search Google (top 10) (Serp Api): uses Serp Api
- Search Google (11-20) (Serp Api): uses Serp Api
- Extract Url (Code): runs custom JavaScript code
- Extract Url (Code): runs custom JavaScript code
- Append Results (Merge): merges the data from its input branches
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Scrape URL with apify (HTTP Request): calls an HTTP API (POST)
- Extract Email from webpage (AI Agent): runs an AI agent, with model: OpenAI Chat Model; output parser: Structured Output Parser
Services it uses
Other Apify + OpenAI templates (230) · Other SerpApi + OpenAI templates (50) · Other SerpApi + Apify templates (6)
Before you upgrade to n8n 3.0
We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).
- Check that n8n-nodes-serpapi is verified or supports 3.0 (used in Search Google (top 10), Search Google (11-20)).
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (10)
- OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Manual Trigger
n8n-nodes-base.manualTrigger - Edit Fields (Set)
n8n-nodes-base.set - Serp Api
n8n-nodes-serpapi.serpApi - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent
From the author
This n8n workflow finds experts on any topic, scrapes their websites, and pulls out contact emails automatically. Core services used: SerpAPI (google search) · Apify (website crawler) · OpenAI (GPT-4o email extraction). --- 🛠️ Step-by-Step Setup & Execution…