8
n8n 中文网amn8n.com

亚马逊价格自动追踪与Telegram提醒

高级

这是一个Market Research, AI Summarization领域的自动化工作流,包含 22 个节点。主要使用 If, Set, Code, Cron, Telegram 等节点。 使用Google Gemini自动追踪亚马逊价格并发送Telegram提醒

前置要求
  • Telegram Bot Token
  • 可能需要目标 API 的认证凭证
  • Google Gemini API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移

无法加载工作流预览

导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "nodes": [
    {
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2352,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2816,
        1072
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1696,
        1072
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2288,
        1072
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "设置:成功消息",
      "type": "n8n-nodes-base.set",
      "position": [
        -2144,
        1216
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "name": "设置:错误消息",
      "type": "n8n-nodes-base.set",
      "position": [
        -2144,
        1488
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "name": "配置:产品和警报",
      "type": "n8n-nodes-base.set",
      "position": [
        -2672,
        576
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -1616,
        576
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "name": "计划触发器1",
      "type": "n8n-nodes-base.cron",
      "position": [
        -3008,
        576
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "### 需要帮助?",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2384,
        -192
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "Google Gemini 聊天模型1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -1712,
        784
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "内存",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -1536,
        784
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "name": "结构化输出解析器",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -1376,
        784
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "name": "发送错误",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1568,
        1488
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "name": "发送成功",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -1568,
        1216
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "name": "如果",
      "type": "n8n-nodes-base.if",
      "position": [
        -2784,
        1472
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "name": "条件判断:价格 <= 目标?",
      "type": "n8n-nodes-base.if",
      "position": [
        -2544,
        1216
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "name": "获取HTML",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -2320,
        576
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "name": "解析和清理HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        -2032,
        576
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1760,
        352
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "name": "## 试试看!",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -4800,
        -224
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "pinData": {},
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "IF: Price <= Target?",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Set: Error Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch HTML": {
      "main": [
        [
          {
            "node": "Parse and clean HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Config: Product & Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Error Message": {
      "main": [
        [
          {
            "node": "Send Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Price <= Target?": {
      "main": [
        [
          {
            "node": "Set: Success Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse and clean HTML": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Success Message": {
      "main": [
        [
          {
            "node": "Send Success",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Config: Product & Alert": {
      "main": [
        [
          {
            "node": "Fetch HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 市场调研, AI 摘要总结

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流