使用 AI、Gmail 和 Google Sheets 进行超个性化邮件推广
中级
这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 Gmail, HttpRequest, GoogleSheets, ManualTrigger, OpenAi 等节点。 利用 AI、Gmail 和 Google Sheets 实现超个性化邮件推广
前置要求
- •Google 账号和 Gmail API 凭证
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "LCSqIlPZdq3OmgH0",
"meta": {
"instanceId": "1a54c41d9050a8f1fa6f74ca858828ad9fb97b9fafa3e9760e576171c531a787"
},
"name": "使用AI、Gmail和Google Sheets进行超个性化邮件推广",
"tags": [],
"nodes": [
{
"id": "af621613-d8c3-411e-8f5b-26e08eb27133",
"name": "获取工作表中的行",
"type": "n8n-nodes-base.googleSheets",
"position": [
780,
920
],
"parameters": {
"options": {},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "{YOUR_SHEET_ID}",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/{YOUR_GOOGLE_SHEET_ID}/edit#gid=0",
"cachedResultName": "{YOUR_SHEET_NAME}"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "{YOUR_GOOGLE_DOCUMENT_ID}",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/{YOUR_GOOGLE_DOCUMENT_ID}/edit?usp=drivesdk",
"cachedResultName": "n8nEmail"
}
},
"typeVersion": 4.6
},
{
"id": "cf8bc124-04fd-4930-9040-6fc6ee6f25c4",
"name": "当点击“执行工作流”时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
240,
920
],
"parameters": {},
"typeVersion": 1
},
{
"id": "613fd1d4-ec8a-40be-9f31-ef64483acf87",
"name": "发送个性化邮件",
"type": "n8n-nodes-base.gmail",
"position": [
2700,
920
],
"webhookId": "{YOUR_WEBHOOK_ID}",
"parameters": {
"sendTo": "={{ $('Get row(s) in sheet').item.json['Email ID'] }}",
"message": "={{ $json.message.content }}",
"options": {
"appendAttribution": false
},
"subject": "=Re:{{ $('Get row(s) in sheet').item.json.Intent }}"
},
"typeVersion": 2.1
},
{
"id": "a40af7f9-b6f3-400e-ab4e-dd775003b733",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
60,
620
],
"parameters": {
"color": 5,
"width": 440,
"height": 280,
"content": "### 步骤1:启动对话!🟢📬"
},
"typeVersion": 1
},
{
"id": "b6a44211-9973-426f-970e-7cf92ba068cf",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
620,
1080
],
"parameters": {
"color": 3,
"width": 380,
"height": 480,
"content": "### 步骤2:表格扫描器已激活!📄🔍"
},
"typeVersion": 1
},
{
"id": "742daf1e-e03e-4aa5-a01f-6d7a89e562e9",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1900,
1120
],
"parameters": {
"color": 4,
"width": 420,
"height": 360,
"content": "### 步骤4:智能邮件撰写器✍️🤖"
},
"typeVersion": 1
},
{
"id": "41dad360-10ee-40f4-9e9b-1f2d490d2545",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
2520,
500
],
"parameters": {
"color": 6,
"width": 380,
"height": 400,
"content": "### 步骤5:点击发送✉️📨"
},
"typeVersion": 1
},
{
"id": "cfb4be86-d24c-4eb5-ab7e-649c851bbadc",
"name": "向模型发送消息",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1920,
920
],
"parameters": {
"modelId": {
"__rl": true,
"mode": "list",
"value": "{YOUR_OPENAI_MODEL}",
"cachedResultName": "{YOUR_OPENAI_MODEL_NAME}"
},
"options": {},
"messages": {
"values": [
{
"content": "=Write a professional and friendly email reply to {{ $('Get row(s) in sheet').item.json['First Name'] }} . Their intent is \"{{ $('Get row(s) in sheet').item.json.Intent }}\". They wrote: \"{{ $('Get row(s) in sheet').item.json['Why They Sent Email'] }}\". Make the response specific to their message and helpful.No need to add the subject line. Generate in HTML formatting.\nThe footer signature should be of the following format\nThanks,\n{{ $json.sendAs[0].displayName }}\n"
}
]
}
},
"typeVersion": 1.8
},
{
"id": "e2b7d857-9ebb-4bff-914c-c7c8c4c87de2",
"name": "HTTP请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
1320,
920
],
"parameters": {
"url": "https://gmail.googleapis.com/gmail/v1/users/me/settings/sendAs",
"options": {},
"authentication": "predefinedCredentialType",
"nodeCredentialType": "gmailOAuth2"
},
"typeVersion": 4.2,
"alwaysOutputData": true
},
{
"id": "c9140451-b3db-433e-9fc4-9c7ff088c455",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1100,
560
],
"parameters": {
"width": 420,
"height": 340,
"content": "### 步骤3:签名同步🖋️📛"
},
"typeVersion": 1
},
{
"id": "da2db045-a86c-4735-bc81-b5d69df1b28a",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
20,
0
],
"parameters": {
"color": 4,
"width": 480,
"height": 520,
"content": "## 🛠️ 先决条件"
},
"typeVersion": 1
},
{
"id": "50b85307-3566-4b05-b7a7-459864f53362",
"name": "### 需要帮助?",
"type": "n8n-nodes-base.stickyNote",
"position": [
2740,
1120
],
"parameters": {
"color": 6,
"width": 420,
"content": "### 支持"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6da9d4a4-381a-4ecf-bb5d-d92075e7be16",
"connections": {
"HTTP Request": {
"main": [
[
{
"node": "Message a model",
"type": "main",
"index": 0
}
]
]
},
"Message a model": {
"main": [
[
{
"node": "Send Personalized emails",
"type": "main",
"index": 0
}
]
]
},
"Get row(s) in sheet": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Get row(s) in sheet",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 客户培育, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
CB资助公司及信息丰富
自动化潜在客户生成与邮件外联:Apify、Apollo.io、GPT-4和Google Sheets
If
Code
Merge
+8
32 节点Intuz
潜在客户开发
我的冷邮件生成器
使用Anthropic、GPT-4和谷歌表格生成个性化冷邮件
If
Set
Code
+10
24 节点Bhuvanesh R
客户培育
使用Apify、Google Gemini和Sheets实时自动化Upwork提案生成
使用Apify、Google Gemini和Sheets自动化AI Upwork提案生成
If
Set
Gmail
+8
25 节点Intuz
潜在客户开发
使用Apify、Apollo.io和Google Gemini自动化LinkedIn职位AI驱动潜在客户生成
自动化LinkedIn职位潜在客户生成:Apify、Apollo.io和Google Gemini
If
Code
Limit
+11
47 节点Intuz
潜在客户开发
自动化高级潜在客户触达与培育活动系统(含AI)
通过GPT-4、LinkedIn和Hunter.io自动化个性化B2B触达
If
Code
Wait
+9
30 节点Marth
客户培育
自动化潜在客户捕获、AI资质鉴定及ElevenLabs个性化语音跟进
基于 OpenAI 和 ElevenLabs 的自动化线索捕获与 AI 个性化语音跟进
If
Set
Code
+10
22 节点Marth
客户培育
工作流信息
难度等级
中级
节点数量12
分类2
节点类型6
作者
Intuz
@intuzWorkflow automation can help automate your routine activities and help saves $$$, as well as hours of time. As a boutique tech consulting company, Intuz help businesses with custom AI/ML, AI Workflow Automations, and software development. Automate your business workflow for: Sales Marketing Accounting Finance Operations E-Commerce Customer Support Admin & Backoffice Logistics & Supply Chain
外部链接
在 n8n.io 查看 →
分享此工作流