8
n8n 中文网amn8n.com

使用Gemini-2.0-Flash发送AI增强经济日历提醒到Telegram

高级

这是一个Crypto Trading, Multimodal AI领域的自动化工作流,包含 17 个节点。主要使用 Set, Code, Telegram, HttpRequest, Agent 等节点。 使用Gemini-2.0-Flash发送AI增强经济日历提醒到Telegram

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "d04643ba872bb0fb252ed2c8197858d58cc47dd3c15ff6d08b19addd679e927b",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "bc91168e-977b-439a-816f-563fa3db543f",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1040,
        -1000
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c0c6c621-49cb-4846-8903-ac8e8ae05907",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -400,
        -960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6bb50e48-f63b-4d46-92fa-fb4c74eaf9f8",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        80,
        -1320
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "11accd94-f002-4c74-8dff-f5441ce5d6a7",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1900,
        -520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "03ac8fb2-fb27-4756-8b59-8ae7e36020f8",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2360,
        -520
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c989f614-6a6f-4dfe-adeb-70f01d114fa6",
      "name": "动态设置日期",
      "type": "n8n-nodes-base.code",
      "position": [
        -580,
        -700
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "8b9b3cc5-2fb9-4660-830a-c836be34d192",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        980,
        -480
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "6784cc22-d801-4ba3-927b-bde09459047e",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1300,
        120
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7af08604-aabe-4591-8ac0-36610362f663",
      "name": "整理输入",
      "type": "n8n-nodes-base.code",
      "position": [
        780,
        -740
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "540231c5-32d7-4acd-85f1-140cc9c4c128",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        -20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5c340938-0f85-4ce1-9100-853d321053b5",
      "name": "Google Gemini 聊天模型(格式化输出)",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        980,
        120
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cbc1d3fe-a405-4668-85a7-b6f6213affdf",
      "name": "每 7 天调度一次",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -920,
        -720
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "421aa50c-6517-473f-9bab-2f39c6ae975f",
      "name": "通过 Telegram 发送即将上市的 IPO 日历更新",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2020,
        -180
      ],
      "webhookId": "3634321b-06c5-4321-8bf1-5ce56ca4ad38",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "13cc344c-09b3-4b11-8097-9dec4031c2ce",
      "name": "设置 RapidAPI 的 API 密钥和日期",
      "type": "n8n-nodes-base.set",
      "position": [
        -260,
        -700
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "761a2ad4-00de-48a6-8552-08f70dc30592",
      "name": "筛选中高影响度新闻",
      "type": "n8n-nodes-base.code",
      "position": [
        560,
        -740
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "6c8f98db-d75d-4e4d-8b93-3162f205bae1",
      "name": "获取即将发生的新闻",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        -900
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c634bc35-4b6e-4ca0-a374-5b36d05d1e37",
      "name": "更新文本表达式",
      "type": "n8n-nodes-base.code",
      "position": [
        1520,
        -180
      ],
      "parameters": {},
      "typeVersion": 2
    }
  ],
  "pinData": {},
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Update expression for text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Organizes Input": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gets Upcoming News": {
      "main": [
        [
          {
            "node": "Filter Medium & High Impact News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Every 7  Days": {
      "main": [
        [
          {
            "node": "Dynamically Sets the Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Dynamically Sets the Date": {
      "main": [
        [
          {
            "node": "Set API Key for RapidAPI & Dates",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update expression for text": {
      "main": [
        [
          {
            "node": "Send Upcoming IPO Calendar Updates via Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter Medium & High Impact News": {
      "main": [
        [
          {
            "node": "Organizes Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set API Key for RapidAPI & Dates": {
      "main": [
        [
          {
            "node": "Gets Upcoming News",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model (Formats Output)": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Send Upcoming IPO Calendar Updates via Telegram": {
      "main": [
        []
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 加密货币交易, 多模态 AI

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流