使用Gemini AI和Google Sheets从反馈中提取营销推荐
中级
这是一个AI, Marketing领域的自动化工作流,包含 7 个节点。主要使用 Gmail, GoogleSheets, ChainLlm, GoogleSheetsTrigger, LmChatGoogleGemini 等节点,结合人工智能技术实现智能自动化。 使用Gemini AI和Google Sheets从反馈中提取营销推荐
前置要求
- •Google 账号和 Gmail API 凭证
- •Google Sheets API 凭证
- •Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "5aaf4236c70e34e423fbdb2c7b754d19253a933bb1476d548f75848a01e473cf",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "afcb0c52-765f-48be-a523-ede984a607eb",
"name": "便签 - 协助",
"type": "n8n-nodes-base.stickyNote",
"position": [
-740,
740
],
"parameters": {
"color": 4,
"width": 560,
"height": 900,
"content": "======================================="
},
"typeVersion": 1
},
{
"id": "648b0ae3-13aa-429b-b516-de12dfe8a96b",
"name": "便签 - 描述",
"type": "n8n-nodes-base.stickyNote",
"position": [
-140,
920
],
"parameters": {
"width": 480,
"height": 500,
"content": "工作流名称:推荐语提取器"
},
"typeVersion": 1
},
{
"id": "cef904bc-df66-4ac8-b013-5d5bb0f6993c",
"name": "Google Sheets 触发器",
"type": "n8n-nodes-base.googleSheetsTrigger",
"position": [
160,
1120
],
"parameters": {
"event": "rowAdded",
"options": {},
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": 352165437,
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/14nmSXdGURNj3a1uQsxNcspdN5HrjGl8TA8t-hdQUF2s/edit#gid=352165437",
"cachedResultName": "Form Responses 1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "14nmSXdGURNj3a1uQsxNcspdN5HrjGl8TA8t-hdQUF2s",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/14nmSXdGURNj3a1uQsxNcspdN5HrjGl8TA8t-hdQUF2s/edit?usp=drivesdk",
"cachedResultName": "Testimonial"
}
},
"typeVersion": 1
},
{
"id": "dc335413-fce4-46c7-996d-c5f014a0abbc",
"name": "基础 LLM 链",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
480,
960
],
"parameters": {
"text": "=Extract a short, emotionally engaging testimonial quote from the following user feedback. Ignore neutral or irrelevant text. Only return the quote.\n\"{{ $json.Feedback }}\"\n\nFeedback: \"{{ $json[\"Feedback\"] }}\"\n",
"promptType": "define"
},
"typeVersion": 1.5
},
{
"id": "63b58b70-0ab0-4395-8aff-517769159578",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
980,
1360
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.0-flash"
},
"typeVersion": 1
},
{
"id": "ba7da0dc-1bcf-4214-8c7b-8d94361981c2",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
1140,
1120
],
"parameters": {
"columns": {
"value": {},
"schema": [
{
"id": "Timestamp",
"type": "string",
"display": true,
"required": false,
"displayName": "Timestamp",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Name",
"type": "string",
"display": true,
"required": false,
"displayName": "Name",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Email",
"type": "string",
"display": true,
"required": false,
"displayName": "Email",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Feedback",
"type": "string",
"display": true,
"required": false,
"displayName": "Feedback",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Testimony",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "Testimony",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "text",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "text",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "autoMapInputData",
"matchingColumns": [
"Testimony"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "appendOrUpdate",
"sheetName": {
"__rl": true,
"mode": "list",
"value": 352165437,
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/14nmSXdGURNj3a1uQsxNcspdN5HrjGl8TA8t-hdQUF2s/edit#gid=352165437",
"cachedResultName": "Form Responses 1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "14nmSXdGURNj3a1uQsxNcspdN5HrjGl8TA8t-hdQUF2s",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/14nmSXdGURNj3a1uQsxNcspdN5HrjGl8TA8t-hdQUF2s/edit?usp=drivesdk",
"cachedResultName": "Testimonial"
}
},
"typeVersion": 4.5
},
{
"id": "a9a74795-0688-4514-85fe-3146a30bb9c1",
"name": "Gmail",
"type": "n8n-nodes-base.gmail",
"position": [
1380,
1020
],
"webhookId": "acce1be8-39ab-4f30-8549-9e06614abbf3",
"parameters": {
"sendTo": "nataylamesa@gmail.com",
"message": "={{ $json.text }}",
"options": {},
"subject": "New Testimonial Extracted"
},
"typeVersion": 2.1
}
],
"pinData": {},
"connections": {
"Google Sheets": {
"main": [
[
{
"node": "Gmail",
"type": "main",
"index": 0
}
]
]
},
"Basic LLM Chain": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets Trigger": {
"main": [
[
{
"node": "Basic LLM Chain",
"type": "main",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "Basic LLM Chain",
"type": "ai_languageModel",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
AI推荐语提取助手:将反馈转化为营销宝藏
AI推荐语提取代理:将反馈转化为营销宝藏
Gmail
Google Sheets
Chain Llm
+3
11 节点Yaron Been
人工智能
AI YouTube分析助手:评论分析与洞察报告
AI YouTube分析助手:评论分析器与洞察报告生成器
If
Set
Code
+9
19 节点Yaron Been
人工智能
抓取竞品评论并使用 Bright Data 和 OpenAI 生成广告创意
抓取竞品评论并使用 Bright Data 和 OpenAI 生成广告创意
If
Wait
Gmail
+8
17 节点Yaron Been
产品
使用 Bright Data 和 GPT-4o-mini 抓取 Trustpilot 评论以制作成功广告文案
使用 Bright Data 和 GPT-4o-mini 抓取 Trustpilot 评论以制作成功广告文案
If
Wait
Gmail
+8
18 节点Yaron Been
人工智能
入职
AI客户入职代理:自动欢迎邮件生成器
Set
Gmail
Error Trigger
+6
20 节点Yaron Been
客户支持
入职流程
AI客户入职代理:自动欢迎邮件生成器
Set
Gmail
Error Trigger
+6
11 节点Yaron Been
客户支持
工作流信息
难度等级
中级
节点数量7
分类2
节点类型6
作者
Yaron Been
@yaron-nofluffBuilding AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host
外部链接
在 n8n.io 查看 →
分享此工作流