8
n8n 中文网amn8n.com

自动化代理新闻事件监控,使用perplexity.ai

中级

这是一个AI领域的自动化工作流,包含 7 个节点。主要使用 Gmail, Markdown, Agent, ScheduleTrigger, ChainLlm 等节点,结合人工智能技术实现智能自动化。 自动化代理新闻事件监控,使用perplexity.ai

前置要求
  • Google 账号和 Gmail API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "2723a3a635131edfcb16103f3d4dbaadf3658e386b4762989cbf49528dccbdbd"
  },
  "nodes": [
    {
      "id": "f78605f4-cddb-481c-82c2-8d6cf768530b",
      "name": "由 Github 模型提供支持",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        840,
        380
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "601bbd26-d1a0-4c1a-87a7-bb48b3d6ec6e",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2020,
        380
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "361c74e4-7c15-4884-babd-173b795eca0e",
      "name": "Markdown",
      "type": "n8n-nodes-base.markdown",
      "position": [
        1420,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d0af0361-6e41-4c9e-89bc-bfbad41f1a7e",
      "name": "Perplexity",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1120,
        600
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "352defa0-f354-491c-a35d-dd2a94f38553",
      "name": "标题",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        1640,
        380
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "3bab5737-7f9b-4b2e-b0fd-49b3e744b932",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        420,
        320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "c19ff26f-8cb6-41d9-b110-46214323eca1",
      "name": "新闻记者",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1040,
        380
      ],
      "parameters": {},
      "retryOnFail": true,
      "typeVersion": 1.6
    }
  ],
  "pinData": {},
  "connections": {
    "Title": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Markdown": {
      "main": [
        [
          {
            "node": "Title",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity": {
      "ai_languageModel": [
        [
          {
            "node": "Title",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "News Reporter",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "News Reporter": {
      "main": [
        [
          {
            "node": "Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "News Reporter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 人工智能

需要付费吗?

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

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

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

作者
Derek Cheung

Derek Cheung

@derekcheungsa

Derek is an engineer, instructor, and investor based in Canada. He is publicly building AI applications to solve real-world problems, leveraging his technical expertise to develop practical solutions.

外部链接
在 n8n.io 查看

分享此工作流