通过 Tavily 使用 ChatGPT 网络研究自动丰富新的 CRM 公司信息
高级
这是一个Lead Generation、AI RAG领域的自动化工作流,包含 16 个节点。主要使用 Webhook、HttpRequest、Agent、ToolThink、TavilyTool 等节点。 通过 Tavily 使用 ChatGPT 网络研究自动丰富新的 CRM 公司信息
前置要求
- •HTTP Webhook 端点(n8n 会自动生成)
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "Wm8l2EqUfFXbZefy",
"meta": {
"instanceId": "68ab8a7bd891eafb85f915471f38591da0135936f93fdf7e27d0ebea24fea950"
},
"name": "通过 Tavily 使用 ChatGPT 网络研究自动丰富新的 CRM 公司信息",
"tags": [],
"nodes": [
{
"id": "8a9fac46-d7ca-4b5f-a809-ba9c4be4bb48",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
2320,
980
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4.1",
"cachedResultName": "gpt-4.1"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "bo9yE6c6LIEm8seD",
"name": "OpenAi account 3"
}
},
"typeVersion": 1.2
},
{
"id": "a9b15186-9dd1-4b2a-be23-277d6507c6b6",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
1880,
0
],
"parameters": {
"color": 7,
"width": 340,
"height": 980,
"content": "## 5. 设置 webhook 触发器"
},
"typeVersion": 1
},
{
"id": "04f6c697-7838-438e-95bd-db3f226d8238",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1420,
0
],
"parameters": {
"color": 7,
"width": 420,
"height": 980,
"content": "## 4. 设置 CentralStationCRM Webhook"
},
"typeVersion": 1
},
{
"id": "2f0f0aa7-ae85-4ff1-aec2-6e78b5b4bdab",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
840
],
"parameters": {
"color": 7,
"width": 420,
"height": 140,
"content": "## 3. 从 n8n 获取 webhook URL"
},
"typeVersion": 1
},
{
"id": "03bbfa92-95b1-4beb-a1b0-fc1a2958093b",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
2260,
0
],
"parameters": {
"color": 7,
"width": 500,
"height": 1160,
"content": "## 6. 设置 Research AI Agent"
},
"typeVersion": 1
},
{
"id": "f3b11fd7-2fcf-4fe0-b272-e6326b1c6b53",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
2780,
0
],
"parameters": {
"color": 7,
"width": 380,
"height": 980,
"content": "## 7. 设置 CentralStationCRM 协议"
},
"typeVersion": 1
},
{
"id": "9ffff75c-ae83-4f5a-b656-3fea3da62e70",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
960,
0
],
"parameters": {
"color": 7,
"width": 420,
"height": 820,
"content": "## 2. 设置 CentralStationCRM n8n 凭据"
},
"typeVersion": 1
},
{
"id": "9c9d77d8-159c-4e52-aad0-d2ccfcb84ac5",
"name": "便签9",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
780
],
"parameters": {
"width": 460,
"height": 200,
"content": "## 此工作流中使用的工具"
},
"typeVersion": 1
},
{
"id": "f387821a-8be9-46b9-9435-212c704a558c",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 460,
"height": 740,
"content": ""
},
"typeVersion": 1
},
{
"id": "4a3a7718-ff96-4ef5-90fe-6d03f0d81c25",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
500,
0
],
"parameters": {
"color": 7,
"width": 420,
"height": 980,
"content": "## 1. 设置 CentralStationCRM API 密钥"
},
"typeVersion": 1
},
{
"id": "0cd3cfc1-74f4-400a-a5b7-0811d600ec4e",
"name": "Research AI Agent",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
2380,
800
],
"parameters": {
"text": "=We are a small consulting firm specialised on sales and marketing consulting. \n\nDo a deep research in German about the company \"{{ $json.body.record.name }}\". The research shall help sales people get a good overview about the company and allow to identify potential opportunities.\n\nUse the following structure:\n\n```markdown\n- **Name:** Firmenname\n- **Webseite:** http://foobar.com\n- **Zentrale:** San Francisco ([1](http://foobar))\n- **Gründungsjahr:** 2018 ([1](http://...), [2](http://...))\n- **Anzahl der Mitarbeiter:** 123 ([1](...))\n\nAllgemeine Beschreibung der Firma, inklusive Quellen. ([1](http://source))\n\n## Social media\n\n- **Linked In:** http://...\n- **Facebook:** http://...\n```\n\nThis structure is not complete, you can add more facts, social media sites or sections. You can use multiple searches, use more specific search queries if there are important facts missing. Add sources to every fact you mention.\n\nRespond only with the markdown itself, do not start with ```markdown.",
"options": {},
"promptType": "define"
},
"typeVersion": 2
},
{
"id": "e61f2c0b-defd-4e91-8e01-e9dc6c71e0ce",
"name": "AI 的思维空间提示",
"type": "@n8n/n8n-nodes-langchain.toolThink",
"position": [
2660,
980
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c4d18a52-57d1-4c9e-b8f8-f29440d12d38",
"name": "Tavily Websearch 提取 URL",
"type": "@tavily/n8n-nodes-tavily.tavilyTool",
"position": [
2560,
1120
],
"parameters": {
"urls": [
"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('urls0_URLs', ``, 'string') }}"
],
"options": {},
"resource": "extract"
},
"credentials": {
"tavilyApi": {
"id": "ORAd9u0WAvNAofCP",
"name": "Tavily account"
}
},
"typeVersion": 1
},
{
"id": "f8af5e5a-d411-4888-904a-d8f3df1be67e",
"name": "Tavily Websearch 搜索网络",
"type": "@tavily/n8n-nodes-tavily.tavilyTool",
"position": [
2400,
1120
],
"parameters": {
"query": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Query', ``, 'string') }}",
"options": {
"max_results": 15,
"search_depth": "advanced"
}
},
"credentials": {
"tavilyApi": {
"id": "ORAd9u0WAvNAofCP",
"name": "Tavily account"
}
},
"typeVersion": 1
},
{
"id": "589de93d-74f3-4bde-a5da-8f92b572c59b",
"name": "在 CentralStationCRM 中为公司添加备注",
"type": "n8n-nodes-base.httpRequest",
"position": [
2920,
800
],
"parameters": {
"url": "https://api.centralstationcrm.net/api/protocols.json",
"method": "POST",
"options": {},
"jsonBody": "={\n \"protocol\": {\n \"company_ids\": [{{ $('Company created in CentralStationCRM').item.json.body.record.id }}],\n \"type\": \"ProtocolObjectNote\",\n \"badge\": \"note\",\n \"content\": {{ $json.output.toJsonString() }},\n \"format\": \"markdown\"\n }\n} \n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
},
{
"name": "Content-Type",
"value": "application/json"
}
]
}
},
"credentials": {
"httpHeaderAuth": {
"id": "pqUNcvQBnqpxmMAD",
"name": "Header Auth CSCRM test16"
}
},
"typeVersion": 4.2
},
{
"id": "922a8cd5-ef4a-45a2-97fb-932c98ee7d8d",
"name": "在 CentralStationCRM 中创建的公司",
"type": "n8n-nodes-base.webhook",
"position": [
2000,
800
],
"webhookId": "c8682af5-17b7-48f5-9be3-49ef787b40e5",
"parameters": {
"path": "c8682af5-17b7-48f5-9be3-49ef787b40e5",
"options": {},
"httpMethod": "POST"
},
"typeVersion": 2
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "16f5b624-473c-424a-be92-f62e08907ce2",
"connections": {
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Research AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Research AI Agent": {
"main": [
[
{
"node": "Add a note to company in CentralStationCRM",
"type": "main",
"index": 0
}
]
]
},
"Tavily Websearch Extract URLs": {
"ai_tool": [
[
{
"node": "Research AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"a mind space prompt for the ai": {
"ai_tool": [
[
{
"node": "Research AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Tavily Websearch Search the Web": {
"ai_tool": [
[
{
"node": "Research AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Company created in CentralStationCRM": {
"main": [
[
{
"node": "Research AI Agent",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个高级难度的工作流,适用于Lead Generation、AI RAG等场景。适合高级用户,包含 16+ 个节点的复杂工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
Instagram潜在客户生成
使用Apify、GPT和PostgreSQL自动化Instagram影响者潜在客户收集
Set
Code
Postgres
+8
18 节点Fayzul Noor
Lead Generation
基于Bright Data、OpenAI和Redis的高级多源AI研究
使用Bright Data、OpenAI和Redis进行高级多源AI研究
If
Set
Code
+15
43 节点Daniel Shashko
Market Research
工作简历与求职信自动化(含简历 HTML 模板)
使用 AI、GitHub Pages 和 Google Drive 个性化简历和求职信
Set
Code
Html
+16
31 节点Michael A Putra
Document Extraction
基于AI的Google Sheets网页研究(GPT与Bright Data)
基于AI的Google Sheets网页研究(GPT与Bright Data)
Set
Webhook
Data Table
+8
22 节点Elay Guez
Market Research
PQL + Amplitude
使用 Amplitude、Claude 和 PDL 评估产品合格潜在客户,用于销售路由
Set
Code
Merge
+10
21 节点Connor Provines
Lead Generation
创建基于关键词到Google Docs的研究支持型SEO内容简报
使用OpenAI和Firecrawl生成研究支持的SEO内容简报到Google Docs
Code
Google Docs
Form Trigger
+5
10 节点Simeon Penev
Miscellaneous
工作流信息
难度等级
高级
节点数量16
分类2
节点类型7
作者
CentralStationCRM
@centralstationcrmCentralStationCRM ist das einfache und intuitive CRM für kleine Teams. Auf n8n teilen wir unsere Workflow-Ideen: für schnellere Abläufe und einen besseren Arbeitsalltag. CentralStationCRM is the simple and intuitive CRM for small businesses. On n8, we share CRM-workflow ideas to speed up your working life!
外部链接
在 n8n.io 上查看 →
分享此工作流