This workflow corresponds to n8n.io template #16237 — we link there as the canonical source.
This workflow follows the Agent → Gmail 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 →
{
"id": "hqkZA2bATeAi0419",
"meta": {
"templateId": "7155",
"templateCredsSetupCompleted": true
},
"name": "Automated B2B Lead Finder Workflow with n8n and SerpAPI",
"tags": [],
"nodes": [
{
"id": "28bd0a8c-95cb-481b-8e93-79770e9b44cc",
"name": "Get last run",
"type": "n8n-nodes-apify.apify",
"position": [
1904,
688
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e1e31e0d-7173-40b5-95df-48420b27c40d",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
464,
448
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "b3507780-5405-4589-9975-c917998cf679",
"name": "Anthropic Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
"position": [
2176,
656
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "f6bfe060-43ac-4146-bafd-00090c5e7328",
"name": "Gmail Report",
"type": "n8n-nodes-base.gmail",
"position": [
2064,
176
],
"parameters": {},
"executeOnce": true,
"typeVersion": 2.1
},
{
"id": "b30ebe59-6b47-42a7-96b1-a593053010a0",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-80,
224
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "a5439655-5b22-42b2-937e-cba155108d18",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
448,
368
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "454241e6-82f5-44ca-98e7-0cdb4c814612",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
816,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ad70bf98-f8d6-460e-bfac-3d073e783bb0",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
816,
80
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "f579a077-50fe-4595-8553-12ecece3fbce",
"name": "Sticky Note5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1088,
272
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "078daeda-16a4-4255-be40-67e0bb473f35",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
1856,
128
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "575cb68f-70e0-4cac-a8dc-25a7deba2945",
"name": "HTTP (Get Lead Data Using SerpApi)",
"type": "n8n-nodes-base.httpRequest",
"position": [
880,
128
],
"parameters": {},
"typeVersion": 4.3
},
{
"id": "e14ad342-76a7-4227-a950-d45cc345867f",
"name": "SerpApi (Search Google (top 10))",
"type": "n8n-nodes-preview-serpapi.serpApi",
"onError": "continueRegularOutput",
"position": [
880,
352
],
"parameters": {},
"typeVersion": 1
},
{
"id": "8b11f8ed-8a6f-42dc-82d1-4fa6e6a7fd1e",
"name": "SerpApi (Search Google (11-20))",
"type": "n8n-nodes-preview-serpapi.serpApi",
"onError": "continueRegularOutput",
"position": [
880,
528
],
"parameters": {},
"typeVersion": 1
},
{
"id": "be1e7afd-b791-43ab-94be-daf8c23b01b0",
"name": "Set Your Topic",
"type": "n8n-nodes-base.set",
"position": [
656,
448
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4a0122a6-3ac2-4d0b-97fa-fe369ca9c638",
"name": "Code (Extract Url From SerpAPI 0-10)",
"type": "n8n-nodes-base.code",
"onError": "continueRegularOutput",
"position": [
1136,
352
],
"parameters": {},
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "3f92ad79-4829-43cd-8a99-578df75e259b",
"name": "Code (Extract Url From SerpAPI 11-20)",
"type": "n8n-nodes-base.code",
"onError": "continueRegularOutput",
"position": [
1136,
560
],
"parameters": {},
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "da2c21e0-7d55-4bc6-a695-ed911ebc6713",
"name": "Merge (Append All Results)",
"type": "n8n-nodes-base.merge",
"position": [
1360,
448
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "c01c5bf5-a98b-4ead-9797-cbf4b9c5f39b",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
1856,
400
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "56bcccd4-b43b-4614-af68-965f006f4442",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
2320,
704
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "dcdd0bba-3379-40d3-9d6c-893f0fe8539b",
"name": "AI (Extract Email from webpage)",
"type": "@n8n/n8n-nodes-langchain.agent",
"onError": "continueRegularOutput",
"position": [
2176,
464
],
"parameters": {},
"typeVersion": 2,
"alwaysOutputData": true
},
{
"id": "cec08431-626d-42c3-9ad4-ef76dc5954b9",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"onError": "continueRegularOutput",
"position": [
1552,
448
],
"parameters": {},
"typeVersion": 3
},
{
"id": "10774467-0641-4dc5-875b-7a8d5680baa5",
"name": "HTTPS (Scrape URL with Apify)",
"type": "n8n-nodes-base.httpRequest",
"onError": "continueRegularOutput",
"position": [
1904,
464
],
"parameters": {},
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "7c3cf552-17ab-4f4e-ada3-29217ddb8d7a",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
1856,
640
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "e3514927-9b42-47a1-8baa-5d6bc9890fc9",
"name": "Rapiwa (Send a WhatsApp message)",
"type": "n8n-nodes-rapiwa.rapiwa",
"position": [
1904,
176
],
"parameters": {},
"executeOnce": true,
"typeVersion": 1
},
{
"id": "2438c56e-6c18-4ec4-b907-74db3f247746",
"name": "Send a Telegram message",
"type": "n8n-nodes-base.telegram",
"position": [
2224,
176
],
"parameters": {},
"executeOnce": true,
"typeVersion": 1.2
}
],
"active": false,
"settings": {
"availableInMCP": false,
"executionOrder": "v1"
},
"versionId": "5ac197ba-c70e-48f7-9687-ff4c96be4569",
"connections": {
"Get last run": {
"main": [
[]
]
},
"Set Your Topic": {
"main": [
[
{
"node": "SerpApi (Search Google (11-20))",
"type": "main",
"index": 0
},
{
"node": "SerpApi (Search Google (top 10))",
"type": "main",
"index": 0
},
{
"node": "HTTP (Get Lead Data Using SerpApi)",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[
{
"node": "Send a Telegram message",
"type": "main",
"index": 0
},
{
"node": "Gmail Report",
"type": "main",
"index": 0
},
{
"node": "Rapiwa (Send a WhatsApp message)",
"type": "main",
"index": 0
}
],
[
{
"node": "HTTPS (Scrape URL with Apify)",
"type": "main",
"index": 0
},
{
"node": "Get last run",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Set Your Topic",
"type": "main",
"index": 0
}
]
]
},
"Anthropic Chat Model": {
"ai_languageModel": [
[
{
"node": "AI (Extract Email from webpage)",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "AI (Extract Email from webpage)",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Merge (Append All Results)": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"HTTPS (Scrape URL with Apify)": {
"main": [
[
{
"node": "AI (Extract Email from webpage)",
"type": "main",
"index": 0
}
]
]
},
"AI (Extract Email from webpage)": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"SerpApi (Search Google (11-20))": {
"main": [
[
{
"node": "Code (Extract Url From SerpAPI 11-20)",
"type": "main",
"index": 0
}
]
]
},
"SerpApi (Search Google (top 10))": {
"main": [
[
{
"node": "Code (Extract Url From SerpAPI 0-10)",
"type": "main",
"index": 0
}
]
]
},
"Code (Extract Url From SerpAPI 0-10)": {
"main": [
[
{
"node": "Merge (Append All Results)",
"type": "main",
"index": 0
}
]
]
},
"Code (Extract Url From SerpAPI 11-20)": {
"main": [
[
{
"node": "Merge (Append All Results)",
"type": "main",
"index": 1
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
This workflow runs on a schedule, searches Google via SerpApi for a chosen topic, scrapes the top results’ webpages with Apify, uses Anthropic Claude to extract email addresses from the page text, and sends a consolidated report through Gmail, Telegram, and WhatsApp (Rapiwa).…
Source: https://n8n.io/workflows/16237/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This n8n workflow is designed for content creators, digital marketers, and social media managers who want to automate their entire content creation and publishing process across multiple platforms. It
This n8n workflow automatically generates AI-powered content about local news and publishes it across multiple social media platforms. The workflow runs on a schedule, fetches the latest news about a
//ASMR AI Workflow
This advanced n8n workflow is designed for web developers, system administrators, security analysts, and agency owners who need to automate the monitoring of website security posture. It acts as a vir
This workflow is designed for Google Ads advertisers, PPC managers, and marketing teams who want to automatically monitor and optimize their search term performance. It's particularly valuable for tho