pipedrive mcp
高级
这是一个Sales, AI, IT Ops领域的自动化工作流,包含 32 个节点。主要使用 Gmail, PipedriveTool, Agent, TelegramTrigger, McpTrigger 等节点,结合人工智能技术实现智能自动化。 使用Google Gemini AI进行自然语言Pipedrive CRM管理
前置要求
- •Google 账号和 Gmail API 凭证
- •Telegram Bot Token
- •Google Gemini API Key
使用的节点 (32)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"id": "wQ7y8grS10XllodU",
"meta": {
"instanceId": "9219ebc7795bea866f70aa3d977d54417fdf06c41944be95e20cfb60f992db19",
"templateCredsSetupCompleted": true
},
"name": "pipedrive mcp",
"tags": [],
"nodes": [
{
"id": "bc8b95d8-467c-4ad3-8b20-8c8cf246b012",
"name": "新消息触发",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-240,
-140
],
"webhookId": "31e8c191-91b8-4df2-889e-8ab59eeaab92",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "LQR5obzFLK65n5Vn",
"name": "pipedrive mcp bot"
}
},
"typeVersion": 1.2
},
{
"id": "629e67ec-305d-4544-82be-7da75af5086e",
"name": "AI 代理",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
0,
-140
],
"parameters": {
"options": {}
},
"typeVersion": 1.9
},
{
"id": "34754420-6058-4b9c-9924-ea937bf77e24",
"name": "简单记忆",
"type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
"position": [
100,
80
],
"parameters": {},
"typeVersion": 1.3
},
{
"id": "630f983c-b6b2-4c60-8474-c9657eee065b",
"name": "Google Gemini 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-60,
80
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.5-pro-preview-05-06"
},
"credentials": {
"googlePalmApi": {
"id": "MF12DwQJWL1egyiN",
"name": "Google Gemini(PaLM) Api account"
}
},
"typeVersion": 1
},
{
"id": "fd7e83d1-27b6-424c-b632-d8a5b65577a7",
"name": "MCP 客户端",
"type": "@n8n/n8n-nodes-langchain.mcpClientTool",
"position": [
400,
260
],
"parameters": {
"sseEndpoint": "your-MCP-url-here"
},
"typeVersion": 1
},
{
"id": "9961f536-96d9-4a45-910b-4572e2e807ee",
"name": "MCP 服务器触发器",
"type": "@n8n/n8n-nodes-langchain.mcpTrigger",
"position": [
-140,
380
],
"webhookId": "154b1d16-5a33-42d3-b657-2cd45a3d23b9",
"parameters": {
"path": "pipedrive-mcp-demo"
},
"typeVersion": 1
},
{
"id": "f76545a8-94cb-4170-a187-3f24cb1ea497",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-920,
160
],
"parameters": {
"color": 4,
"width": 220,
"height": 940,
"content": "# 交易"
},
"typeVersion": 1
},
{
"id": "1f89ed2a-e011-418d-8178-11bdfe6c5d6b",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
160
],
"parameters": {
"color": 4,
"height": 920,
"content": "# 潜在客户"
},
"typeVersion": 1
},
{
"id": "52fcc0e7-e248-4bc8-98ba-78339177e659",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-280,
640
],
"parameters": {
"color": 4,
"width": 360,
"height": 440,
"content": "# 联系人"
},
"typeVersion": 1
},
{
"id": "9fafdb21-5f29-4b0d-9c1e-2a7096998692",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
260,
620
],
"parameters": {
"color": 4,
"width": 380,
"height": 500,
"content": "# 组织"
},
"typeVersion": 1
},
{
"id": "3be7d19b-f0d0-4020-b7b9-ec74d97317bd",
"name": "创建组织交易",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-860,
260
],
"parameters": {
"title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
"org_id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Organization_ID', ``, 'number') }}",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "e326dc90-df81-46b5-884a-3cc894be6ee3",
"name": "创建联系人交易",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-860,
440
],
"parameters": {
"title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
"person_id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Person_ID', ``, 'number') }}",
"associateWith": "person",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "886529d1-f88e-441e-9c52-4983a1fcd1f7",
"name": "更新交易",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-860,
760
],
"parameters": {
"dealId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Deal_ID', ``, 'number') }}",
"operation": "update",
"updateFields": {
"value": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Value', ``, 'number') }}",
"lost_reason": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Lost_Reason', ``, 'string') }}",
"probability": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Probability', ``, 'number') }}"
},
"authentication": "oAuth2"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "d39ed3b7-3312-450a-b839-80e09b9eaa05",
"name": "搜索并返回交易",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-860,
920
],
"parameters": {
"term": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Term', ``, 'string') }}",
"operation": "search",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "db2eb0eb-5836-4d89-83ab-bc82ad550649",
"name": "创建联系人潜在客户",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-560,
420
],
"parameters": {
"title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
"resource": "lead",
"person_id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Person_ID', ``, 'number') }}",
"associateWith": "person",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "fe9ccc72-33d2-4876-b0fd-1df1552463c1",
"name": "获取潜在客户",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-560,
580
],
"parameters": {
"leadId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Lead_ID', ``, 'string') }}",
"resource": "lead",
"operation": "get",
"authentication": "oAuth2"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "ffd60843-e218-4065-9573-df77deb3f9d5",
"name": "获取交易",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-860,
600
],
"parameters": {
"dealId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Deal_ID', ``, 'number') }}",
"operation": "get",
"authentication": "oAuth2",
"resolveProperties": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Resolve_Properties', ``, 'boolean') }}"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "f89b9505-d98d-4ba0-9c63-92d967f2c079",
"name": "更新潜在客户",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-560,
760
],
"parameters": {
"leadId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Lead_ID', ``, 'string') }}",
"resource": "lead",
"operation": "update",
"updateFields": {},
"authentication": "oAuth2"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "5def7b19-2c74-4446-adf7-a029c8d1105d",
"name": "返回多个潜在客户",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-560,
920
],
"parameters": {
"filters": {},
"resource": "lead",
"operation": "getAll",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
"authentication": "oAuth2"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "d93c7451-0e0b-4ac4-977c-ab58059d02cf",
"name": "创建联系人",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-240,
740
],
"parameters": {
"name": "=",
"resource": "person",
"authentication": "oAuth2",
"additionalFields": {
"email": [
"={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('email0_Email', ``, 'string') }}"
]
}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "9276b99a-2eb6-4db0-83b7-49da716ab603",
"name": "获取联系人",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-80,
740
],
"parameters": {
"personId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Person_ID', ``, 'number') }}",
"resource": "person",
"operation": "get",
"authentication": "oAuth2"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "df5b28c5-0c95-47df-a6d2-8acb33c94e7a",
"name": "搜索联系人",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-80,
920
],
"parameters": {
"term": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Term', ``, 'string') }}",
"resource": "person",
"operation": "search",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "b26798fe-c5d8-4095-a2ad-ef9d73a6c5c8",
"name": "更新联系人",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-240,
920
],
"parameters": {
"personId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Person_ID', ``, 'number') }}",
"resource": "person",
"operation": "update",
"updateFields": {},
"authentication": "oAuth2"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "c45b77da-6a1c-482b-a2af-4758be227bbb",
"name": "创建组织",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
320,
720
],
"parameters": {
"name": "=",
"resource": "organization",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "8eab17f1-dfc7-4db6-a01a-69198396f9f4",
"name": "获取组织数据",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
500,
720
],
"parameters": {
"resource": "organization",
"operation": "get",
"authentication": "oAuth2",
"organizationId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Organization_ID', ``, 'number') }}"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "922388c1-a4d4-4a28-b392-37426e83105f",
"name": "搜索并返回组织",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
320,
940
],
"parameters": {
"term": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Term', ``, 'string') }}",
"resource": "organization",
"operation": "search",
"returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}",
"authentication": "oAuth2",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "1ae56aac-b2ad-4d2a-b7e9-294ba6e06a51",
"name": "更新组织",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
500,
940
],
"parameters": {
"resource": "organization",
"operation": "update",
"updateFields": {},
"authentication": "oAuth2",
"organizationId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Organization_ID', ``, 'number') }}"
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "5738bb7b-e040-48fc-8c4f-652ad3e86140",
"name": "创建组织潜在客户",
"type": "n8n-nodes-base.pipedriveTool",
"position": [
-560,
260
],
"parameters": {
"title": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Title', ``, 'string') }}",
"resource": "lead",
"authentication": "oAuth2",
"organization_id": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Organization_ID', ``, 'number') }}",
"additionalFields": {}
},
"credentials": {
"pipedriveOAuth2Api": {
"id": "qbWdzfaKpYgLuGSk",
"name": "Pipedrive account"
}
},
"typeVersion": 1
},
{
"id": "3482a78b-ea8a-4cc6-9043-714641bdd237",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
300,
-340
],
"parameters": {
"width": 340,
"height": 380,
"content": "# 自定义输出"
},
"typeVersion": 1
},
{
"id": "f5cbef56-0db4-402e-aed1-a4274f01bc3b",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-920,
-460
],
"parameters": {
"width": 600,
"height": 560,
"content": "# 概述"
},
"typeVersion": 1
},
{
"id": "af672696-08ed-4efa-8bf1-aad884daa370",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
300,
100
],
"parameters": {
"width": 340,
"height": 300,
"content": "# MCP 客户端"
},
"typeVersion": 1
},
{
"id": "48f10873-c397-448c-823d-902f24243336",
"name": "发送摘要",
"type": "n8n-nodes-base.gmail",
"position": [
360,
-140
],
"webhookId": "c3f1ba3f-6bdb-42ab-b2e0-af02dd58ada9",
"parameters": {
"sendTo": "youremailhere",
"message": "={{ $json.output }}",
"options": {},
"subject": "=Pipedrive AI Agent run",
"emailType": "text"
},
"credentials": {
"gmailOAuth2": {
"id": "q3P6IybvNdDiPZ52",
"name": "Gmail account"
}
},
"typeVersion": 2.1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "6118c192-8cf1-47da-86b9-73970b9da8e9",
"connections": {
"AI Agent": {
"main": [
[
{
"node": "Send summary",
"type": "main",
"index": 0
}
]
]
},
"Get Deal": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Lead": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Person": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"MCP Client": {
"ai_tool": [
[
{
"node": "AI Agent",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update Deal": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update Lead": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Person": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search Person": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Simple Memory": {
"ai_memory": [
[
{
"node": "AI Agent",
"type": "ai_memory",
"index": 0
}
]
]
},
"Update Person": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"On new message": {
"main": [
[
{
"node": "AI Agent",
"type": "main",
"index": 0
}
]
]
},
"Return Many Leads": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Person Deal": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Person Lead": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Organization": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Get Organization Data": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Search & Return Deals": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Update an Organization": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Organization Deal": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Create Organization Lead": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
},
"Google Gemini Chat Model": {
"ai_languageModel": [
[
{
"node": "AI Agent",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Search & Return Organizations": {
"ai_tool": [
[
{
"node": "MCP Server Trigger",
"type": "ai_tool",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 销售, 人工智能, IT 运维
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
个人助理 MCP 服务器
使用MCP构建集成Google Gemini、Gmail和日历的个人助理
Gmail Tool
Agent
Google Sheets Tool
+7
20 节点Aitor | 1node.ai
其他
使用Airtable构建MCP服务器
使用Airtable构建MCP服务器
Airtable Tool
Agent
Mcp Trigger
+5
13 节点Aitor | 1node.ai
构建模块
使用Milvus和Cohere的RAG AI代理
使用Milvus、Cohere和OpenAI为Google Drive构建RAG文档问答系统
Google Drive
Agent
Extract From File
+9
14 节点Aitor | 1node.ai
客户支持
AI 助手已更新
Stacey - 您的 Telegram AI 助手(基于 MCP、Gemini 和 Google 工具)
Set
Code
Switch
+15
32 节点David Olusola
其他
Telegram AI 助手与 Gmail、Google 日历、Google Sheets
Telegram AI 助手集成 Gmail、Google 日历、Google Sheets 和 MCP 工具
Telegram
Gmail Tool
Agent
+8
17 节点David Olusola
其他
AI邮件分诊与GPT-4警报系统及Telegram通知
AI邮件分诊与GPT-4警报系统及Telegram通知
If
Set
Gmail
+22
104 节点Peter Joslyn
客户支持
工作流信息
难度等级
高级
节点数量32
分类3
节点类型9
作者
Aitor | 1node.ai
@aitoralonsoHi, I’m Aitor. At 1 Node we help businesses integrate full-scale AI solutions that save time, cut costs, and increase revenue. Guaranteed. Need help implementing AI workflows?
外部链接
在 n8n.io 查看 →
分享此工作流