8
n8n 中文网amn8n.com

AI新闻到Telegram

中级

这是一个Personal Productivity, AI Summarization领域的自动化工作流,包含 10 个节点。主要使用 JinaAi, Telegram, ChainLlm, RssFeedReadTrigger, LmChatGoogleGemini 等节点。 使用Gemini 2.5 Flash生成AI新闻摘要并发送到Telegram

前置要求
  • Telegram Bot Token
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "zDkzvOtSzX6bWfNH",
  "meta": {
    "instanceId": "e57d916222032d19fc69f0f34e059f722d4f608515cab84ee2db9eaaa4240714",
    "templateCredsSetupCompleted": true
  },
  "name": "AI 新闻到 Telegram",
  "tags": [],
  "nodes": [
    {
      "id": "0977ff6e-f60d-4ace-aa2f-97b26c624703",
      "name": "生成报告",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        528,
        112
      ],
      "parameters": {
        "text": "=You are an expert AI Technology Analyst. Your task is to process scraped articles from two distinct news sources: \"AI Tech Suite News\" and \"AI-News\". Your goal is to synthesize this information into a single, concise, and insightful daily intelligence briefing.\n\nAnalyze the content from both sources to identify the most significant news, find common themes, and highlight unique stories from each. The final output must be a well-structured report formatted using ONLY the following Telegram-supported HTML tags: <b>, <i>, <u>, <s>, <code>, <pre>, and <a>. For lists, DO NOT use <ul>, <ol>, or <li> tags. Instead, create lists by starting each item on a new line with a hyphen character (-).\n\n\n**Input Data:**\n\n* **Data from AI-News:**\n    `\nTitle : {{ $json.title }}\nContent : {{ $json.content }}\nPublished : {{ $json.publishedTime }}\n`\n\n**Required Output Structure:**\n\n---\n\n**Today's AI Intelligence Briefing**\n**Date:** {{ new Date().toLocaleDateString('en-GB', { day: 'numeric', month: 'long', year: 'numeric' }) }}\n\n**Top Headlines**\n*(Identify the 3-4 most critical and impactful news items from across both sources. Present them as concise, single-sentence bullet points.)*\n* * * **Deep Dive: Major Developments & Common Themes**\n*(Analyze stories covered by both sources. For each major theme or event, provide a 2-3 sentence summary explaining the key points, the companies involved, and why it's significant. Use bold subheadings for each theme.)*\n\n**Theme/Story 1:**\n...\n\n**Theme/Story 2:**\n...\n\n\n**IMPORTANT** : Generate Text that can be sent to telegram chat as text message.",
        "batching": {},
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "7132f95b-8154-411b-9b2c-9956e8744fc8",
      "name": "Gemini 2.5 Flash",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        736,
        -32
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "googlePalmApi": {
          "id": "CRAXPLUPIbNPKb58",
          "name": "Google Gemini API"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7bace8d8-2a5e-4eb8-89fd-ee9e44f128ff",
      "name": "发送文本消息",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1024,
        112
      ],
      "webhookId": "e82b0b62-3f1e-43b9-8785-7beb669ef7db",
      "parameters": {
        "text": "={{ $json.text }}",
        "chatId": "CHAT_ID",
        "additionalFields": {
          "parse_mode": "HTML"
        }
      },
      "credentials": {
        "telegramApi": {
          "id": "G3ahQAPH5eCYY6FB",
          "name": "Telegram account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "9583e193-69f6-45e5-a346-9afc4bcc3e28",
      "name": "AI 新闻源",
      "type": "n8n-nodes-base.rssFeedReadTrigger",
      "position": [
        -80,
        112
      ],
      "parameters": {
        "feedUrl": "https://www.artificialintelligence-news.com/feed/",
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "c6bc8303-859f-4f94-8610-d68cb02ab9c6",
      "name": "从 AI 新闻网站读取新闻",
      "type": "n8n-nodes-base.jinaAi",
      "position": [
        224,
        112
      ],
      "parameters": {
        "url": "={{ $json.link }}",
        "options": {},
        "requestOptions": {}
      },
      "credentials": {
        "jinaAiApi": {
          "id": "n4cj9W8wOfjdQiaB",
          "name": "Jina AI account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3e84bc24-1aab-4d23-b34b-a76edd077111",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -176,
        -112
      ],
      "parameters": {
        "width": 288,
        "height": 576,
        "content": "## **`AI 新闻源`**"
      },
      "typeVersion": 1
    },
    {
      "id": "a517cd26-0a88-4441-8e67-550fdb111c5b",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        128,
        -112
      ],
      "parameters": {
        "color": 7,
        "width": 288,
        "height": 576,
        "content": "## **`从 AI 新闻网站读取新闻`**"
      },
      "typeVersion": 1
    },
    {
      "id": "41df0193-7200-46b1-a8c1-d82d975aa2ab",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        -112
      ],
      "parameters": {
        "color": 2,
        "width": 464,
        "height": 576,
        "content": "## **`生成报告`**"
      },
      "typeVersion": 1
    },
    {
      "id": "d38ce4da-0ccc-4eb6-a6c1-01b15b873535",
      "name": "便签 3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        -112
      ],
      "parameters": {
        "color": 6,
        "width": 320,
        "height": 576,
        "content": "## **`在 Telegram 中发送文本消息`**"
      },
      "typeVersion": 1
    },
    {
      "id": "6ba04be9-4cd6-4a06-b35d-eb9ecd56a2e0",
      "name": "便签 4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -480,
        -112
      ],
      "parameters": {
        "color": 3,
        "width": 288,
        "height": 576,
        "content": "## 工作流摘要:AI 新闻到 Telegram"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "7e8007df-6f0f-4612-934e-798ab660f92e",
  "connections": {
    "AI-News Feed": {
      "main": [
        [
          {
            "node": "Read News from AI News Website",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Report": {
      "main": [
        [
          {
            "node": "Send a text message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gemini 2.5 Flash": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Report",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Read News from AI News Website": {
      "main": [
        [
          {
            "node": "Generate Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 个人效率, AI 摘要总结

需要付费吗?

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

工作流信息
难度等级
中级
节点数量10
分类2
节点类型6
难度说明

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

作者
Harsh Maniya

Harsh Maniya

@harshmaniya1

Crafting Intelligent AI Solutions | AI Engineer building the next generation of intelligent workflows on n8n. Automating the complex, one node at a time.

外部链接
在 n8n.io 查看

分享此工作流