8
n8n 中文网amn8n.com

股票基本面分析与 AI 报告

高级

这是一个Crypto Trading, AI Summarization领域的自动化工作流,包含 33 个节点。主要使用 Set, Code, Html, Gmail, Limit 等节点。 使用 Mistral 和 AlphaVantage 进行股票基本面分析与 AI 报告生成

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "205780d3749915e5b72849aad8492ed96140f3a3cf0d7f077a27e6df51ded409",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "4334bda6-55bc-4c52-a9b0-d2121f9c03c2",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -520,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0a018371-ba7d-492d-ae7c-9ffa93b15aed",
      "name": "设置变量",
      "type": "n8n-nodes-base.set",
      "position": [
        280,
        540
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "19b2fcc8-2ba2-491d-9aaf-044eff7372ed",
      "name": "获取新闻数据",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        200
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "e2495d3c-32e5-4db3-97d7-385d1c8977db",
      "name": "便签16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        40,
        680
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "554b37c4-88e1-4473-9602-c487eb11cec1",
      "name": "获取新闻数据1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        340
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "9161ab59-7af7-41a5-ae72-9eb7fe49113f",
      "name": "获取新闻数据2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        480
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "2555ad3c-3642-4692-9ae0-40d9318cd6a4",
      "name": "获取新闻数据3",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        620
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "2843ed7f-512e-408b-bb61-64dbc642ef5b",
      "name": "获取新闻数据4",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        760
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "72cdd153-01db-487f-8742-39d7506c8030",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        880,
        480
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "f0735f90-dc02-411c-8cc3-9e86ca48a43c",
      "name": "获取新闻数据5",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        600,
        920
      ],
      "parameters": {},
      "typeVersion": 4.1
    },
    {
      "id": "a08925ab-3db0-4321-bea2-2d59ede759b0",
      "name": "自动修复输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        2560,
        520
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "341da950-d491-4b24-aaac-967bdf3ddf0f",
      "name": "Mistral Cloud Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        2560,
        640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b0971466-44a4-46f2-b896-88a23e125e14",
      "name": "结构化输出解析器1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        2720,
        640
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "adc1547c-b9bd-40f6-9323-795a5d935bf6",
      "name": "Mistral Cloud Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        2260,
        580
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "bb445257-39f2-455d-a38d-bbded5d87619",
      "name": "代码1",
      "type": "n8n-nodes-base.code",
      "position": [
        1980,
        500
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "810ffa97-cef6-4649-9254-0dc5285b94dd",
      "name": "分离输出",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1140,
        540
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "84ee4470-ce4d-489d-ac12-a53be39ac9eb",
      "name": "拆分输出2",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1140,
        680
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "703e0cfa-43e7-49c5-a088-32666849f619",
      "name": "合并1",
      "type": "n8n-nodes-base.merge",
      "position": [
        1320,
        620
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "b611a6dd-e4b1-4aec-8c25-412652ac16dd",
      "name": "限制",
      "type": "n8n-nodes-base.limit",
      "position": [
        1460,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "434d11b6-535f-4e67-9d92-22814a21f6ea",
      "name": "代码2",
      "type": "n8n-nodes-base.code",
      "position": [
        1140,
        400
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "0b236d1f-04f9-41de-847b-03b11e63fb81",
      "name": "合并2",
      "type": "n8n-nodes-base.merge",
      "position": [
        1780,
        500
      ],
      "parameters": {},
      "typeVersion": 3.1
    },
    {
      "id": "0a4dee65-afc2-4660-a95d-72715e14ed7b",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1620,
        620
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "1d33edf1-64c6-426a-8159-c5b04f5fa722",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3500,
        600
      ],
      "webhookId": "8eae312c-743f-4238-b949-7539099096b0",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "f388eb06-92c8-4e3f-a2a8-ea7f9b91b9be",
      "name": "基础LLM链",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2280,
        360
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "92c4a65e-c21d-4f96-8c74-ef48426e61b4",
      "name": "HTML",
      "type": "n8n-nodes-base.html",
      "position": [
        2640,
        360
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "b4ffb6ff-80af-4e2a-836e-80feea3e4b9a",
      "name": "Basic LLM Chain1",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        2960,
        600
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "4aeefc9d-ecac-4db5-a7da-9367f6583dbe",
      "name": "Mistral Cloud Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatMistralCloud",
      "position": [
        2940,
        800
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4595a6a3-8504-47e3-805f-291a8e713a25",
      "name": "HTML2",
      "type": "n8n-nodes-base.html",
      "position": [
        3320,
        600
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "c26b07a1-1fc7-421a-b201-373304995e14",
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3160,
        800
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "ee080308-d46d-4e8e-b4d7-1b272920a46a",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -20,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "b54dba9d-5ec7-4bfa-8af5-a39e9bbb3c45",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1020,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "883e8a27-1c91-4321-8565-95a2b5026754",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2140,
        120
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e018a6ba-72b9-4583-9bf5-94bd46a47937",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        80,
        540
      ],
      "webhookId": "cbf3d8a9-db36-414a-b9fb-3d764b59d923",
      "parameters": {},
      "typeVersion": 2.2
    }
  ],
  "pinData": {},
  "connections": {
    "HTML": {
      "main": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code1": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code2": {
      "main": [
        [
          {
            "node": "Merge2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTML2": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          },
          {
            "node": "Split Out2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Code2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge1": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge2": {
      "main": [
        [
          {
            "node": "Code1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Merge2",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out2": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get News Data": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Variables": {
      "main": [
        [
          {
            "node": "Get News Data",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get News Data1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get News Data2",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get News Data3",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get News Data4",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get News Data5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get News Data1": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Get News Data2": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "Get News Data3": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "Get News Data4": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 4
          }
        ]
      ]
    },
    "Get News Data5": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 5
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain1": {
      "main": [
        [
          {
            "node": "HTML2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Set Variables",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Auto-fixing Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Mistral Cloud Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser1": {
      "ai_outputParser": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 加密货币交易, AI 摘要总结

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流