8
n8n 中文网amn8n.com

终极AI新闻简报自动化[公开]

高级

这是一个Design, AI, Marketing领域的自动化工作流,包含 29 个节点。主要使用 Set, Gmail, Limit, Merge, HttpRequest 等节点,结合人工智能技术实现智能自动化。 使用Perplexity、GPT-4和图像生成自动化基于研究的新闻简报

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "P720ebAZOgIrZJgN",
  "meta": {
    "instanceId": "f638a47e4e563f91fde8b98ed9f5fa6a9faa41a207143e9ce05d85200c905524",
    "templateCredsSetupCompleted": true
  },
  "name": "终极 AI 新闻简报自动化 [公开]",
  "tags": [
    {
      "id": "Hf04AVlu1zr8nTpB",
      "name": "GPT",
      "createdAt": "2025-04-24T18:16:56.636Z",
      "updatedAt": "2025-04-24T18:16:56.636Z"
    },
    {
      "id": "OObaiVGBXNLx59MY",
      "name": "Perplexity",
      "createdAt": "2025-05-04T14:54:47.515Z",
      "updatedAt": "2025-05-04T14:54:47.515Z"
    }
  ],
  "nodes": [
    {
      "id": "e169608e-b2a7-470c-b877-bee45c485471",
      "name": "输入",
      "type": "n8n-nodes-base.set",
      "position": [
        -1380,
        260
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "4e5e5e7a-4c92-424f-a157-a31ac2f5b58d",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1720,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "6da73264-2d97-497b-8342-ad1786bd6e93",
      "name": "便签20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3020,
        -960
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "58edfd76-0e0f-460f-bcf3-6ac5d45aaaff",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2880,
        260
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b607663f-1263-4632-aeaf-8f4575e4e7b9",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3020,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "96cae626-1871-481d-9fa0-88ae708f686e",
      "name": "结构化输出解析器1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -320,
        480
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "da19e96b-9a95-4ab2-8a2a-79dcf89d85ff",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -780,
        500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "7c097fcc-ffcd-482b-9faf-3dbdd1e33ada",
      "name": "便签10",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -860,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "60fb32cf-7945-40cd-9aee-a2f481bdbdf4",
      "name": "便签15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -180,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "46d68eec-7859-4dfb-b08a-2055306c6f9a",
      "name": "便签19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        140,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "2531e413-f100-428d-9e0e-ad74ddf08c20",
      "name": "设置图片 URL 1",
      "type": "n8n-nodes-base.set",
      "position": [
        820,
        -60
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "1e98df7b-b93a-487f-99c9-d8606bb10dcd",
      "name": "Google Cloud Storage 2",
      "type": "n8n-nodes-base.googleCloudStorage",
      "maxTries": 2,
      "position": [
        580,
        -60
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1
    },
    {
      "id": "57ff49c1-4ea5-46fb-ac7a-b27d00c296d8",
      "name": "便签21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "652f1157-c2dc-4aaf-96ea-6bf8ceb00afa",
      "name": "获取客户列表",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        720,
        460
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "fbd85884-fb7c-4393-aff5-dba4506608f8",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        1140,
        200
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "01af3ab0-0fac-4157-b387-85d5d98eb10e",
      "name": "获取新闻简报主题",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -2540,
        260
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "26cdf01c-59f8-49f2-a945-be9213beac74",
      "name": "更新状态",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -2000,
        260
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "23218309-46e4-4a0f-a4e3-88c3b58c8af7",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2640,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "83f66b82-9e8a-4a61-957e-3acd34b9c1ae",
      "name": "获取第一个主题",
      "type": "n8n-nodes-base.limit",
      "position": [
        -2260,
        260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "df4b4eb9-35d5-48f7-96ef-7122349d8d11",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1080,
        -160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "1ce76004-fa4d-40d7-b8ef-e87f24e37e39",
      "name": "GPT 图片生成",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        260
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "6d3487cc-b429-4b6b-bc9e-11978eefdca8",
      "name": "转换为二进制文件",
      "type": "n8n-nodes-base.convertToFile",
      "position": [
        220,
        260
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "72d3360a-e356-4e64-8b23-cdb9339f595b",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fca76fc6-b899-4c5d-9c11-65b3d0a54887",
      "name": "便签8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        440
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "7b0b3de2-1e8f-47b0-a010-4d11dba2675d",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -660,
        260
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "fdfb5bae-c5fc-4361-a4d1-b16432d04db9",
      "name": "发送新闻简报",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1340,
        200
      ],
      "webhookId": "022cecdc-57ff-40f8-b4d7-530b1200b742",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "975cebdf-8fa4-4ad9-9269-fe84452b27ed",
      "name": "Perplexity 搜索",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        -540,
        540
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "a40df2aa-dfb9-48b5-bd84-1ecb24e85244",
      "name": "Tavily网页搜索",
      "type": "n8n-nodes-base.httpRequestTool",
      "disabled": true,
      "position": [
        -540,
        900
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "dbe7b40e-e291-49e8-b82e-4e770f676c9b",
      "name": "便签9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -660,
        720
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Europe/London",
    "callerPolicy": "workflowsFromSameOwner",
    "errorWorkflow": "DmAbBBIenIBq7D7F",
    "executionOrder": "v1"
  },
  "versionId": "23c4c84f-b713-4280-867f-856c198ec883",
  "connections": {
    "Input": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "SendNewsletter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "GPT Image Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SetImageURL1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "UpdateStatus": {
      "main": [
        [
          {
            "node": "Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetClientList": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "GetFirstTopic": {
      "main": [
        [
          {
            "node": "UpdateStatus",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SendNewsletter": {
      "main": [
        []
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "GetNewsletterTopic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Tavily WebSearch": {
      "ai_tool": [
        []
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Search": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "GetNewsletterTopic": {
      "main": [
        [
          {
            "node": "GetFirstTopic",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT Image Generation": {
      "main": [
        [
          {
            "node": "Convert to Binary File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to Binary File": {
      "main": [
        [
          {
            "node": "GetClientList",
            "type": "main",
            "index": 0
          },
          {
            "node": "Google Cloud Storage 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Cloud Storage 2": {
      "main": [
        [
          {
            "node": "SetImageURL1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 设计, 人工智能, 营销

需要付费吗?

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

工作流信息
难度等级
高级
节点数量29
分类3
节点类型14
难度说明

适合高级用户,包含 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 查看

分享此工作流