8
n8n 中文网amn8n.com

基于 Perplexity R1 Research 的 AI 技术分析师

高级

这是一个Finance, AI领域的自动化工作流,包含 21 个节点。主要使用 Set, Switch, GmailTool, HttpRequest, Agent 等节点,结合人工智能技术实现智能自动化。 集成 Perplexity R1 Research 的 AI 技术分析系统

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "04ddf1130268840c229f501edc57936c3c131339e8b0cdd696fcf3a7c69e696e",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "ff92638f-f419-49f0-875b-e455becaa2cf",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        760,
        140
      ],
      "webhookId": "119930c5-7935-4e78-bd47-1b2caba3af58",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "e44a7eff-26ca-4f29-8b53-1f2a15ea89a1",
      "name": "窗口缓冲记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1080,
        380
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "de59fe8e-ec3c-4ff2-91a8-9ad2533260c3",
      "name": "设置'response'值",
      "type": "n8n-nodes-base.set",
      "position": [
        3200,
        120
      ],
      "parameters": {},
      "typeVersion": 3.3
    },
    {
      "id": "49b10639-d643-4a38-b649-8dd6507600c6",
      "name": "下载图表",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2700,
        120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "75aeadf7-0a3a-4aac-99bd-62093f090486",
      "name": "Tradingview图表",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2520,
        120
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "953e85a8-68fb-44d6-aaa0-8b95f40c4870",
      "name": "提取分析师问题和管理层回应",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2880,
        120
      ],
      "parameters": {},
      "typeVersion": 1.4
    },
    {
      "id": "e5d0a653-d9a2-4941-a3c9-cde2d5c70031",
      "name": "Sonnet 3_7",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2860,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "54a14a3e-553b-4903-b35b-fa417a4ab4a6",
      "name": "当由其他工作流执行时",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        1780,
        140
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "7f409b02-d1bb-4066-9dae-828940ed87f0",
      "name": "技术分析工具",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1220,
        380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b2ca76f1-619e-46e8-ab4e-c50c5579dbf1",
      "name": "查找交易所",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2180,
        120
      ],
      "parameters": {},
      "typeVersion": 1.5
    },
    {
      "id": "08620692-c2dc-4808-8997-b5aef354661b",
      "name": "回复",
      "type": "n8n-nodes-base.set",
      "position": [
        2520,
        560
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a35b2957-274a-42b8-a102-a2952d9a2e4f",
      "name": "条件分支",
      "type": "n8n-nodes-base.switch",
      "position": [
        1960,
        140
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "8873042a-bb9b-44c9-a2ae-90c1cfd8ee84",
      "name": "Perplexity工具",
      "type": "@n8n/n8n-nodes-langchain.toolWorkflow",
      "position": [
        1360,
        380
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "1fcb0f7d-3024-49e0-9657-98a7b7d11757",
      "name": "Perplexity Sonar",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2220,
        300
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9cfb5c19-f4b0-4c07-ad00-cfb6641f21da",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1520,
        380
      ],
      "webhookId": "030ea021-d783-4bd2-8947-13d29d705c8f",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "75f01eed-9a3a-4bf7-a53d-5af8c2811c59",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2400,
        300
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "759c7d67-31be-4cc1-a58b-910dc95602f9",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4e314f00-b5ac-4dcb-ac6e-87bccf49f9f0",
      "name": "便签 2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2160,
        480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "657dc607-cd26-4efd-9d51-49db5d7ae029",
      "name": "Sonnet 37",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        940,
        380
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "702c02a8-cf40-4ba7-9b03-49e9c08cc1b7",
      "name": "技术分析师主管",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1080,
        140
      ],
      "parameters": {},
      "typeVersion": 1.6
    },
    {
      "id": "7349b3d0-f68f-4cf5-8cba-36a81ecb1944",
      "name": "Perplexity",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        2220,
        560
      ],
      "parameters": {},
      "typeVersion": 4.2
    }
  ],
  "pinData": {},
  "connections": {
    "Gmail": {
      "ai_tool": [
        [
          {
            "node": "Technical Analyst Leader",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Lookup Exchange",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Perplexity",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sonnet 37": {
      "ai_languageModel": [
        [
          {
            "node": "Technical Analyst Leader",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity": {
      "main": [
        [
          {
            "node": "Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Sonnet 3_7": {
      "ai_languageModel": [
        [
          {
            "node": "Extract analyst question and management response",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Download Chart": {
      "main": [
        [
          {
            "node": "Extract analyst question and management response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Lookup Exchange": {
      "main": [
        [
          {
            "node": "Tradingview Chart",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Tool": {
      "ai_tool": [
        [
          {
            "node": "Technical Analyst Leader",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Perplexity Sonar": {
      "ai_languageModel": [
        [
          {
            "node": "Lookup Exchange",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Tradingview Chart": {
      "main": [
        [
          {
            "node": "Download Chart",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "Technical Analyst Leader",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Technical Analysis Tool": {
      "ai_tool": [
        [
          {
            "node": "Technical Analyst Leader",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Lookup Exchange",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Technical Analyst Leader",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract analyst question and management response": {
      "main": [
        [
          {
            "node": "Set 'response' value",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 财务, 人工智能

需要付费吗?

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

工作流信息
难度等级
高级
节点数量21
分类2
节点类型13
难度说明

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

作者
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 查看

分享此工作流