8
n8n 中文网amn8n.com

GPT-5 销售代表入站线索

中级

这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Gmail, FormTrigger, Agent, TavilyTool, LmChatOpenAi 等节点。 基于GPT-4、Tavily研究和Gmail的自动化销售跟进

前置要求
  • Google 账号和 Gmail API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "JRk4BidOsJmNYCz3",
  "meta": {
    "instanceId": "1c7b08fed4406d546caf4a44e8b942ca317e7e207bb9a5701955a1a6e1ce1843",
    "templateCredsSetupCompleted": true
  },
  "name": "GPT-5 销售代表入站线索",
  "tags": [],
  "nodes": [
    {
      "id": "5c469742-7089-4322-9d7f-363d89bc8e84",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -140,
        0
      ],
      "parameters": {
        "options": {},
        "formTitle": "Business Inquiry",
        "formFields": {
          "values": [
            {
              "fieldLabel": "First Name",
              "requiredField": true
            },
            {
              "fieldLabel": "Last Name",
              "requiredField": true
            },
            {
              "fieldLabel": "Business URL",
              "requiredField": true
            },
            {
              "fieldType": "email",
              "fieldLabel": "Email",
              "requiredField": true
            },
            {
              "fieldType": "number",
              "fieldLabel": "Phone Number (Optional)"
            },
            {
              "fieldLabel": "How can we help you?"
            }
          ]
        },
        "formDescription": "Thank you for your inquiry, we'll get back to you soon!"
      },
      "typeVersion": 2.2
    },
    {
      "id": "530607dd-d303-41a3-94f3-a4c89e4c6a66",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        80,
        300
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5",
          "cachedResultName": "gpt-5"
        },
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "648633b1-b8c2-437f-9384-ce9e9e170675",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        260,
        300
      ],
      "parameters": {
        "sessionKey": "={{ $workflow.id }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "a4aaf6f0-409a-41e6-94f5-99a69f47f126",
      "name": "Tavily",
      "type": "@tavily/n8n-nodes-tavily.tavilyTool",
      "position": [
        400,
        300
      ],
      "parameters": {
        "query": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Query', ``, 'string') }}",
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "36bf640f-df08-4abd-b7a1-592ef2fff1d2",
      "name": "多表:您可以连接多个表以实现有组织的数据结构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        540,
        300
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"Subject Line\": \"Hello from Purple Unicorn Marketing\",\n\t\"Body\": \"Hey Jake, this is bob from Purpler Unicorn Marketing. Thank you for your inquiry, booking a meeting with me here: www.calendly.com/book-now\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "1c4e1648-934d-49cc-b645-beb11522ddfe",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        760,
        0
      ],
      "parameters": {
        "sendTo": "={{ $('On form submission').item.json.Email }}",
        "message": "={{ $json.output.Body }}",
        "options": {},
        "subject": "={{ $json.output['Subject Line'] }}",
        "emailType": "text"
      },
      "typeVersion": 2.1
    },
    {
      "id": "6b471a24-6145-47f3-aa19-88aaf1120b63",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -120
      ],
      "parameters": {
        "width": 260,
        "height": 640,
        "content": "表单提交触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "77a38bef-3f32-48f9-9339-b7071fd1fa03",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -120
      ],
      "parameters": {
        "color": 5,
        "width": 640,
        "height": 640,
        "content": "GPT-5 入站线索研究与邮件撰写代理"
      },
      "typeVersion": 1
    },
    {
      "id": "972490fa-d89c-448b-bc99-62308159833a",
      "name": "GPT-5 研究与文案撰写",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        0
      ],
      "parameters": {
        "text": "=First Name: {{ $json['First Name'] }}\nLast Name: {{ $json['Last Name'] }}\nBusiness URL: {{ $json['Business URL'] }}\nEmail: {{ $json.Email }}\nPhone Number: {{ $json['Phone Number (Optional)'] }}\nHow Can We Help:{{ $json['How can we help you?'] }}",
        "options": {
          "systemMessage": "You are an effective inbound lead email agent. Your role is to research on the lead's business information and lead's problem statement to craft a personalized email to be sent to the leads with the goal of booking a meeting at www.calendly.com/book-now. Use a friendly tone which is welcoming and easy to read, clear call to action. \n\n#Tool\nUse the Tavily tool to carry out online research that will help your email to the lead.\n\n##Output\nOutput the email subject line and body in separated JSON Object forma. \n"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2
    },
    {
      "id": "b288c417-12e7-4c66-82c1-5a9bdb5a10b3",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        700,
        -120
      ],
      "parameters": {
        "color": 4,
        "width": 320,
        "height": 640,
        "content": "发送邮件节点"
      },
      "typeVersion": 1
    },
    {
      "id": "905eaacd-4e12-44c3-81dc-6af2e784dd6a",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        -120
      ],
      "parameters": {
        "color": 2,
        "width": 560,
        "height": 960,
        "content": "🚀 GPT-5 AI 线索研究与自动邮件代理 – 即时个性化跟进入站线索"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "6c9196b0-6c64-4c79-a10f-8a63420da7bd",
  "connections": {
    "Tavily": {
      "ai_tool": [
        [
          {
            "node": "GPT-5 Research & Copywriting",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "GPT-5 Research & Copywriting",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "GPT-5 Research & Copywriting",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "GPT-5 Research & Copywriting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "GPT-5 Research & Copywriting",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "GPT-5 Research & Copywriting": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 客户培育, 多模态 AI

需要付费吗?

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

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

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

作者
Automate With Marc

Automate With Marc

@marconi

Automating Start-Up and Business processes. Helping non-techies understand and leverage Agentic AI with easy to understand step-by-step tutorials. Check out my educational content: https://www.youtube.com/@Automatewithmarc

外部链接
在 n8n.io 查看

分享此工作流