使用网站抓取、GPT-4o 和 Gmail 的个性化感谢邮件
中级
这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Wait, Gmail, Markdown, HttpRequest, TypeformTrigger 等节点。 使用网站抓取、GPT-4o 和 Gmail 的个性化感谢邮件
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "a88d54d0dc140647df8f628579b3d5aae0dedb13c983a1f5c11ee14f54f18774",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "11e4e4bf-3381-445e-9b0a-a1d96d741b1a",
"name": "Markdown",
"type": "n8n-nodes-base.markdown",
"position": [
460,
0
],
"parameters": {
"html": "={{ $json.data }}",
"options": {}
},
"typeVersion": 1
},
{
"id": "4e033490-ea17-4500-99f3-94c86b6860d8",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
1620,
0
],
"webhookId": "faf86b8c-c20b-4a20-9193-96bf076f40cd",
"parameters": {
"sendTo": "={{ $('Intake Form Submitted').item.json.Email }}",
"message": "=Hey {{ $('Intake Form Submitted').item.json['First name'].split(\" \").first() }}, I just got your form submission.\n<br><br>\n{{ $json.message.content }} Thanks for getting in touch, looking forward to chatting with you later. \n<br>Feel free to reach out if you have any questions:)\n<br><br>\nBest,<br>\nAbdul",
"options": {
"appendAttribution": false
},
"subject": "=Thanks for reaching out"
},
"credentials": {
"gmailOAuth2": {
"id": "C3I7lGaMkl8s8Uu6",
"name": "builtbyabdul"
}
},
"typeVersion": 2.1
},
{
"id": "053a900d-9097-4713-b859-7f956aafca32",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
-100
],
"parameters": {
"color": 6,
"width": 1040,
"height": 320,
"content": "## 申请表提交 → 获取网站内容"
},
"typeVersion": 1
},
{
"id": "f55e9c3b-24ab-46da-9651-cd11ce7c357d",
"name": "Wait",
"type": "n8n-nodes-base.wait",
"position": [
1400,
0
],
"webhookId": "1618053a-d236-4f77-9853-b5c9a512fcfd",
"parameters": {
"amount": 250
},
"typeVersion": 1.1
},
{
"id": "b783788e-7228-4a7f-9788-b37cd037e540",
"name": "申请表已提交",
"type": "n8n-nodes-base.typeformTrigger",
"position": [
0,
0
],
"webhookId": "45a33be7-7618-443c-8297-231714e746b1",
"parameters": {
"formId": "LlUNhoPN"
},
"credentials": {
"typeformApi": {
"id": "tT8tz4T2LA6ZGIaL",
"name": "Typeform account"
}
},
"typeVersion": 1.1
},
{
"id": "e1a7b783-7c11-4a9a-af9c-d05ade5fa333",
"name": "Scrape Website",
"type": "n8n-nodes-base.httpRequest",
"position": [
240,
0
],
"parameters": {
"url": "={{ $json['What\\'s your website URL?'] }}",
"options": {}
},
"typeVersion": 4.2
},
{
"id": "fa93ff64-dbf9-4a4a-9715-48dbe33cd84e",
"name": "Website Plain Copy",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
680,
0
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini",
"cachedResultName": "GPT-4O-MINI"
},
"options": {},
"messages": {
"values": [
{
"role": "system",
"content": "You're a helpful, intelligent web scraping assistant."
},
{
"content": "Your task is to take the raw markdown of a website and convert it into structured data using the following format:\n\n{\"plainTextWebsiteCopy\":\"a long string containing just the text of the site, no formatting\",\n\"oneLineSummary\":\"brief summary of what the website is and what it's about\"}"
},
{
"content": "=Markdown: {{ $json.data }}"
}
]
},
"jsonOutput": true
},
"credentials": {
"openAiApi": {
"id": "E9waf1c33TsN4RCh",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "0ead9204-97ca-422d-ad17-5bd9f5283d27",
"name": "Email Customization",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1040,
0
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "gpt-4o",
"cachedResultName": "GPT-4O"
},
"options": {},
"messages": {
"values": [
{
"role": "system",
"content": "=You are an intelligent email copy writing assistant"
},
{
"content": "=Below are details from a website scrape. Use it to customize an email to a prospect. Write in a short, succinct way, 1-2 sentences only.\nUse this template and (fill in the variables with data from the site). Output the email copy only and nothing else:\n\n\"(CompanyName) looks great, love your (uniqueValueProp/something interesting).\"\n\nRules:\n-Write in a casual human tone, don't just recite the text from the website. (\"love that you're in automation\" instead of \"love that you're helping small to medium plumbing businesses scale through automating their admin work\")\n-Keep it short\n-If you can't generate something, please output nothing.\n\n--\n\nWebsite Copy: {{ $json.message.content.plainTextWebsiteCopy }}\none line summary: {{ $json.message.content.oneLineSummary }}"
}
]
}
},
"credentials": {
"openAiApi": {
"id": "E9waf1c33TsN4RCh",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "a4321ddb-0673-4332-973a-b28515c918ba",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
-100
],
"parameters": {
"color": 6,
"width": 800,
"height": 320,
"content": "## 撰写\"定制化\"感谢邮件"
},
"typeVersion": 1
},
{
"id": "8b3fbe12-0037-46b0-8460-664c31be57d7",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-720,
-100
],
"parameters": {
"width": 620,
"height": 1260,
"content": "# 在表单提交后使用网站洞察发送个性化感谢邮件"
},
"typeVersion": 1
},
{
"id": "94f3c35a-c552-496c-ac87-397934418691",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-60,
260
],
"parameters": {
"color": 5,
"width": 440,
"height": 240,
"content": "## 你好,我是 Abdul 👋"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Wait": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
},
"Markdown": {
"main": [
[
{
"node": "Website Plain Copy",
"type": "main",
"index": 0
}
]
]
},
"Scrape Website": {
"main": [
[
{
"node": "Markdown",
"type": "main",
"index": 0
}
]
]
},
"Website Plain Copy": {
"main": [
[
{
"node": "Email Customization",
"type": "main",
"index": 0
}
]
]
},
"Email Customization": {
"main": [
[
{
"node": "Wait",
"type": "main",
"index": 0
}
]
]
},
"Intake Form Submitted": {
"main": [
[
{
"node": "Scrape Website",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客户培育, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用 Google Sheets 和 GPT 从网站数据创建 AI 驱动的个性化破冰话题
使用 Google Sheets 和 GPT 从网站数据创建 AI 驱动的个性化破冰话题
Wait
Limit
Markdown
+6
15 节点Abdul Mir
潜在客户开发
使用 PandaDoc、ClickUp CRM 和 Gmail 跟进创建 AI 驱动的销售提案
使用 PandaDoc、ClickUp CRM 和 Gmail 跟进创建 AI 驱动的销售提案
Gmail
Click Up
Http Request
+3
13 节点Abdul Mir
客户关系管理
Heygen入站智能体
使用 Heygen AI 和 GPT-4 通过个性化视频回复入站线索
If
Wait
Gmail
+6
16 节点Automate With Marc
客户培育
09 - 潜在客户档案增强器
自动化潜在客户信息丰富与个性化外联:HubSpot、Phantombuster和GPT
If
Set
Code
+11
30 节点Avkash Kakdiya
客户培育
自动化潜在客户生成与个性化外联:Apollo、AI和Instantly.ai
自动化潜在客户生成与个性化外联:Apollo、AI和Instantly.ai
If
Set
Code
+15
166 节点Ruben AI
客户培育
自动化高级潜在客户触达与培育活动系统(含AI)
通过GPT-4、LinkedIn和Hunter.io自动化个性化B2B触达
If
Code
Wait
+9
30 节点Marth
客户培育
工作流信息
难度等级
中级
节点数量11
分类2
节点类型7
作者
Abdul Mir
@abdulmirHey 👋 I'm Abdul. I build AI-powered systems for marketing agencies and consultants who want to move fast and automate the boring stuff. Think lead gen agents, proposal generators, and content creation systems. I specialize in growth-focused automations and share workflows that save time and land clients.
外部链接
在 n8n.io 查看 →
分享此工作流