Pipedream 的 MCP 服务器

中级

这是一个Support Chatbot、AI Chatbot领域的自动化工作流,包含 8 个节点。主要使用 Agent、ChatTrigger、LmChatOpenAi、McpClientTool、MemoryBufferWindow 等节点。 使用GPT-4和Pipedream构建可扩展AI聊天机器人:集成Calendly和Gmail

前置要求
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "muEszdmquRYSUdM9",
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
    "templateCredsSetupCompleted": true
  },
  "name": "Pipedream 的 MCP 服务器",
  "tags": [],
  "nodes": [
    {
      "id": "d498ed94-65f4-4560-a186-ba324506f73f",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        16,
        -64
      ],
      "webhookId": "79dae454-ccf5-4129-8197-f79bf5add978",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "866a327c-22a2-4a3a-8993-75ae9e836c71",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        240,
        -64
      ],
      "parameters": {
        "options": {
          "systemMessage": "You are a helpful assistant"
        }
      },
      "typeVersion": 2.1
    },
    {
      "id": "457b6172-4519-4bf9-aa84-44dbf14befb6",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        112,
        144
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "TefveNaDaMERl1hY",
          "name": "OpenAi account (Eure)"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "cd652804-a75c-4efd-b197-92810f94bb5f",
      "name": "Calendly",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        400,
        144
      ],
      "parameters": {
        "sseEndpoint": "https://mcp.pipedream.net/xxx/calendly_v2"
      },
      "typeVersion": 1
    },
    {
      "id": "ae996f82-1e34-486a-af82-2fdcfe32c3d9",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        256,
        144
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "4465fc4e-68b0-456d-828a-bff296038a34",
      "name": "Gmail",
      "type": "@n8n/n8n-nodes-langchain.mcpClientTool",
      "position": [
        512,
        144
      ],
      "parameters": {
        "sseEndpoint": "https://mcp.pipedream.net/xxx/gmail"
      },
      "typeVersion": 1
    },
    {
      "id": "32e919f8-6e73-4aa3-9148-93f920930f3b",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -352,
        -768
      ],
      "parameters": {
        "width": 624,
        "height": 656,
        "content": "## Pipedream 的 MCP 服务器"
      },
      "typeVersion": 1
    },
    {
      "id": "79a54171-4f68-418c-8ad2-b30e2ed23fe5",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -768
      ],
      "parameters": {
        "width": 624,
        "height": 656,
        "content": "### 操作方法"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "d75b30d2-ecdf-4ac7-8d4b-72c5961c7a7c",
  "connections": {
    "Gmail": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calendly": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个中级难度的工作流,适用于Support Chatbot、AI Chatbot等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

需要付费吗?

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

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

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

作者

Full-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza

外部链接
在 n8n.io 上查看 →

分享此工作流