8
n8n 中文网amn8n.com

使用Explorium MCP和GPT-4.1丰富Monday.com潜在客户并起草个性化邮件

高级

这是一个Lead Nurturing, Multimodal AI领域的自动化工作流,包含 28 个节点。主要使用 Set, Gmail, Webhook, MondayCom, ErrorTrigger 等节点。 使用Explorium MCP和GPT-4.1丰富Monday.com潜在客户数据并起草个性化邮件

前置要求
  • Google 账号和 Gmail API 凭证
  • HTTP Webhook 端点(n8n 会自动生成)
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "ca49a649cff334d4dc2badc0109f1718ecfce65b8ecc6e46df324506dd844436",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "ebe35d8a-7a78-4a7d-ad60-9f294936266a",
      "name": "公司研究员",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1696,
        464
      ],
      "parameters": {
        "text": "=Company name: {{ $json.company_name }}\nContact name: {{ $json.contact_name }}\nEmail address: {{ $json.email_address }}\nSpecial Comments from Salesperson: {{ $json.comments }}",
        "options": {
          "maxIterations": 12,
          "systemMessage": "=You are a research analyst helping a sales agent write a highly personalized inbound email. Your job is to generate a detailed research brief that explains:\n\n1. **What the company does**\n2. **What the recent business event is**, and why it's significant\n3. **How Automation might reflect on the company’s priorities, pain points, or growth goals**\n4. Any additional company or contact context that might be useful for crafting a relevant sales message\n\n## Guidelines:\n- Your response should be **detailed, structured, and accurate**\n- You are writing **for another AI**, so don't hold back on context — more is better\n- You can assume the contact already  know about 82Labs and it's capabilities, and more interested in knowing how to improve his KPIs and company using it's services.\n- Write in **natural language**, using clear, concise, informative sentences — not marketing fluff or speculation\n- Keep your tone objective and analytical\n- Avoid repeating generic phrases like “the company is innovative” unless supported by facts\n\n## Inputs:\n- From user prompt\n- From Explorium MCP tools\n\n## Output Structure:\nReturn your findings in 2-3 clear paragraphs. The first paragraph should describe the **main use case to solve in the company in detail** and explain why it may be relevant. The second should summarize what the **company does** and any other useful GTM signals (size, growth stage, recent changes, priorities, etc.).\n\nNow generate the research summary.\n"
        },
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "8db06649-9557-438b-829b-1b40863e7e0e",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -1728,
        144
      ],
      "parameters": {
        "width": 480,
        "height": 832,
        "content": "## 研究代理"
      },
      "typeVersion": 1
    },
    {
      "id": "b9175f90-d231-46f7-876a-a2628b12169f",
      "name": "响应 Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "disabled": true,
      "position": [
        -1520,
        -48
      ],
      "parameters": {
        "options": {},
        "respondWith": "json",
        "responseBody": "={\n  \"challenge\": \"{{ $json.body.challenge }}\"\n}"
      },
      "typeVersion": 1.4
    },
    {
      "id": "3878db05-659f-455d-8d60-a2e15ee32339",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -2224,
        -160
      ],
      "parameters": {
        "color": 5,
        "width": 460,
        "height": 1128,
        "content": "# 使用 Explorium MCP 和 GPT-4.1 为 Monday.com 进行 AI 线索丰富"
      },
      "typeVersion": 1
    },
    {
      "id": "33055d00-d826-4f74-8b87-20ebcbf09dfa",
      "name": "ChatGPT 4.1 - 2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1200,
        416
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "KFAwjhWN2Hk6Vvhy",
          "name": "General - OpenAi"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "3fefcb4b-5003-43ff-8540-6a3955f6e5e4",
      "name": "ChatGPT 4.1 - 1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1696,
        640
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "KFAwjhWN2Hk6Vvhy",
          "name": "General - OpenAi"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c5e2c4ab-0662-4be3-91e5-fb070fcef5fe",
      "name": "思考 - 2",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -1008,
        416
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e2ce976b-68e6-46cc-af76-246f42f9ab22",
      "name": "思考 - 1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -1408,
        640
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d21d9128-ac3e-46b6-a4b8-e6ee091fcf64",
      "name": "Explorium MCP",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        -1520,
        640
      ],
      "parameters": {
        "sseEndpoint": "https://mcp.explorium.ai/sse",
        "authentication": "headerAuth"
      },
      "credentials": {
        "httpHeaderAuth": {
          "id": "7IpyObtiR0gosEZX",
          "name": "Elay - Explorium"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "16d61c90-287c-450e-bf18-b971066c0b14",
      "name": "邮件撰写器",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1152,
        240
      ],
      "parameters": {
        "text": "=### Context:\n\n## company data: {{ $('Company Researcher').first().json.output }}\n\n## contact full name: {{ $('Edit Fields').item.json.contact_name }}\n\n## Salesman comments: {{ $('Edit Fields').item.json.comments }}\n",
        "options": {
          "systemMessage": "You are a B2B inbound email assistant.\n\nYour task is to write a short, personalized inbound email for an inbound lead (under 120 words) that sells a solution specificly to the company. This email will be sent to a general marketing, growth, or data contact — no specific prospect information is available.\n\n## About 82Labs (Use as context — DO NOT paste directly):\n82 Labs delivers complex fullstack applications for web and mobile, powered by cutting-edge automation technologies including n8n and LangGraph. Official n8n lecturers with enterprise-grade expertise.\n\nIf relevant, you may mention that they can explore our website (https://www.82labs.io).\n\nDont forget to always end with a call to action in setting up some sort of call or meeting to talk further\n\n## Instructions:\n- Reference the event to establish relevance and timing\n- Briefly describe what the company does (from the input)\n- Weave in 82Labs’s value and how it is applicable to their business priorities\n- Suggest two AI Agents/ AI powered solutions based on your knoleadge\n- End with a warm, soft CTA\n- Make it personal, write \"Hi {first name}\" instead of \"Hello Team\". fill in the first name\n- The salesperson name is \"Elay\"\n- Use the thinking tool\n\nNow write the email."
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "bf803704-e01a-4d80-adc5-0f5aefc02a85",
      "name": "创建草稿",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -848,
        240
      ],
      "webhookId": "5e663ad9-ee30-45ea-8ef0-24e8244e8df1",
      "parameters": {
        "message": "={{ $json.output.email_content }}",
        "options": {
          "sendTo": "={{ $('Edit Fields').item.json.email_address }}"
        },
        "subject": "={{ $json.output.email_subject }}",
        "resource": "draft"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "ECo0cbrYhI5s4Btm",
          "name": "Elay - elayguez Gmail"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "166b7f9a-50fb-4a61-80cf-a43e12045d30",
      "name": "获取项目",
      "type": "n8n-nodes-base.mondayCom",
      "position": [
        -1328,
        -48
      ],
      "parameters": {
        "limit": 1,
        "boardId": "2034551132",
        "columnId": "name",
        "resource": "boardItem",
        "operation": "getByColumnValue",
        "columnValue": "={{ $json.body.event.pulseName }}"
      },
      "credentials": {
        "mondayComApi": {
          "id": "A19PAalBfc58kjDP",
          "name": "Monday.com account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f8c9a7d6-bcf2-4344-825f-d909ffef35ae",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        -1152,
        -48
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={\n  \"company_name\": \"{{ $json.name }}\",\n  \"contact_name\": \"{{ $json.column_values[5].text }}\",\n  \"email_address\": \"{{ $json.column_values[6].text }}\",\n  \"comments\": \"{{ $json.column_values[10].text }}\"\n}\n"
      },
      "typeVersion": 3.4
    },
    {
      "id": "945c045e-d382-4f24-9fb8-51b3ed7946e7",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -1712,
        -48
      ],
      "webhookId": "76e1e0a6-495e-4ab6-ba56-b5746cbc4727",
      "parameters": {
        "path": "76e1e0a6-495e-4ab6-ba56-b5746cbc4727",
        "options": {},
        "httpMethod": "POST",
        "responseMode": "responseNode"
      },
      "typeVersion": 2.1
    },
    {
      "id": "53b36199-631c-4936-8fb1-861af29616bc",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -1232,
        144
      ],
      "parameters": {
        "width": 784,
        "height": 400,
        "content": "## 草拟邮件代理"
      },
      "typeVersion": 1
    },
    {
      "id": "2cd04285-126a-4d86-8286-02d0fe453fd3",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -1728,
        -160
      ],
      "parameters": {
        "width": 752,
        "height": 272,
        "content": "## 触发工作流并组织数据"
      },
      "typeVersion": 1
    },
    {
      "id": "44f650ee-e6c6-4810-a911-ce5c7c039c30",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -1232,
        576
      ],
      "parameters": {
        "width": 784,
        "height": 400,
        "content": "## CRM 丰富代理"
      },
      "typeVersion": 1
    },
    {
      "id": "da610c7d-25f3-4e84-afda-ab2a8343bf13",
      "name": "ChatGPT 4.1 - 3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1200,
        848
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "KFAwjhWN2Hk6Vvhy",
          "name": "General - OpenAi"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "fffff053-8555-4842-b113-3476fb3526a0",
      "name": "CRM 丰富",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1152,
        672
      ],
      "parameters": {
        "text": "=### Context:\n\n## company data: {{ $('Company Researcher').first().json.output }}\n\n## contact full name: {{ $('Edit Fields').item.json.contact_name }}\n\n## Salesman comments: {{ $('Edit Fields').item.json.comments }}\n",
        "options": {
          "systemMessage": "You are a B2B professional assistant.\n\nYour task is to write a short, two sentences summary on the company and cotact, with options on how 82 labs can help him)\n\n## About 82Labs (Use as context):\n82 Labs delivers complex fullstack applications for web and mobile, powered by cutting-edge automation technologies including n8n and LangGraph. Official n8n lecturers with enterprise-grade expertise.\n\n## Instructions:\n- Briefly describe what the company does (from the input)\n- Suggest two AI Agents/ AI powered solutions based on your knoleadge\n- Use the thinking tool\n\nNow write the CRM Enrichement summary"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "052fdb19-edbb-42b4-9a54-f3c5ddb3cd76",
      "name": "错误触发器",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        -912,
        -48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7ef3b8a7-8b2e-4816-9533-46e85edb9c5c",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "disabled": true,
      "position": [
        -960,
        -160
      ],
      "parameters": {
        "width": 512,
        "height": 272,
        "content": "## 错误触发器"
      },
      "typeVersion": 1
    },
    {
      "id": "5cc6ad2a-4850-4b38-a109-02bc0b72558e",
      "name": "思考 - 3",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -1008,
        848
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "d8469273-1088-4574-b2ec-20538c09f415",
      "name": "发送消息",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -688,
        -48
      ],
      "webhookId": "1850143d-bdb3-42a2-86e3-ac629b6e501f",
      "parameters": {
        "sendTo": "elay.g@82labs.io",
        "message": "={{ $json.output.email_content }}",
        "options": {},
        "subject": "=Error in the work"
      },
      "credentials": {
        "gmailOAuth2": {
          "id": "ECo0cbrYhI5s4Btm",
          "name": "Elay - elayguez Gmail"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "6332c3bb-5f42-42c3-9b76-713d01f75797",
      "name": "向项目添加更新 - 1",
      "type": "n8n-nodes-base.mondayCom",
      "position": [
        -688,
        240
      ],
      "parameters": {
        "value": "=\"\nDraft email from AI Agent was generated!\n\"",
        "itemId": "={{ $('Get item').item.json.id }}",
        "resource": "boardItem",
        "operation": "addUpdate"
      },
      "credentials": {
        "mondayComApi": {
          "id": "A19PAalBfc58kjDP",
          "name": "Monday.com account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "86610186-1990-4a5a-8015-df7106a11217",
      "name": "向项目添加更新 - 2",
      "type": "n8n-nodes-base.mondayCom",
      "position": [
        -688,
        672
      ],
      "parameters": {
        "value": "=\"\nAI Agent Data Enrichement:\n\n{{ $json.output.crm_summary }}\n\n\n\"",
        "itemId": "={{ $('Get item').item.json.id }}",
        "resource": "boardItem",
        "operation": "addUpdate"
      },
      "credentials": {
        "mondayComApi": {
          "id": "A19PAalBfc58kjDP",
          "name": "Monday.com account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d8fb3e8b-d8c9-45b1-b144-92662674853a",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1712,
        800
      ],
      "parameters": {
        "color": 3,
        "width": 448,
        "content": "## 注意:请更新所有代理系统消息中的上下文"
      },
      "typeVersion": 1
    },
    {
      "id": "961d277e-3b51-456d-9c88-5582566c74a3",
      "name": "结构化输出解析器 - 2",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -880,
        416
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"email_subject\": \"\",\n\t\"email_content\": \"\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "3f4306ac-891a-4ae0-80e9-2dd1f033de46",
      "name": "结构化输出解析器 - 3",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -864,
        848
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"crm_summary\": \"\"\n}"
      },
      "typeVersion": 1.3
    }
  ],
  "pinData": {},
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get item": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think - 1": {
      "ai_tool": [
        [
          {
            "node": "Company Researcher",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think - 2": {
      "ai_tool": [
        [
          {
            "node": "Email Writer",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think - 3": {
      "ai_tool": [
        [
          {
            "node": "CRM Enrichment",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Company Researcher",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Writer": {
      "main": [
        [
          {
            "node": "Create a draft",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Explorium MCP": {
      "ai_tool": [
        [
          {
            "node": "Company Researcher",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "CRM Enrichment": {
      "main": [
        [
          {
            "node": "Add an update to an item - 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create a draft": {
      "main": [
        [
          {
            "node": "Add an update to an item - 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ChatGPT 4.1 - 1": {
      "ai_languageModel": [
        [
          {
            "node": "Company Researcher",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ChatGPT 4.1 - 2": {
      "ai_languageModel": [
        [
          {
            "node": "Email Writer",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "ChatGPT 4.1 - 3": {
      "ai_languageModel": [
        [
          {
            "node": "CRM Enrichment",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Company Researcher": {
      "main": [
        [
          {
            "node": "Email Writer",
            "type": "main",
            "index": 0
          },
          {
            "node": "CRM Enrichment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Respond to Webhook": {
      "main": [
        [
          {
            "node": "Get item",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add an update to an item - 2": {
      "main": [
        []
      ]
    },
    "Structured Output Parser - 2": {
      "ai_outputParser": [
        [
          {
            "node": "Email Writer",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser - 3": {
      "ai_outputParser": [
        [
          {
            "node": "CRM Enrichment",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

工作流信息
难度等级
高级
节点数量28
分类2
节点类型12
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者
Elay Guez

Elay Guez

@elay96

Finance related n8n Builder

外部链接
在 n8n.io 查看

分享此工作流