AI推荐语提取助手:将反馈转化为营销宝藏

中级

这是一个AI、Marketing、IT Ops领域的自动化工作流,包含 11 个节点。主要使用 Gmail、GoogleSheets、ChainLlm、GoogleSheetsTrigger、LmChatGoogleGemini 等节点,结合人工智能技术实现智能自动化。 AI推荐语提取代理:将反馈转化为营销宝藏

前置要求
  • Google 账号和 Gmail API 凭证
  • Google Sheets API 凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "GFNi9RFv4O8aZfzf",
  "meta": {
    "instanceId": "57c71fe69aec521b7d0bd3751d2e0aaa08f8884418e122571610a23c9eb8a65c"
  },
  "name": "AI 推荐语提取助手:将反馈转化为营销宝藏",
  "tags": [],
  "nodes": [
    {
      "id": "148abbeb-5366-4b37-8461-e7a5f9f12f1a",
      "name": "便利贴 - 辅助说明",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        940,
        560
      ],
      "parameters": {
        "color": 4,
        "width": 440,
        "height": 640,
        "content": "======================================="
      },
      "typeVersion": 1
    },
    {
      "id": "127a9a55-64e8-4798-ac2b-0b79c3d1db25",
      "name": "便利贴 - 描述",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        360
      ],
      "parameters": {
        "width": 480,
        "content": "工作流名称:推荐语提取器"
      },
      "typeVersion": 1
    },
    {
      "id": "aa56fe49-6cda-4d2f-853c-353c106fab01",
      "name": "Google Gemini 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -140,
        940
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "id": "cHiuNFEYYehlLyFW",
          "name": "Google Gemini(PaLM) Api account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "6c6861c2-8d0d-407a-9d9c-e477f33fcfe9",
      "name": "新表单响应触发器",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -260,
        580
      ],
      "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"
        }
      },
      "credentials": {
        "googleSheetsTriggerOAuth2Api": {
          "id": "HyhUBfOVRIuLMcGw",
          "name": "Google Sheets Trigger account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "24e5c25a-61f5-4543-a927-392ba5a69305",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -320,
        760
      ],
      "parameters": {
        "width": 220,
        "height": 80,
        "content": "当用户通过 Google 表单提交新反馈时启动工作流。"
      },
      "typeVersion": 1
    },
    {
      "id": "a8d7f6b3-41c1-43f2-9f11-d4102e3fe884",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        760
      ],
      "parameters": {
        "width": 220,
        "height": 80,
        "content": "使用 Gemini 从用户反馈中生成简洁的推荐语引文。"
      },
      "typeVersion": 1
    },
    {
      "id": "4245358e-744f-42f4-9cd6-fd32480684b5",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        300,
        760
      ],
      "parameters": {
        "width": 220,
        "height": 80,
        "content": "将原始反馈、提取的引文和用户信息存储到推荐语标签页。"
      },
      "typeVersion": 1
    },
    {
      "id": "9bcc0d37-c47e-4b89-b7bd-3f40baca27cf",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        760
      ],
      "parameters": {
        "width": 220,
        "height": 80,
        "content": "当新增推荐语时向营销团队发送邮件提醒。"
      },
      "typeVersion": 1
    },
    {
      "id": "fd4ec61f-6af7-423e-ac97-43c15d0c19f4",
      "name": "使用 Gemini 提取推荐语",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -40,
        580
      ],
      "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": "c72c0de6-cc21-4b9c-8bf8-b7aa6fd90d7b",
      "name": "保存提取的推荐语",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        320,
        580
      ],
      "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"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "pIXaxnRxnyRBTUfl",
          "name": "Google Sheets account 3"
        }
      },
      "typeVersion": 4.5
    },
    {
      "id": "64020a72-449b-489f-8a21-c2371f1af8f5",
      "name": "通知营销团队",
      "type": "n8n-nodes-base.gmail",
      "position": [
        540,
        580
      ],
      "webhookId": "acce1be8-39ab-4f30-8549-9e06614abbf3",
      "parameters": {
        "sendTo": "nataylamesa@gmail.com",
        "message": "={{ $json.text }}",
        "options": {},
        "subject": "New Testimonial Extracted"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "4xTRVs8hsWgrdhHr",
          "name": "Gmail account 2"
        }
      },
      "typeVersion": 2.1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "6a7b7d30-00a5-47eb-8d18-0a63adbbcbc7",
  "connections": {
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Extract Testimonial with Gemini",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "New Form Response Trigger": {
      "main": [
        [
          {
            "node": "Extract Testimonial with Gemini",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Extracted Testimonial": {
      "main": [
        [
          {
            "node": "Notify Marketing Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Testimonial with Gemini": {
      "main": [
        [
          {
            "node": "Save Extracted Testimonial",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

这是一个中级难度的工作流,适用于AI、Marketing、IT Ops等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量11
分类3
节点类型6
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
Yaron Been

Yaron Been

@yaron-nofluff

Building AI Agents and Automations | Growth Marketer | Entrepreneur | Book Author & Podcast Host

外部链接
在 n8n.io 上查看 →

分享此工作流