8
n8n 中文网amn8n.com

优惠券搜索器

中级

这是一个AI Chatbot, Multimodal AI领域的自动化工作流,包含 8 个节点。主要使用 Agent, DecodoTool, ChatTrigger, ToolSerpApi, LmChatAzureOpenAi 等节点。 使用SerpAPI、Decodo和GPT-5 Mini查找有效优惠券和促销码

前置要求
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "gSKavHnaQxVY6DLe",
  "meta": {
    "instanceId": "c2650793f644091dc80fb900fe63448ad1f4b774008de9608064d67294f8307c",
    "templateCredsSetupCompleted": true
  },
  "name": "优惠券搜索器",
  "tags": [],
  "nodes": [
    {
      "id": "3c07ac00-df2b-405f-b0bd-492099eaff88",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        512,
        208
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "serpApi": {
          "id": "RnX2LOB0xs45mOEw",
          "name": "Login w Github"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "ef0545fc-9caf-4d4f-aaf2-1681ef52ec17",
      "name": "消息",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        16,
        0
      ],
      "webhookId": "8cca6785-5e60-4cca-92c2-859e362c68c9",
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.3
    },
    {
      "id": "7da8aa0c-0bc1-4196-b20c-b40270d2ac22",
      "name": "Gpt 5 Mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatAzureOpenAi",
      "position": [
        80,
        208
      ],
      "parameters": {
        "model": "gpt5mini",
        "options": {}
      },
      "credentials": {
        "azureOpenAiApi": {
          "id": "f2y13FBDaQZYGn8T",
          "name": "GPT5-mini"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8a9ea170-c9dd-469a-bd84-2ef1d49841aa",
      "name": "聊天记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        224,
        208
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "id": "fdcd13cf-f3d3-43b2-9c99-32fe50f26bc6",
      "name": "Decodo 爬虫",
      "type": "@decodo/n8n-nodes-decodo.decodoTool",
      "position": [
        368,
        208
      ],
      "parameters": {},
      "credentials": {
        "decodoApi": {
          "id": "um6rsqlbtrY3NRQB",
          "name": "cm@g.com"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "07d248ac-97de-49eb-8d30-c960ae6fcb8d",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -48
      ],
      "parameters": {
        "color": 5,
        "width": 464,
        "height": 656,
        "content": "## 如何获取凭证"
      },
      "typeVersion": 1
    },
    {
      "id": "9dcd1a64-5248-402f-9781-618067dec74d",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        368
      ],
      "parameters": {
        "width": 672,
        "height": 240,
        "content": "## 此工作流如何运作(便签说明)"
      },
      "typeVersion": 1
    },
    {
      "id": "7d1347ac-3335-4b88-9513-1133906bddd7",
      "name": "优惠券搜索器 Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        208,
        0
      ],
      "parameters": {
        "options": {
          "systemMessage": "you are a voucher and discount seeker expert. use provided tools to find a new, valid and working voucher accross internet"
        }
      },
      "typeVersion": 2.2
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "bff1cf5a-123c-4781-b12b-e09926a4d25e",
  "connections": {
    "Message": {
      "main": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Gpt 5 Mini": {
      "ai_languageModel": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Chat Memory": {
      "ai_memory": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Decodo Scrapper": {
      "ai_tool": [
        [
          {
            "node": "Promo Seeker Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - AI 聊天机器人, 多模态 AI

需要付费吗?

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

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

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

外部链接
在 n8n.io 查看

分享此工作流