The Recap AI - 邮箱抓取器
中级
这是一个Lead Generation领域的自动化工作流,包含 10 个节点。主要使用 If, Set, Wait, FormTrigger, HttpRequest 等节点。 使用Firecrawl从任意网站提取公共邮箱地址
前置要求
- •可能需要目标 API 的认证凭证
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "995Zs4albP6ZWzOD",
"meta": {
"instanceId": "06e5009344f682419c20ccd4ecdcb5223bbb91761882af93ac6d468dbc2cbf8d"
},
"name": "The Recap AI - 邮箱抓取器",
"tags": [
{
"id": "aZMw5JzELHKfaOAb",
"name": "YouTube Video",
"createdAt": "2025-06-09T22:48:17.291Z",
"updatedAt": "2025-06-09T22:48:17.291Z"
}
],
"nodes": [
{
"id": "579a6ba6-3b53-4113-a497-f58bad82141a",
"name": "表单触发器",
"type": "n8n-nodes-base.formTrigger",
"position": [
0,
0
],
"webhookId": "7507734f-cf1f-49d5-a996-0bcd1bc7bebf",
"parameters": {
"options": {},
"formTitle": "Email Scraper",
"formFields": {
"values": [
{
"fieldLabel": "Website Url",
"placeholder": "https://aitools.inc",
"requiredField": true
}
]
}
},
"typeVersion": 2.2
},
{
"id": "5aaea2b9-796c-4540-9a10-ef667a23df21",
"name": "网站地图",
"type": "n8n-nodes-base.httpRequest",
"maxTries": 5,
"position": [
240,
0
],
"parameters": {
"url": "https://api.firecrawl.dev/v1/map",
"method": "POST",
"options": {},
"jsonBody": "={\n \"url\": \"{{ $json['Website Url'] }}\",\n \"search\": \"about contact company authors team\",\n \"limit\": 5\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "vOYFxLc6HUcni7SU",
"name": "Firecrawl"
}
},
"retryOnFail": true,
"typeVersion": 4.2,
"waitBetweenTries": 5000
},
{
"id": "5634b31e-a44a-4ec4-b03a-63489c252afc",
"name": "开始批量抓取",
"type": "n8n-nodes-base.httpRequest",
"position": [
500,
0
],
"parameters": {
"url": "https://api.firecrawl.dev/v1/batch/scrape",
"method": "POST",
"options": {},
"jsonBody": "={\n \"urls\": {{ JSON.stringify($json.links) }},\n \"formats\": [\"markdown\", \"json\"],\n \"proxy\": \"stealth\",\n \"jsonOptions\": {\n \"prompt\": \"Extract every unique, fully-qualified email address found in the supplied web page. Normalize common obfuscations where “@” appears as “(at)”, “[at]”, “{at}”, “ at ”, “@” and “.” appears as “(dot)”, “[dot]”, “{dot}”, “ dot ”, “.”. Convert variants such as “user(at)example(dot)com” or “user at example dot com” to “user@example.com”. Ignore addresses hidden inside HTML comments, <script>, or <style> blocks. Deduplicate case-insensitively. The addresses shown in the example output below (e.g., “user@example.com”, “info@example.com”, “support@sample.org”) are placeholders; include them only if they genuinely exist on the web page.\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"email_addresses\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"string\",\n \"format\": \"email\",\n \"description\": \"A valid email address found and extracted from the page\"\n },\n \"description\": \"An array of all email addresses found on the web page\"\n }\n },\n \"required\": [\"emails\"]\n }\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "vOYFxLc6HUcni7SU",
"name": "Firecrawl"
}
},
"typeVersion": 4.2
},
{
"id": "d677a2d7-a291-4602-a8a2-98e551f5fe01",
"name": "检查重试次数",
"type": "n8n-nodes-base.if",
"position": [
1580,
160
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "7e16bcbe-7ea6-48ca-b98e-5b0ec18be8c3",
"operator": {
"type": "number",
"operation": "gte"
},
"leftValue": "={{ $runIndex }}",
"rightValue": 12
}
]
}
},
"typeVersion": 2.2
},
{
"id": "b699b42c-3442-483e-9bd8-e69ce16b26ae",
"name": "尝试次数过多错误",
"type": "n8n-nodes-base.stopAndError",
"position": [
1900,
240
],
"parameters": {
"errorMessage": "Too many retries when attempting to scrape website."
},
"typeVersion": 1
},
{
"id": "2b1fd9bf-c226-4a22-a875-1440504435fc",
"name": "频率限制等待",
"type": "n8n-nodes-base.wait",
"position": [
760,
0
],
"webhookId": "3a93d231-a459-4747-b124-4229372407a8",
"parameters": {},
"typeVersion": 1.1
},
{
"id": "f2945391-a9ea-4aec-94f5-186c2e28cd15",
"name": "设置结果",
"type": "n8n-nodes-base.set",
"position": [
1900,
-20
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "9efaad04-014a-45a4-9760-1b3edbf51c8d",
"name": "scraped_email_addresses",
"type": "array",
"value": "={{\n ($node[\"fetch_scrape_results\"].json.data || [])\n .flatMap(item => item?.json?.email_addresses || [])\n .filter(email => typeof email === 'string' && email.trim())\n}}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "6fb1c4bb-a72e-4dc4-a063-15fb5162b57f",
"name": "检查抓取完成状态",
"type": "n8n-nodes-base.if",
"position": [
1300,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "cc296f33-b896-49c7-898c-4d8b5f11266a",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "completed"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "aaaaf352-57cc-4730-ab62-56f4b1aad551",
"name": "获取抓取结果",
"type": "n8n-nodes-base.httpRequest",
"position": [
1020,
0
],
"parameters": {
"url": "=https://api.firecrawl.dev/v1/batch/scrape/{{ $('start_batch_scrape').item.json.id }}",
"options": {},
"sendHeaders": true,
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "vOYFxLc6HUcni7SU",
"name": "Firecrawl"
}
},
"typeVersion": 4.2
},
{
"id": "f0600496-0938-4c85-b65c-5b15168634c6",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-260
],
"parameters": {
"color": 4,
"width": 2180,
"height": 700,
"content": "## 抓取公共邮箱地址"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "b60e2fc9-92f0-4af6-b152-ad5c4dd674c7",
"connections": {
"set_result": {
"main": [
[]
]
},
"map_website": {
"main": [
[
{
"node": "start_batch_scrape",
"type": "main",
"index": 0
}
]
]
},
"form_trigger": {
"main": [
[
{
"node": "map_website",
"type": "main",
"index": 0
}
]
]
},
"rate_limit_wait": {
"main": [
[
{
"node": "fetch_scrape_results",
"type": "main",
"index": 0
}
]
]
},
"check_retry_count": {
"main": [
[
{
"node": "too_many_attempts_error",
"type": "main",
"index": 0
}
],
[
{
"node": "rate_limit_wait",
"type": "main",
"index": 0
}
]
]
},
"start_batch_scrape": {
"main": [
[
{
"node": "rate_limit_wait",
"type": "main",
"index": 0
}
]
]
},
"fetch_scrape_results": {
"main": [
[
{
"node": "check_scrape_completed",
"type": "main",
"index": 0
}
]
]
},
"check_scrape_completed": {
"main": [
[
{
"node": "set_result",
"type": "main",
"index": 0
}
],
[
{
"node": "check_retry_count",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 潜在客户开发
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Recap AI - Veo 3.1 电商产品动画生成器
基于Veo 3.1的电商产品目录AI视频生成器
If
Set
Wait
+10
18 节点Lucas Walter
内容创作
Recap AI - 电商视频生成器
使用 Sora 2 和 Gemini 为电商生成 UGC 营销视频
If
Set
Wait
+13
24 节点Lucas Walter
Recap AI - Veo 3大脚怪视频生成器
使用Veo 3生成病毒式大脚怪视频博客
If
Set
Wait
+11
26 节点Lucas Walter
人工智能
Recap AI - YouTube视频剪辑器
使用Vizard AI从YouTube视频生成病毒式TikTok/IG Reel片段
If
Set
Wait
+6
12 节点Lucas Walter
内容创作
潜在客户开发与邮件工作流
使用Google Maps、SendGrid和AI自动化B2B潜在客户开发与邮件营销
If
Set
Code
+21
141 节点Ezema Kingsley Chibuzo
潜在客户开发
AI潜在客户挖掘智能体
使用Apify、AI和Gmail的自动化潜在客户生成与冷邮件发送
If
Set
Wait
+11
20 节点Rakin Jakaria
潜在客户开发
工作流信息
难度等级
中级
节点数量10
分类1
节点类型7
作者
Lucas Walter
@lucaswalterChief Automation Officer at The Recap AI. I build the AI systems and agents that power our business and teach others how to use n8n. Check out our YouTube channel linked below!
外部链接
在 n8n.io 查看 →
分享此工作流