8
n8n 中文网amn8n.com

一体化智能体

高级

这是一个AI Chatbot, Multimodal AI领域的自动化工作流,包含 30 个节点。主要使用 If, Gmail, Telegram, GmailTool, DateTimeTool 等节点。 个人AI智能体

前置要求
  • Google 账号和 Gmail API 凭证
  • Telegram Bot Token
  • Google Sheets API 凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "FaNp1mjSIXbxm8h0",
  "meta": {
    "instanceId": "061ca141d020a6e1355b8c7fe05f92a699e37e92079ad2e150a506ee8bbe9e11"
  },
  "name": "一体化智能体",
  "tags": [],
  "nodes": [
    {
      "id": "247d71ed-0b6d-45f8-a43f-3fcd18a6d337",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -208,
        656
      ],
      "parameters": {
        "text": "={{ $json.message.text }}\n",
        "options": {
          "systemMessage": "=You are [Your Name]’s Smart Assistant\n\n# Responsibilities:\nHandle Gmail and calendar-related tasks accurately and efficiently using the available tools.\n\n# Instructions:\n## Gmail Tasks:\nFor any Gmail-related request from [Your Name], use the Gmail tools: Send, Reply, Label, Delete, and Get Many.\n\nIf [Your Name] provides only a name without an email address, ask for the email address before proceeding.\n\nAuto-complete any missing information (e.g., links, answers, summaries) when drafting or replying to emails.\n\n## Calendar Tasks:\nIf [Your Name] requests an appointment, use the Calendar tool to schedule it at their preferred time.\n\nBefore scheduling, check for conflicts at the preferred time.\n\nIf a meeting already exists, do not create the appointment. Instead, notify [Your Name] about the conflict.\n\nUse the Date and Time tool to properly interpret dates and times.\n\n## Handling Contacts:\nIf [Your Name] provides only a name to send an email, first check the Google Sheet for their email address.\n\nIf the email is not found, ask [Your Name] to provide it.\n\nOnce received, use the email to send the message and update the Google Sheet by adding the new email alongside the person's name.\n\n# Behavior:\nAlways stay efficient, accurate, and helpful in all tasks and interactions.\n\nPrioritize clarity and speed in executing requests."
        },
        "promptType": "define"
      },
      "typeVersion": 2
    },
    {
      "id": "bba55df3-839e-4eaa-aa3c-e43178ac754e",
      "name": "发送",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -432,
        896
      ],
      "webhookId": "f82621ed-6e2e-464b-98c4-c81523615c43",
      "parameters": {
        "sendTo": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('To', ``, 'string') }}",
        "message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
        "options": {
          "appendAttribution": false
        },
        "subject": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Subject', ``, 'string') }}",
        "emailType": "text"
      },
      "typeVersion": 2.1
    },
    {
      "id": "91797b93-a698-41e3-9cf0-23999de4f442",
      "name": "回复",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -304,
        896
      ],
      "webhookId": "f82621ed-6e2e-464b-98c4-c81523615c43",
      "parameters": {
        "message": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message', ``, 'string') }}",
        "options": {
          "appendAttribution": false
        },
        "emailType": "text",
        "messageId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message_ID', ``, 'string') }}",
        "operation": "reply"
      },
      "typeVersion": 2.1
    },
    {
      "id": "621d5766-89d5-4d79-8f72-1599f31b7a53",
      "name": "删除",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -192,
        896
      ],
      "webhookId": "f82621ed-6e2e-464b-98c4-c81523615c43",
      "parameters": {
        "messageId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Message_ID', ``, 'string') }}",
        "operation": "delete"
      },
      "typeVersion": 2.1
    },
    {
      "id": "a864bf34-35ae-4559-8b70-b03f1ae33bb7",
      "name": "获取多个",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        -64,
        896
      ],
      "webhookId": "f82621ed-6e2e-464b-98c4-c81523615c43",
      "parameters": {
        "simple": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Simplify', ``, 'boolean') }}",
        "filters": {},
        "options": {},
        "operation": "getAll",
        "returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}"
      },
      "typeVersion": 2.1
    },
    {
      "id": "be142e1e-d873-4e22-8d1f-7b904dcae4b8",
      "name": "Gemini",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -752,
        896
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "099c9d42-8146-4772-980d-d1e2b4b3fcaf",
      "name": "Telegram触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -832,
        656
      ],
      "webhookId": "4b8ff4f7-2f08-4460-a355-6aa965c9d919",
      "parameters": {
        "updates": [
          "message"
        ],
        "additionalFields": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "c5a52651-1fd9-4674-875b-12e2e62a5669",
      "name": "发送短信",
      "type": "n8n-nodes-base.telegram",
      "position": [
        352,
        656
      ],
      "webhookId": "cc70e557-35b5-4a79-a9fd-8e01bb80882c",
      "parameters": {
        "text": "={{ $json.output }}",
        "chatId": "={{ $('Telegram Trigger').item.json.message.chat.id }}",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "bfcf789b-0faf-4897-9124-7bca05cecb93",
      "name": "Gmail 触发器",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        -896,
        80
      ],
      "parameters": {
        "filters": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "c3c53036-2b69-47e7-a7c8-39501b4e9384",
      "name": "创建事件",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        192,
        896
      ],
      "parameters": {
        "end": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('End', ``, 'string') }}",
        "start": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Start', ``, 'string') }}",
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": "12712b7aba31856a75d127a01be4994372f5f10c5449c805f0d5d049789c9516@group.calendar.google.com",
          "cachedResultName": "For the Agent"
        },
        "additionalFields": {
          "summary": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Summary', ``, 'string') }}",
          "attendees": [
            "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('attendees0_Attendees', ``, 'string') }}"
          ],
          "description": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Description', ``, 'string') }}",
          "conferenceDataUi": {}
        },
        "useDefaultReminders": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Use_Default_Reminders', ``, 'boolean') }}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "b181690c-3c15-4221-9142-372a716f5847",
      "name": "获取多个2",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        320,
        896
      ],
      "parameters": {
        "options": {},
        "timeMax": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Before', ``, 'string') }}",
        "timeMin": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('After', ``, 'string') }}",
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": "12712b7aba31856a75d127a01be4994372f5f10c5449c805f0d5d049789c9516@group.calendar.google.com",
          "cachedResultName": "For the Agent"
        },
        "operation": "getAll",
        "returnAll": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Return_All', ``, 'boolean') }}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "27234a63-fccb-4642-8d4e-da519d6fee01",
      "name": "删除2",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        432,
        896
      ],
      "parameters": {
        "eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}",
        "options": {},
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": "12712b7aba31856a75d127a01be4994372f5f10c5449c805f0d5d049789c9516@group.calendar.google.com",
          "cachedResultName": "For the Agent"
        },
        "operation": "delete"
      },
      "typeVersion": 1.3
    },
    {
      "id": "57487467-132a-4b7c-8624-966b686c6f8d",
      "name": "发送文本消息1",
      "type": "n8n-nodes-base.telegram",
      "position": [
        80,
        -96
      ],
      "webhookId": "cc70e557-35b5-4a79-a9fd-8e01bb80882c",
      "parameters": {
        "text": "={{ $json.text }}",
        "chatId": "=5900086927",
        "additionalFields": {
          "appendAttribution": false
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9ea741a1-841b-4753-be4c-3f2aa4f2fd0b",
      "name": "条件判断",
      "type": "n8n-nodes-base.if",
      "position": [
        -656,
        80
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "8cc6db1c-bb33-4411-9c5e-401c845ed491",
              "operator": {
                "name": "filter.operator.equals",
                "type": "string",
                "operation": "equals"
              },
              "leftValue": "={{ $json.labels[0].id }}",
              "rightValue": "INBOX"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "2be0d390-f48a-4468-afe6-8fd2a95dec62",
      "name": "无操作,不执行任何操作",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -416,
        208
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3692648e-7aa5-47f7-9a5c-978baa8cd1b9",
      "name": "日期与时间",
      "type": "n8n-nodes-base.dateTimeTool",
      "position": [
        752,
        896
      ],
      "parameters": {
        "options": {
          "timezone": "Asia/Dhaka"
        },
        "includeTime": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Include_Current_Time', ``, 'boolean') }}",
        "outputFieldName": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Output_Field_Name', ``, 'string') }}"
      },
      "typeVersion": 2
    },
    {
      "id": "0f5144c4-c468-4a09-b40b-73437bcd91f3",
      "name": "Basic LLM Chain",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -304,
        64
      ],
      "parameters": {
        "text": "=From: {{ $json.From }}\nMail: {{ $json.snippet }}\nTime: {{ $now.format('yyyy-MM-dd (hh:mm a)') }}\n\nwhen you get a mail give me the complete mail and on the top give the type of the mail and the Time and also who send that.\n\nDon't need the reply.",
        "batching": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "8f920cb0-0a0b-4193-8fa0-42435d9c59a4",
      "name": "文本分类器",
      "type": "@n8n/n8n-nodes-langchain.textClassifier",
      "position": [
        80,
        208
      ],
      "parameters": {
        "options": {},
        "inputText": "={{ $('Gmail Trigger').item.json.snippet }}",
        "categories": {
          "categories": [
            {
              "category": "Client",
              "description": "=Mails from people interested in hiring or working with me."
            },
            {
              "category": "Sponsorship Request",
              "description": "=Mails about collaboration or promotion offers for products or tools."
            },
            {
              "category": "Not Business",
              "description": "Mails that are personal, spam, or unrelated to work."
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "dcc5fa2a-ef4e-4841-ba05-d06b9898b5bf",
      "name": "更新",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        560,
        896
      ],
      "parameters": {
        "eventId": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Event_ID', ``, 'string') }}",
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": "12712b7aba31856a75d127a01be4994372f5f10c5449c805f0d5d049789c9516@group.calendar.google.com",
          "cachedResultName": "For the Agent"
        },
        "operation": "update",
        "updateFields": {},
        "useDefaultReminders": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Use_Default_Reminders', ``, 'boolean') }}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "ac9cd97e-4c8c-43c2-812f-6eed8c417744",
      "name": "回复消息",
      "type": "n8n-nodes-base.gmail",
      "position": [
        848,
        32
      ],
      "webhookId": "97406586-9622-485f-a96e-bd7f81918b91",
      "parameters": {
        "message": "=Hi \n\nThanks for reaching out! I’ve received your message and will get back to you shortly with more details.\n\nLooking forward to connecting soon.\n\nBest,\nRakin",
        "options": {},
        "emailType": "text",
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "reply"
      },
      "typeVersion": 2.1
    },
    {
      "id": "b68eb497-82da-4bfc-971d-b408bd009f27",
      "name": "非商务",
      "type": "n8n-nodes-base.gmail",
      "position": [
        560,
        400
      ],
      "webhookId": "fd229089-ffb7-46fe-808f-5a797a1b05b9",
      "parameters": {
        "labelIds": [
          "Label_2065466039386271982"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "5e4748c7-9257-4609-ac93-b9b47c6480ad",
      "name": "回复消息1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        848,
        224
      ],
      "webhookId": "97406586-9622-485f-a96e-bd7f81918b91",
      "parameters": {
        "message": "=Hi,\n\nThanks for your interest in collaborating! My rate for promoting a product in a 6–8 minute video is $400.\n\nIf that works for you, feel free to let me know and we can discuss the next steps.\n\nBest regards,\nRakin Jakaria",
        "options": {},
        "emailType": "text",
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "reply"
      },
      "typeVersion": 2.1
    },
    {
      "id": "151a4629-8d42-4067-80c8-d6f3d6914387",
      "name": "获取联系人",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        1104,
        896
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1UTOyNDNeRJj6nRuladtP61ljeZg6xXK3O1Kn3Dq7t_A/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1UTOyNDNeRJj6nRuladtP61ljeZg6xXK3O1Kn3Dq7t_A",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1UTOyNDNeRJj6nRuladtP61ljeZg6xXK3O1Kn3Dq7t_A/edit?usp=drivesdk",
          "cachedResultName": "Contact Details"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "a65d8d91-154f-4549-8c9d-f1e18cddc797",
      "name": "添加联系人",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        992,
        896
      ],
      "parameters": {
        "columns": {
          "value": {
            "Name": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Name', ``, 'string') }}",
            "Email Address": "={{ /*n8n-auto-generated-fromAI-override*/ $fromAI('Email_Address', ``, 'string') }}"
          },
          "schema": [
            {
              "id": "Name",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Email Address",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Email Address",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1UTOyNDNeRJj6nRuladtP61ljeZg6xXK3O1Kn3Dq7t_A/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1UTOyNDNeRJj6nRuladtP61ljeZg6xXK3O1Kn3Dq7t_A",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1UTOyNDNeRJj6nRuladtP61ljeZg6xXK3O1Kn3Dq7t_A/edit?usp=drivesdk",
          "cachedResultName": "Contact Details"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "92df96af-8b12-4b48-9630-1f258d16af00",
      "name": "客户",
      "type": "n8n-nodes-base.gmail",
      "position": [
        560,
        32
      ],
      "webhookId": "fd229089-ffb7-46fe-808f-5a797a1b05b9",
      "parameters": {
        "labelIds": [
          "Label_1534483885587560921"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "29d848ba-4177-454a-b1cb-aad13ffc0599",
      "name": "赞助请求",
      "type": "n8n-nodes-base.gmail",
      "position": [
        560,
        224
      ],
      "webhookId": "fd229089-ffb7-46fe-808f-5a797a1b05b9",
      "parameters": {
        "labelIds": [
          "Label_3681145886880643071"
        ],
        "messageId": "={{ $('Gmail Trigger').item.json.id }}",
        "operation": "addLabels"
      },
      "typeVersion": 2.1
    },
    {
      "id": "25886543-7fc9-41bf-8354-95e1cd204970",
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -576,
        896
      ],
      "parameters": {
        "sessionKey": "={{ $json.message.chat.id }}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "8f0249f5-72d4-44a3-893d-f49a726e8909",
      "name": "Gemini1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        80,
        416
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1
    },
    {
      "id": "e018f9e3-1f07-449c-bf4b-f5a5207a26d0",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1952,
        160
      ],
      "parameters": {
        "color": 3,
        "width": 900,
        "height": 840,
        "content": "# 🛠️ 设置指南"
      },
      "typeVersion": 1
    },
    {
      "id": "bf296a3d-37d6-4d98-b300-0ddc1c419607",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1856,
        -384
      ],
      "parameters": {
        "color": 3,
        "width": 608,
        "height": 512,
        "content": "## 从这里开始:分步 YouTube 教程 :star:"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "023ba63b-5725-45db-a032-7e12f647d171",
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Reply": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Client": {
      "main": [
        [
          {
            "node": "Reply to a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Delete": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gemini": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Update": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gemini1": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Text Classifier",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Many": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Many2": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Date & Time": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Add Contacts": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create Event": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get Contacts": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Trigger": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Text Classifier",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send a text message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Text Classifier": {
      "main": [
        [
          {
            "node": "Client",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Sponsorship Request",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Not Business",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sponsorship Request": {
      "main": [
        [
          {
            "node": "Reply to a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - AI 聊天机器人, 多模态 AI

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流