8
n8n 中文网amn8n.com

多语言每日新闻摘要

中级

这是一个Social Media, Multimodal AI领域的自动化工作流,包含 10 个节点。主要使用 Set, Code, Cron, Gmail, HttpRequest 等节点。 使用LLaMA-3.1和DeepSeek AI生成个性化语言学习新闻摘要

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "kzecgELbo7WU1uOf",
  "meta": {
    "instanceId": "1fc85153dfc4ea22a8172f0d7347fa9f591f71e2064dc331f7bdc1d7ee422e7a"
  },
  "name": "多语言每日新闻摘要",
  "tags": [],
  "nodes": [
    {
      "id": "28950fcc-9aa5-4047-a927-de3c431da865",
      "name": "每日触发器",
      "type": "n8n-nodes-base.cron",
      "position": [
        0,
        0
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "fb2857cc-ade3-4f7f-9fbc-a710dd92510e",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        200,
        0
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "46bd85ea-ef08-454d-9872-1e4537417127",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        640,
        20
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b2961903-dc63-45e1-9488-52b55386a6ca",
      "name": "HTTP请求",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        880,
        20
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "23b3bd7b-f646-4af0-9de4-2fdaac7811d4",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        1100,
        20
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "84adeebd-8cfa-457c-ac45-45fc74e8b6c7",
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1300,
        20
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "7e63b887-3419-4e78-bfba-17fb72e1c3c0",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1320,
        240
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "d36cdc5d-bba0-46cb-934a-4dec4a85046e",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1660,
        20
      ],
      "webhookId": "041f863d-35df-499d-8624-dcbff397912a",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "0513d53a-3120-4de2-8007-083de395ea64",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1460,
        260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "9643541f-60b1-429b-86d9-546225895ffa",
      "name": "遍历项目",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        420,
        0
      ],
      "parameters": {},
      "typeVersion": 3
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "01fc2a0b-1697-4dae-be09-47ff30691776",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "HTTP Request",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Daily Trigger": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 社交媒体, 多模态 AI

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流