AI驱动的线索丰富Telegram和Explorium MCP
中级
这是一个Lead Generation, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Telegram, Agent, HttpRequestTool, TelegramTrigger, LmChatOpenAi 等节点。 使用GPT-4、Explorium MCP和Telegram生成个性化销售拓展
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
- •PostgreSQL 数据库连接信息
使用的节点 (11)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "rsntayaWLO9Ap3sM",
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"name": "AI 驱动的线索丰富 Telegram 和 Explorium MCP",
"tags": [],
"nodes": [
{
"id": "27c106c6-24a4-4165-babf-05d1bfffcd7a",
"name": "AI 线索丰富代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
-260,
240
],
"parameters": {
"text": "={{ $json.message.text }}",
"options": {
"systemMessage": "# Elite Lead Enrichment & Email Sequence Generator\n\nYou are the world's premier lead enrichment specialist and cold outreach strategist for DaeX AI. Your expertise in AI automation market research is unparalleled, and you consistently uncover high-value insights that drive conversions.\n\n## Step 1: Collect Lead Information\n\nRequest the following information from the user:\n\n**Required Fields:**\n- Business Name: [Company name]\n- Domain: [Website URL if available]\n- Email: [Any known email address]\n- Contact Name: [Key decision maker if known]\n\n## Step 2: Research Strategy\n\n**Tool Usage:**\n- **MCP Tool**: Primary data gathering using company name\n- **Tavily Tool**: Targeted web searches for specific intelligence\n\n**Search Queries:**\n- \"[Company Name] LinkedIn profile\"\n- \"[Company Name] recent news funding growth\"\n- \"[Contact Name] [Company Name] LinkedIn executive\"\n- \"[Company Name] technology stack automation tools\"\n- \"[Company Name] industry challenges pain points\"\n- \"[Company Name] competitors market position\"\n\n## Step 3: Deep Intelligence Gathering\n\nResearch Focus Areas:\n- Business model, revenue streams, growth initiatives\n- Technology adoption and digital transformation status\n- Market positioning and competitive landscape\n- Recent company news, funding, and social presence\n- Decision maker background, role, and LinkedIn activity\n- Specific automation opportunities in their workflows\n- Industry-specific pain points and challenges\n\n## Step 4: Email Sequence Structure\n\nCreate a strategic 4-email sequence:\n\n**Email 1**: Problem Identification + Soft Introduction\n**Email 2**: Specific Use Case/Automation Opportunity\n**Email 3**: Social Proof + ROI Example\n**Email 4**: Clear CTA with Low-Commitment Next Step\n\n## Step 5: Output Requirements\n\n**CRITICAL**: Output as properly structured JSON with individual key-value pairs. Do NOT wrap everything in a single text field.\n\n```json\n{\n \"companyName\": \"string\",\n \"domain\": \"string\",\n \"industry\": \"string\",\n \"companySize\": \"string\",\n \"revenue\": \"string\",\n \"fundingStage\": \"string\",\n \"fundingAmount\": \"string\",\n \"employeeCount\": \"string\",\n \"headquarters\": \"string\",\n \"technologies\": [\"tech1\", \"tech2\"],\n \"linkedinUrl\": \"string\",\n \"twitterUrl\": \"string\",\n \"contactName\": \"string\",\n \"contactTitle\": \"string\",\n \"contactEmail\": \"string\",\n \"contactLinkedin\": \"string\",\n \"leadScore\": \"number (1-100)\",\n \"priorityLevel\": \"High/Medium/Low\",\n \"painPoints\": [\"pain1\", \"pain2\"],\n \"automationOpportunities\": [\"opp1\", \"opp2\"],\n \"recentCompanyNews\": \"string\",\n \"competitorAnalysis\": \"string\",\n \"marketPosition\": \"string\",\n \"emailSequence\": {\n \"email1\": {\n \"subject\": \"string\",\n \"body\": \"string\",\n \"callToAction\": \"string\"\n },\n \"email2\": {\n \"subject\": \"string\",\n \"body\": \"string\",\n \"callToAction\": \"string\"\n },\n \"email3\": {\n \"subject\": \"string\",\n \"body\": \"string\",\n \"callToAction\": \"string\"\n },\n \"email4\": {\n \"subject\": \"string\",\n \"body\": \"string\",\n \"callToAction\": \"string\"\n }\n },\n \"recommendedStrategy\": \"string\",\n \"aiInsights\": \"string\",\n \"nextSteps\": [\"step1\", \"step2\"],\n \"followUpTimeline\": \"string\",\n \"enrichedAt\": \"ISO timestamp\",\n \"researchSummary\": \"string\",\n \"automationRecommendations\": [\"rec1\", \"rec2\"]\n}\n```\n\n**Tone Guidelines:**\n- Professional yet conversational\n- Focus on measurable business impact\n- Use industry-specific terminology\n- Emphasize competitive advantage and efficiency\n- Reference specific technologies when identified\n- Maintain authoritative but approachable voice\n\nNow provide the lead information to begin enrichment:\n\n**Business Name:**\n**Domain:**\n**Email:**\n**Contact Name:**"
},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "218ba438-70a9-47e5-9998-926dc1a3ff1f",
"name": "OpenAI GPT-4",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-300,
700
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o"
},
"options": {
"maxTokens": 4000,
"temperature": 0.3
}
},
"typeVersion": 1.2
},
{
"id": "3a88ee73-7b4f-4907-b1d0-b1fe81b645d4",
"name": "Explorium B2B 数据",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
640,
80
],
"parameters": {
"sseEndpoint": "mcp.explorium.ai/sse",
"authentication": "headerAuth"
},
"typeVersion": 1
},
{
"id": "d6b05d01-1d79-4030-8a1d-e27726ac5567",
"name": "研究工具信息",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
-340
],
"parameters": {
"color": 4,
"width": 320,
"height": 540,
"content": "## 🔍 研究工具"
},
"typeVersion": 1
},
{
"id": "9b1e621c-52e0-496f-b681-f10cbb5da336",
"name": "AI 引擎信息",
"type": "n8n-nodes-base.stickyNote",
"position": [
-500,
420
],
"parameters": {
"color": 7,
"width": 300,
"height": 420,
"content": "## 🧠 AI 引擎"
},
"typeVersion": 1
},
{
"id": "c3fdabc4-fd4f-41e6-be22-0b32073f9229",
"name": "Tavily 网络情报",
"type": "n8n-nodes-base.httpRequestTool",
"position": [
520,
60
],
"parameters": {
"url": "https://api.tavily.com/search",
"method": "POST",
"options": {},
"jsonBody": "{\n \"query\": \"{{ $parameter.query }}\",\n \"auto_parameters\": true,\n \"topic\": \"general\",\n \"search_depth\": \"advanced\",\n \"chunks_per_source\": 5,\n \"max_results\": 3,\n \"include_answer\": true,\n \"include_raw_content\": true,\n \"include_images\": false,\n \"include_domains\": [\"linkedin.com\", \"crunchbase.com\", \"bloomberg.com\"],\n \"exclude_domains\": [\"pinterest.com\", \"instagram.com\"]\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"toolDescription": "Search the web for real-time company intelligence and market data",
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "Bearer YOUR_TAVILY_API_KEY"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "54989a4a-9130-4d9e-ad1f-8ac7f8cc2064",
"name": "对话记忆",
"type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
"position": [
-400,
740
],
"parameters": {
"sessionKey": "={{ $json.message.from.id + '_lead_enrichment' }}",
"sessionIdType": "customKey"
},
"typeVersion": 1.3
},
{
"id": "3a9b4ace-9bd2-4a88-8cd6-453a1c4b2d0b",
"name": "Telegram 输入",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-740,
260
],
"webhookId": "WEBHOOK_WILL_BE_GENERATED",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"typeVersion": 1.2
},
{
"id": "2502dce6-b351-40a4-bf40-3a83f2fa56ef",
"name": "Telegram 响应",
"type": "n8n-nodes-base.telegram",
"position": [
220,
240
],
"webhookId": "2b0541b3-c2ba-45a3-a4f8-9cf287ffe86a",
"parameters": {
"text": "={{ $json.output }}",
"chatId": "={{ $item(\"0\").$node[\"Telegram Input\"].json[\"message\"][\"chat\"][\"id\"] }}",
"additionalFields": {
"parse_mode": "Markdown",
"appendAttribution": false
}
},
"typeVersion": 1.2
},
{
"id": "ef8399ba-9702-499f-baa9-01d4fc7db6a6",
"name": "🚀 工作流概览",
"type": "n8n-nodes-base.stickyNote",
"position": [
-940,
-40
],
"parameters": {
"color": 5,
"width": 400,
"height": 880,
"content": "## 🚀 AI 线索丰富与邮件序列生成器"
},
"typeVersion": 1
},
{
"id": "8c79237c-0f86-45c9-874f-592d385f06df",
"name": "⚙️ 设置指南",
"type": "n8n-nodes-base.stickyNote",
"position": [
420,
340
],
"parameters": {
"color": 6,
"width": 300,
"height": 400,
"content": "## ⚙️ 配置步骤"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "72e04d2e-8435-454e-8f42-5bf3bc7a9e06",
"connections": {
"OpenAI GPT-4": {
"ai_languageModel": [
[
{
"node": "AI Lead Enrichment Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Telegram Input": {
"main": [
[
{
"node": "AI Lead Enrichment Agent",
"type": "main",
"index": 0
}
]
]
},
"Explorium B2B Data": {
"ai_tool": [
[
{
"node": "AI Lead Enrichment Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Conversation Memory": {
"ai_memory": [
[
{
"node": "AI Lead Enrichment Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Tavily Web Intelligence": {
"ai_tool": [
[
{
"node": "AI Lead Enrichment Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"AI Lead Enrichment Agent": {
"main": [
[
{
"node": "Telegram Response",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
中级 - 潜在客户开发, 多模态 AI
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
使用Google Sheets和Telegram的Explorium MCP智能潜在客户触达
基于Explorium MCP、Google Sheets和Telegram的智能潜在客户触达
If
Code
Telegram
+9
23 节点David Olusola
人工智能
使用GPT-5、知识检索和文档上下文自动化HighLevel CRM
通过GPT-5、知识检索和文档上下文自动化HighLevel CRM
Set
Gmail
Slack
+25
55 节点Paul
客户关系管理
日历与任务个人助手(GPT-4o-mini和Telegram)
日历与任务个人助手(GPT-4o-mini和Telegram)
Telegram
Agent
Google Tasks Tool
+8
26 节点Khair Ahammed
杂项
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
Set
Gmail
Slack
+35
80 节点Paul
文档提取
币安AI代理v1.02
在Telegram中访问实时币安市场数据,使用GPT-4o格式化
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
加密货币交易
Upbit AI代理v1.02
在Telegram中使用GPT-4o-mini访问Upbit加密货币市场数据
Set
Code
Telegram
+8
35 节点Don Jayamaha Jr
加密货币交易
工作流信息
难度等级
中级
节点数量11
分类2
节点类型8
作者
David Olusola
@dae221AI automation consultant working with ambitious businesses on their most complex operational challenges. For project inquiries, reach me at david@daexai.com
外部链接
在 n8n.io 查看 →
分享此工作流