8
n8n 中文网amn8n.com

AI驱动的Telegram助手终极入门指南(PDF、Brave搜索和Google套件)

高级

这是一个AI, IT Ops领域的自动化工作流,包含 79 个节点。主要使用 Set, Code, Wait, Switch, Telegram 等节点,结合人工智能技术实现智能自动化。 使用Gemini、RAG PDF搜索和Google套件构建多功能Telegram机器人

前置要求
  • Telegram Bot Token
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
  • Qdrant 服务器连接信息
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "ALajUsJPZXlb0D1x",
  "meta": {
    "instanceId": "8ad8b6738e63af4d687c720070838eb8580b96c9e9d9662ad5ba28f7f9975568",
    "templateCredsSetupCompleted": true
  },
  "name": "AI 驱动的 Telegram 助手终极入门指南(PDF、Brave 搜索和 Google 套件)",
  "tags": [],
  "nodes": [
    {
      "id": "6f540a06-307d-4381-879c-22fc06d83d38",
      "name": "便签12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1200,
        -2460
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "49427549-ac69-48ff-8a1c-c00b20391adb",
      "name": "监听传入事件",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -600,
        -1120
      ],
      "webhookId": "322dce18-f93e-4f86-b9b1-3305519b7834",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "73100ab7-d606-445d-a39d-c8ef00a73c36",
      "name": "下载语音文件",
      "type": "n8n-nodes-base.telegram",
      "position": [
        120,
        40
      ],
      "webhookId": "89fbc9e1-ea19-491c-a6e6-3004324bef18",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "470d604b-f19b-4293-8ced-8d852f7cf81f",
      "name": "合并内容并设置属性",
      "type": "n8n-nodes-base.set",
      "position": [
        520,
        40
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "87eb6606-4f1e-4c42-96be-eda43a4b8463",
      "name": "将音频转换为文本",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        320,
        40
      ],
      "parameters": {},
      "typeVersion": 1.5
    },
    {
      "id": "147696af-a13d-4c1f-89c1-f20090fa2247",
      "name": "发送输入中动作",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -600,
        -1700
      ],
      "webhookId": "92a4d4b5-6609-4089-9bcf-37417ac68fa4",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "4effd9e6-718e-4b3d-a768-15c87e3fe214",
      "name": "便签13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -620,
        -1380
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c6e72643-dae3-42d2-836c-268ffa42a57b",
      "name": "便签14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5d22094e-3ba6-4e22-87cb-a49fbc25abdb",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        280,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "93224881-1742-4c93-ac54-bd75b9620811",
      "name": "便签 16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -900,
        -1120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "a607a802-d23d-40cf-9a24-2cce9aba5cd9",
      "name": "调用 Replicate API",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1180,
        40
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "638d6928-aab0-410f-8131-5b8aaa2ef174",
      "name": "通过 Telegram 发送 AI 语音回复",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1740,
        40
      ],
      "webhookId": "d03f0a66-2065-40f1-8900-08e2d9c4281c",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "69d14b4d-fb8e-4648-b2aa-ca62c808553a",
      "name": "下载 Replicate 音频",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1460,
        40
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "774e0deb-ebf3-48a6-a728-f39b17bbcbee",
      "name": "Google Gemini 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        100,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0cd0d71f-c700-47df-9f93-b15421e3c65e",
      "name": "发送 AI 文本回复(聊天)",
      "type": "n8n-nodes-base.telegram",
      "position": [
        540,
        660
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a36469f6-1352-466f-b1e7-a9ccb5da712d",
      "name": "通过 Telegram 发送 Brave 搜索结果",
      "type": "n8n-nodes-base.telegram",
      "position": [
        600,
        -1140
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "7cce4b9e-405e-40b5-8ba6-afb23bcd8408",
      "name": "思考",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        500,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "5fefa188-9115-4443-ba0e-9b801fe9e446",
      "name": "计算器",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        400,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "38027e72-7341-4b40-8568-fd7a45c00efa",
      "name": "日期与时间",
      "type": "n8n-nodes-base.dateTimeTool",
      "position": [
        600,
        880
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "615c9b57-1192-40ae-87c6-19da126c02df",
      "name": "Brave 搜索 2",
      "type": "@brave/n8n-nodes-brave-search.braveSearch",
      "position": [
        80,
        -1140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "842badfe-96df-4532-b05f-183455a3727d",
      "name": "Brave 搜索",
      "type": "@brave/n8n-nodes-brave-search.braveSearchTool",
      "position": [
        700,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "06ac04e8-cbc6-4645-8dcc-31affdebe8cf",
      "name": "Google Calendar 创建活动",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        300,
        880
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "fb06828c-0b95-41c3-b077-08788366ae01",
      "name": "Google Calendar 下一个节假日",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        800,
        880
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "7b894d20-dced-4696-9beb-eb3ef0a03937",
      "name": "问答链",
      "type": "@n8n/n8n-nodes-langchain.chainRetrievalQa",
      "position": [
        200,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.5
    },
    {
      "id": "bf878cbe-559c-4f7a-be37-306b2ee156dd",
      "name": "向量存储检索器",
      "type": "@n8n/n8n-nodes-langchain.retrieverVectorStore",
      "position": [
        280,
        1420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "a257406b-4cfd-4243-8969-46b49341898c",
      "name": "Qdrant 向量存储 1",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        200,
        1560
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ab0dbdd8-1881-4e44-aebe-b66927a79664",
      "name": "OpenAI 嵌入1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        200,
        1700
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "a21d4847-fd92-4533-8bae-f0dd177cf490",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        1140
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "66208578-57a8-4ce6-a45a-0f33decfc81b",
      "name": "用于 RAG 回答的 Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        100,
        1420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "0343b12a-28ae-41d5-872a-19d03259b6bd",
      "name": "通过 Telegram 发送 RAG 回答",
      "type": "n8n-nodes-base.telegram",
      "position": [
        620,
        1240
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "aa9e6bba-7469-436f-b634-ae741e985027",
      "name": "刷新集合",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        80,
        -2160
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "080d93f1-df36-4a64-8009-2b42fbc4a489",
      "name": "搜索 PDF",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        360,
        -2160
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "be453484-43af-44bd-8c7a-0ad3ce9dbf85",
      "name": "通过 Telegram 发送 PDF 搜索结果",
      "type": "n8n-nodes-base.telegram",
      "position": [
        600,
        -2160
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c214369a-c777-49b1-8455-05689e649c7a",
      "name": "发送 Qdrant 索引确认",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2320,
        -1920
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "513472b6-6ab5-4a8f-9734-58dc92891a76",
      "name": "Mistral 上传",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        500,
        -1740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4f760374-e51f-4060-827c-f9c45cbc3385",
      "name": "Mistral 签名 URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        820,
        -1740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a1daf9ad-1585-41e9-9908-e66f04d66f84",
      "name": "Mistral 文档 OCR",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1140,
        -1740
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "4a57ec56-0955-44f2-bb71-712f91280fc7",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1860,
        -1740
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "e8372f21-27f1-4aa0-9a77-420a843ed87f",
      "name": "OpenAI 嵌入",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        2660,
        -1540
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "9d2487e1-ef23-48c2-8beb-4b7175ee4777",
      "name": "默认数据加载器",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        2760,
        -1560
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fef676b7-5e9e-4ebc-8eab-50a24d46f061",
      "name": "令牌分割器",
      "type": "@n8n/n8n-nodes-langchain.textSplitterTokenSplitter",
      "position": [
        2780,
        -1420
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1baa5ead-f0cb-41a5-b1b8-2f42c57eb82d",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        1460,
        -1740
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f63ddfa2-523a-40be-b246-11ea53768cdb",
      "name": "等待",
      "type": "n8n-nodes-base.wait",
      "position": [
        3180,
        -1720
      ],
      "webhookId": "1000b40d-5dc5-4795-9dd2-8a23653c2b49",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5da41e9e-0a2a-4a62-8e86-fbaeae0f5791",
      "name": "Qdrant Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStoreQdrant",
      "position": [
        2700,
        -1720
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "ee2047fd-3a20-4813-8f05-d5d499e36c16",
      "name": "设置页面",
      "type": "n8n-nodes-base.set",
      "position": [
        2320,
        -1720
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "ce674bea-0e4a-4b5b-a205-d11a6b187548",
      "name": "获取 PDF",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        180,
        -1740
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "b8a9c4bb-af0c-4810-81a3-5449e69d3ca4",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -1940
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b0f639cc-4cf2-45db-8d8b-0582cfb0e674",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -920
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6c57d895-f217-49e8-8a5f-bd46e947e456",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -1240
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "978317f1-4052-4f54-b262-382e71bdb80f",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        540
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2e957657-5a6c-4033-b88f-d08ea4dfdc06",
      "name": "AI Agent1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        180,
        660
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "689c0e8b-1a78-4076-a2d2-0169bb0e94e1",
      "name": "确定内容类型 1",
      "type": "n8n-nodes-base.switch",
      "position": [
        -460,
        -1080
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "3d8c4eea-8c89-41b6-aa84-f81ce11fe673",
      "name": "Google Gemini聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        700,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "01e655ac-92d8-41a0-8bf2-958ded989bf1",
      "name": "思考 1",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        1100,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ae27817c-4208-4328-9712-707404a23190",
      "name": "计算器1",
      "type": "@n8n/n8n-nodes-langchain.toolCalculator",
      "position": [
        1000,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e87e463c-6b5c-4df8-838b-3b302a9b34a8",
      "name": "日期和时间 1",
      "type": "n8n-nodes-base.dateTimeTool",
      "position": [
        1200,
        300
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "d4de61f1-54e6-49ad-aef4-c3f9ecdaf97b",
      "name": "Brave 搜索 1",
      "type": "@brave/n8n-nodes-brave-search.braveSearchTool",
      "position": [
        1300,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8679a8a1-6cbd-43bd-bc9b-3a6ede23217f",
      "name": "Google Calendar 创建活动 1",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        900,
        300
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "5a042f2e-979d-4e3d-bd71-841e77f71ebe",
      "name": "Google Calendar 下一个节假日 1",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1400,
        300
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "65bcb0e9-0fb7-4808-aa58-9a5c8f006f31",
      "name": "AI 代理 3",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        780,
        40
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "740c2ee1-b683-4c39-bd74-b410fd110a4f",
      "name": "窗口缓冲内存 2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        800,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fc4de923-7f86-4260-9892-ab959fea678f",
      "name": "帮助响应器 1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1080,
        -1700
      ],
      "webhookId": "ab573ae8-05e4-41bb-bec7-fca1233fc0bb",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "053bbd12-ed22-492c-a214-7fb5a525329e",
      "name": "窗口缓冲内存",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        200,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "281e3787-048a-445a-b18f-f3eaed7eaf72",
      "name": "Airbnb MCP",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1580,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "8b483aef-8f3a-4419-ac16-ff0221c081ca",
      "name": "Airbnb 工具",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1500,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "be91115a-bb69-46aa-85f4-8dde900ceba0",
      "name": "Airbnb MCP 1",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        1000,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "ab93549d-c501-431f-9e18-1efdc2345c0d",
      "name": "Airbnb 工具 1",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        920,
        880
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f02ca912-93d8-499f-bdcc-3dcbd2a6d4b5",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        320,
        -480
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "d81d6347-bf1a-4518-88c6-478256623737",
      "name": "Google Docs",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        540,
        -480
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "bd7d1e56-f3a5-433a-89dc-859e3e2f1db4",
      "name": "Google Drive 1",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        760,
        -480
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c46f7d94-f9f2-4024-9470-05a7c091cf53",
      "name": "Google Drive 2",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        980,
        -480
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "c076b601-5dc2-4f15-baf2-9d22734b0e23",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        -480
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "dc406725-5970-4621-ae8c-ed9fd0e979f8",
      "name": "通过 Telegram 发送发票 PDF",
      "type": "n8n-nodes-base.telegram",
      "position": [
        980,
        -600
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "91f9cf53-d7cf-467b-a329-e20d20fc59f2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -1780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "07cc7026-b939-4342-a7b1-992c3fe40f06",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -620
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4858c2d0-fc93-49a3-b16c-24fcbd6ccf45",
      "name": "Google Calendar 2",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        100,
        -860
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "5fff106a-f0f0-4352-8ddb-e9857152ebc9",
      "name": "通过 Telegram 发送生日列表",
      "type": "n8n-nodes-base.telegram",
      "position": [
        620,
        -860
      ],
      "webhookId": "7aa1743e-3bb0-439c-a99b-0c311321c03b",
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "f78f7960-94c4-407c-95a3-1d5e688d6180",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1180,
        -1780
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8fca9aba-a13b-4cd1-b8e2-d4d418ac20e8",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        -2260
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "012ed105-340a-417c-b5c2-b53ef1643635",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Think1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get PDF": {
      "main": [
        [
          {
            "node": "Mistral Upload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set page": {
      "main": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent1": {
      "main": [
        [
          {
            "node": "Send AI Text Response (Chat)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent3": {
      "main": [
        [
          {
            "node": "Call Replicate API",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Airbnb MCP": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Airbnb MCP1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Calculator1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Docs": {
      "main": [
        [
          {
            "node": "Google Drive1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Search PDFs": {
      "main": [
        [
          {
            "node": "Send PDF Search Results via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Airbnb Tools": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Brave Search": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive": {
      "main": [
        [
          {
            "node": "Google Docs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Airbnb Tools1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Brave Search1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive1": {
      "main": [
        [
          {
            "node": "Google Drive2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send Invoice PDF via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive2": {
      "main": [
        []
      ]
    },
    "Brave Search 2": {
      "main": [
        [
          {
            "node": "Send Brave Search Results via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Upload": {
      "main": [
        [
          {
            "node": "Mistral Signed URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Token Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Send Qdrant Indexing Confirmation",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral DOC OCR": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar 2": {
      "main": [
        [
          {
            "node": "Send Birthday List via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Call Replicate API": {
      "main": [
        [
          {
            "node": "Download Replicate Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Qdrant Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Signed URL": {
      "main": [
        [
          {
            "node": "Mistral DOC OCR",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Refresh collection": {
      "main": [
        [
          {
            "node": "Search PDFs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Qdrant Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Download voice file": {
      "main": [
        [
          {
            "node": "Convert audio to text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Qdrant Vector Store": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Qdrant Vector Store1": {
      "ai_vectorStore": [
        [
          {
            "node": "Vector Store Retriever",
            "type": "ai_vectorStore",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Convert audio to text": {
      "main": [
        [
          {
            "node": "Combine content and set properties",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini for RAG Answer": {
      "ai_languageModel": [
        [
          {
            "node": "Question and Answer Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory2": {
      "ai_memory": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Vector Store Retriever": {
      "ai_retriever": [
        [
          {
            "node": "Question and Answer Chain",
            "type": "ai_retriever",
            "index": 0
          }
        ]
      ]
    },
    "Determine content type1": {
      "main": [
        [
          {
            "node": "Help Responder1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Refresh collection",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get PDF",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Question and Answer Chain",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Google Calendar 2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Brave Search 2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Download voice file",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Help Responder1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Agent1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download Replicate Audio": {
      "main": [
        [
          {
            "node": "Send AI Voice Response via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Question and Answer Chain": {
      "main": [
        [
          {
            "node": "Send RAG Answer via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Listen for incoming events": {
      "main": [
        [
          {
            "node": "Send Typing action",
            "type": "main",
            "index": 0
          },
          {
            "node": "Determine content type1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar Create Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar Next Holiday": {
      "ai_tool": [
        [
          {
            "node": "AI Agent1",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar Create Event1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar Next Holiday1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent3",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Combine content and set properties": {
      "main": [
        [
          {
            "node": "AI Agent3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, IT 运维

需要付费吗?

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

工作流信息
难度等级
高级
节点数量79
分类2
节点类型29
难度说明

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

外部链接
在 n8n.io 查看

分享此工作流