8
n8n 中文网amn8n.com

AI每日新闻

高级

这是一个AI领域的自动化工作流,包含 20 个节点。主要使用 Set, Merge, DateTime, Telegram, HttpRequest 等节点,结合人工智能技术实现智能自动化。 使用Google Gemini和Telegram的每日AI新闻简报与摘要

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "fr9aNRlRj1alQtSk",
  "meta": {
    "instanceId": "f638a47e4e563f91fde8b98ed9f5fa6a9faa41a207143e9ce05d85200c905524",
    "templateCredsSetupCompleted": true
  },
  "name": "AI每日新闻",
  "tags": [],
  "nodes": [
    {
      "id": "d132c7fc-681c-48a2-b04c-6769362a00e8",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        660,
        -20
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "ac5307f1-d46b-4928-b1da-21483c24f2f2",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -400
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "40d7b197-498e-4588-a4b5-529fdd276312",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        920,
        -20
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "22ae75f2-7080-4fc7-ab44-e1a2ba4f667f",
      "name": "Google Gemini聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        900,
        220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "79b032c3-aed1-4775-b759-9d271d44f28b",
      "name": "Telegram",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1340,
        -20
      ],
      "webhookId": "baddbcb6-05df-47e3-974f-3ca39c935867",
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d61f3a4a-b755-4244-858d-09fb5591a460",
      "name": "新闻来源:GNewsAPI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        20,
        240
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5f6c223c-668c-4795-ba2f-29c1d62d52f8",
      "name": "新闻来源:NewsAPI",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        20,
        -140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "8edd471d-8699-43cd-a44a-69a5c061aeed",
      "name": "当前日期减一天",
      "type": "n8n-nodes-base.dateTime",
      "position": [
        -320,
        0
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "eec1b407-fb6f-4e93-8a29-fcddc2097206",
      "name": "提取所有新闻",
      "type": "n8n-nodes-base.set",
      "position": [
        340,
        240
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a4bf2269-5eb4-4a10-9456-536f0c0326af",
      "name": "提取所有新闻1",
      "type": "n8n-nodes-base.set",
      "position": [
        340,
        -140
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "aeee1432-e41e-4ea2-a43e-b9692016fc28",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -700,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5cfd974c-1be1-4a0f-92df-f6b42dc421c9",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        -80
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "8bfdf3e4-a2b3-4c88-8c1f-6409d887e0af",
      "name": "每日早上6点触发工作流",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -640,
        0
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "28a275b6-8b19-41a4-b265-794d6ae03ade",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        40
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "da852b08-ca57-49a4-94a9-b179a9f1fba2",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -340
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "01316a35-491c-41d2-ae47-f72df9dc8e3a",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e976dc2a-6466-4ff1-bd42-9da7204e314d",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        260,
        -220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4ef865ae-09d4-4879-8137-caa05a2b64ee",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "9a9f26a1-da3f-4491-a264-12503f5d57c9",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c896491d-8bfe-4b2a-8da4-f6e46cb9e6c1",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        -100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Europe/Paris",
    "callerPolicy": "workflowsFromSameOwner",
    "executionOrder": "v1"
  },
  "versionId": "0686fc36-cc1f-49d3-a523-ff7e7ab1c2a3",
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Telegram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ExtractAllNews": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "ExtractAllNews1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "News Source: NewsAPI": {
      "main": [
        [
          {
            "node": "ExtractAllNews1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "News Source: GNewsAPI": {
      "main": [
        [
          {
            "node": "ExtractAllNews",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Substract Current date by one": {
      "main": [
        [
          {
            "node": "News Source: NewsAPI",
            "type": "main",
            "index": 0
          },
          {
            "node": "News Source: GNewsAPI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Trigger workflow at 6am everyday": {
      "main": [
        [
          {
            "node": "Substract Current date by one",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能

需要付费吗?

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

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

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

作者
Tianyi

Tianyi

@muzi

Ph.D. in Machine Learning from the University of Toulouse. Experienced automation consultant specializing in optimizing workflows for Content creation and Marketing teams.

外部链接
在 n8n.io 查看

分享此工作流