8
n8n 中文网amn8n.com

金融开发 | AI助手

中级

这是一个AI领域的自动化工作流,包含 9 个节点。主要使用 Set, Telegram, Agent, TelegramTrigger, ChatTrigger 等节点,结合人工智能技术实现智能自动化。 💰 金融AI助手 - 支持Telegram和WhatsApp

前置要求
  • Telegram Bot Token
  • OpenAI API Key
  • PostgreSQL 数据库连接信息
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "Ot2eAIwN4WcEfK27",
  "meta": {
    "instanceId": "7ec217dac074bfef73627690c901899089826bac2558dc377a3958ae7305a09b",
    "templateCredsSetupCompleted": true
  },
  "name": "金融开发 | AI Agent",
  "tags": [],
  "nodes": [
    {
      "id": "b0090b4f-554b-4e5c-9108-47d32628e200",
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        220,
        0
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "bf0b782d-d2db-4c0d-8c13-0d93b2607cd4",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        100,
        220
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "6ed1e80a-41ba-4b7e-8db2-2929585b4167",
      "name": "Postgres 聊天记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryPostgresChat",
      "position": [
        260,
        220
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "0e7a40c9-93fd-41ec-9711-5f3ca6d076ca",
      "name": "注册交易",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        420,
        220
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "da9d4d5a-bc6e-4261-bf71-edcd4089fa30",
      "name": "聊天",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -240,
        -180
      ],
      "webhookId": "30dc5ca2-b504-4fff-81a9-3675abbc9fd9",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "b46d755d-7e34-4148-a8cf-7000bdb3dd9f",
      "name": "Telegram 触发器",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -240,
        0
      ],
      "webhookId": "c9065337-71a9-4dd3-9a5a-23978ae4a8df",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "491fef07-5982-415c-91e0-2fec78c18f80",
      "name": "标准化",
      "type": "n8n-nodes-base.set",
      "position": [
        -20,
        0
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "3a129ebf-34f4-4887-8949-8ca2b834c529",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        580,
        0
      ],
      "webhookId": "91b61951-671c-456c-a470-9cd41266f123",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "e5929da6-17bd-4602-b90e-60b7d78cd228",
      "name": "余额报告",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        580,
        220
      ],
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1",
    "executionTimeout": 3600,
    "saveDataSuccessExecution": "all"
  },
  "versionId": "64058215-7a86-483c-855d-8e7fdf66d940",
  "connections": {
    "Chat": {
      "main": [
        []
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Normalize": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Balance report": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Normalize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Postgres Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Register Transaction": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 人工智能

需要付费吗?

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

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

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

作者
Bruno Dias

Bruno Dias

@brunodias

Especialista em automações, IA e marketing digital. #n8n #IA #automacao #make

外部链接
在 n8n.io 查看

分享此工作流