MyAIAgentTeam:邮件、会议、网页搜索、Notion、推文、RAG_PUBLIC

高级

这是一个AI领域的自动化工作流,包含 51 个节点。主要使用 Set、Switch、Telegram、GmailTool、NotionTool 等节点,结合人工智能技术实现智能自动化。 终极AI助手:自动化邮件、日历、网页搜索、Notion、RAG和X

前置要求
  • Telegram Bot Token
  • Google 账号和 Gmail API 凭证
  • Notion API Key
  • Twitter API 凭证
  • OpenAI API Key
  • Google Sheets API 凭证
  • 可能需要目标 API 的认证凭证
  • Pinecone API Key

分类

工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "MMiaDhUfsB5mqTY7",
  "meta": {
    "instanceId": "f638a47e4e563f91fde8b98ed9f5fa6a9faa41a207143e9ce05d85200c905524",
    "templateCredsSetupCompleted": true
  },
  "name": "MyAIAgentTeam:Email,Meeting,WebSearch,Notion,Tweet,RAG_PUBLIC",
  "tags": [
    {
      "id": "W7eaE1NVqTisi5k2",
      "name": "RAG",
      "createdAt": "2025-01-26T15:21:53.716Z",
      "updatedAt": "2025-01-26T15:21:53.716Z"
    }
  ],
  "nodes": [
    {
      "id": "1321c496-d6f9-4848-90da-e4f1daca28ba",
      "name": "Telegram触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -420,
        -300
      ],
      "webhookId": "da8c5455-df8f-46a2-80cb-83c72c7dcc9f",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "8dba26e5-c046-43c5-a531-16e1dfc4e46e",
      "name": "Google Calendar MCP",
      "type": "n8n-nodes-base.switch",
      "position": [
        -180,
        -300
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "bb5e6ef2-b4a3-48d3-8ec0-a25ca4c73880",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        320,
        -300
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "714edd4b-c000-4fff-9bf2-8e977ff5c131",
      "name": "OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        140,
        0
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "aeba0720-6018-447b-a837-268ecdfda8e4",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        900,
        -300
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "0c9dd0e1-e02e-4516-9e1c-9265fdaeb1fb",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2020,
        -300
      ],
      "webhookId": "1cf67026-6651-4383-bd73-add6a9a23a48",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6901ad71-e1b9-4398-80a3-9529c25fb3b3",
      "name": "编辑字段_音频",
      "type": "n8n-nodes-base.set",
      "position": [
        520,
        -300
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "6d256ada-bee3-4b04-b353-18598addd3df",
      "name": "编辑字段_图像",
      "type": "n8n-nodes-base.set",
      "position": [
        520,
        0
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "564a7622-a9cf-4ca3-9771-3f491db51223",
      "name": "编辑字段_文本",
      "type": "n8n-nodes-base.set",
      "position": [
        520,
        -560
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "c845c087-90c7-46e4-bbda-f950cd296b54",
      "name": "Pinecone 向量存储",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        2920,
        520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cc5b804a-69ba-4f43-9066-bd1f0cf0b2b3",
      "name": "OpenAI 嵌入",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2920,
        660
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "1596ff83-3fe9-4900-ad2c-8eb5ca51dd8f",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0eead02f-a3d4-4ac3-8b63-fa025190e366",
      "name": "窗口缓冲记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        960,
        60
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "3394bbbf-ac4a-4f9a-9336-9c5f1812f3ee",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        -400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4dd520eb-5c35-4091-890b-e15538f5c3d2",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        -660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8270fa9f-5868-48d2-a5ac-09a59cececb2",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        -380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "cadcb52a-8a4c-41dd-9414-e46a07c7e500",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        460,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c16f77b5-4906-482f-baf6-e816df229341",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a589b921-3446-4713-975f-309c93b54b2e",
      "name": "便签 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1cac11a9-a2cf-431b-9d79-4fe36fd86d3b",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        780,
        -660
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e8e45470-39b0-440d-b6ab-4f27b613ef38",
      "name": "## 为什么选择 4o 模型?👆",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2880,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "d5695168-5c0e-4ed0-aa01-5ab531d10835",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1920,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "72f31b34-2731-4c1a-9116-b321559d3713",
      "name": "便签11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        -20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0e316d8d-7085-42ca-902c-410fc73d00af",
      "name": "下载音频",
      "type": "n8n-nodes-base.telegram",
      "position": [
        140,
        -300
      ],
      "webhookId": "91366374-b929-4571-b3b9-c247e26f44bf",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "940e0073-eeb2-4ba5-98e2-4912e1ab67eb",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -1220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bdc52072-069e-46a5-921d-998fa09cfbca",
      "name": "思考",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        3400,
        640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ceedab35-e0eb-4bf8-8481-0ea783375c48",
      "name": "发送电子邮件",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -440,
        520
      ],
      "webhookId": "63b5fba3-018f-4d5c-a807-fdda7a3003bb",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "26377cf7-6a54-4577-b8b8-23d8a649ae66",
      "name": "获取邮件",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        40,
        520
      ],
      "webhookId": "63190dc7-39a7-48f0-9472-529d906684ac",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "3f34843b-65af-41cc-afe2-9873c007fb4f",
      "name": "创建草稿",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -80,
        520
      ],
      "webhookId": "3f6a5be6-b10e-44c5-b236-df5cac738859",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "bdaa94a7-12d7-4603-91b7-fc0ada366229",
      "name": "邮件回复",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -320,
        520
      ],
      "webhookId": "5134751d-d300-43cf-984c-3821b6336ed1",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "423b1189-de27-4761-9bca-193f017f0adc",
      "name": "获取标签",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        160,
        520
      ],
      "webhookId": "844ef4cd-6169-41d9-adb6-ae39058dc4f6",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "bc55fac9-007c-4240-8c8d-a33a0c183116",
      "name": "标记邮件",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -200,
        520
      ],
      "webhookId": "0947aa2b-6fe0-4114-bba6-719d9b5be49d",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "13dc9bfc-8245-47a6-80fc-43895a080649",
      "name": "创建带参与者的活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1600,
        520
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "4f210b5c-695e-46e1-80c5-e2211c397db1",
      "name": "创建事件",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1460,
        520
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "49b35ba2-c30e-41bf-8ae0-46f3d396bcd7",
      "name": "获取活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1320,
        520
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "70124ef7-4764-488b-b78c-e411c8902c04",
      "name": "删除活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1180,
        520
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "c6e87c93-a51b-4fa0-a3e2-c33751c5b029",
      "name": "更新活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1040,
        520
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "1003ec9d-3ebf-4a17-b9b4-1fbe207e2428",
      "name": "获取联系人",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        500,
        520
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "db0ab4fb-fe76-4be2-9904-c84724adb017",
      "name": "添加联系人",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        660,
        520
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "3c6e8e86-c5bf-4434-8621-deb2066b0872",
      "name": "Tavily网页搜索",
      "type": "@n8n/n8n-nodes-langchain.toolHttpRequest",
      "position": [
        2300,
        540
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "2033cd1a-fd72-46aa-b3ca-061bb8f434d3",
      "name": "发布到X",
      "type": "n8n-nodes-base.twitterTool",
      "position": [
        2640,
        540
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ac066edd-796b-459a-9f49-aa5e549bae1b",
      "name": "在Notion中记录笔记",
      "type": "n8n-nodes-base.notionTool",
      "position": [
        1940,
        540
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "be889af3-5774-46d5-b40b-07d99f9c4637",
      "name": "GPT",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        760,
        40
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "5c82ad48-3db2-4f64-ad32-94bb83cc1d36",
      "name": "便签 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -500,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6061aa4e-67db-4788-a789-2de055bdd7f1",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a51ee294-0f24-4b18-a995-bf0b008b0d3f",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        980,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a3169f3b-04ad-42a8-8a2e-9449c4aa2ca3",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1840,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "602f0e39-5d52-47a3-970b-468f20f0c3c2",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2200,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b656529f-5251-43e2-8292-75dfe2382e90",
      "name": "便签18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2540,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "3593f2fc-fd87-4001-91b5-ded8bba1e1be",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3260,
        420
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2bf8c254-ae2d-426d-acff-0a3555564b9b",
      "name": "便签17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        -940
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Europe/Paris",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "7e3b09f2-eda9-4c56-8bbf-e1b9398f9631",
  "connections": {
    "GPT": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Think": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Edit Fields_Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Edit Fields_Text",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "DownloadAudio",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "OpenAI1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI1": {
      "main": [
        [
          {
            "node": "Edit Fields_Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post to X": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Emails": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Events": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Labels": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Email": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Contact": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Email Reply": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Contact": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Draft": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Label Emails": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "DownloadAudio": {
      "main": [
        [
          {
            "node": "OpenAI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields_Text": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tavily WebSearch": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields_Audio": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields_Image": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Take notes in Notion": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Event with Attendee": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

这是一个高级难度的工作流,适用于AI等场景。适合高级用户,包含 16+ 个节点的复杂工作流

需要付费吗?

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

工作流信息
难度等级
高级
节点数量51
分类1
节点类型18
难度说明

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

作者
Tianyi

Tianyi

@muzi

Ph.D. in Machine Learning from the University of Toulouse. Experienced automation consultant specializing in optimizing workflows for Content creation and Marketing teams.

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

分享此工作流