8
n8n 中文网amn8n.com

卖出:股票视图

中级

这是一个Finance, AI领域的自动化工作流,包含 7 个节点。主要使用 Set, HttpRequest, Agent, ChatTrigger, ToolSerpApi 等节点,结合人工智能技术实现智能自动化。 使用Google Gemini进行股票技术分析

前置要求
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "RrMRgKuAwdVcuk88",
  "meta": {
    "instanceId": "d16fb7d4b3eb9b9d4ad2ee6a7fbae593d73e9715e51f583c2a0e9acd1781c08e"
  },
  "name": "卖出:股票视图",
  "tags": [
    {
      "id": "XZIQK6NdzGvgbZFd",
      "name": "Sell",
      "createdAt": "2025-01-15T12:28:48.424Z",
      "updatedAt": "2025-01-15T12:28:48.424Z"
    }
  ],
  "nodes": [
    {
      "id": "72a9e1f7-58a2-4704-899f-63a37e8342a9",
      "name": "TradingView图表",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        220,
        0
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "5a52e2f1-6d00-45b3-b273-79f36198f968",
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        440,
        0
      ],
      "parameters": {},
      "typeVersion": 1.7
    },
    {
      "id": "634f1d9e-15b7-4846-b21b-8b62b09bf8d4",
      "name": "Google Gemini 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        200,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "dfcd07b4-bb42-42e1-9d44-dc3c6a81e857",
      "name": "窗口缓冲区内存",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        340,
        240
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "2e962b9b-0b45-4098-8722-328dc0f48df1",
      "name": "当收到聊天消息时",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -200,
        0
      ],
      "webhookId": "fd375b9f-d3c4-402a-8de1-7ba718f0b670",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "f4ecc791-0d20-4bc1-aa3e-18f5ed586809",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        20,
        0
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a94e2169-176a-4070-bb02-16ef971c3cae",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        480,
        240
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "2af104c3-54f0-4dbf-b756-e94e96f250bd",
  "connections": {
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "TradingView Chart",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "TradingView Chart": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Window Buffer Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 财务, 人工智能

需要付费吗?

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

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

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

作者
Udit Rawat

Udit Rawat

@ailistmaster

Hi, I’m Udit, an Acquia-certified developer with a strong background in web development and creating enterprise solutions. Recently, I’ve transitioned into AI and ML, I hold DIAT Professional AI Certification. I specialize in building AI-driven automation to streamline workflows, improve efficiency, and solve complex problems. With expertise in AI/ML tools and years of experience in Acquia and Drupal, I’m passionate about leveraging tech to drive innovation and create smarter solutions.

外部链接
在 n8n.io 查看

分享此工作流