8
n8n 中文网amn8n.com

使用GPT-4o评估URL并确定诈骗风险

高级

这是一个SecOps, AI Summarization领域的自动化工作流,包含 19 个节点。主要使用 Merge, Aggregate, FormTrigger, Agent, ToolSerpApi 等节点。 网站诈骗风险检测器(GPT-4o和SerpAPI)

前置要求
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "ZTurRTNvdumiBnCQ",
  "meta": {
    "instanceId": "d92ae4b43988b888be9e59a711908a679453e558f86530d2ed2c1c3491f22bf5",
    "templateCredsSetupCompleted": true
  },
  "name": "使用 GPT-4o 评估 URL 并确定诈骗风险",
  "tags": [],
  "nodes": [
    {
      "id": "789e1efb-5ef3-47fb-b8ac-bf6efc5c15b8",
      "name": "合并1",
      "type": "n8n-nodes-base.merge",
      "position": [
        1840,
        40
      ],
      "parameters": {
        "numberInputs": 5
      },
      "typeVersion": 3
    },
    {
      "id": "7ed37584-2fb0-466d-ae15-2269c5d5ccac",
      "name": "聚合1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2080,
        80
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "renameField": true,
              "outputFieldName": "Output 1",
              "fieldToAggregate": "output"
            },
            {
              "renameField": true,
              "outputFieldName": "Output 2",
              "fieldToAggregate": "output"
            },
            {
              "renameField": true,
              "outputFieldName": "Output 3",
              "fieldToAggregate": "output"
            },
            {
              "renameField": true,
              "outputFieldName": "Output 4",
              "fieldToAggregate": "output"
            },
            {
              "renameField": true,
              "outputFieldName": "Output 5",
              "fieldToAggregate": "output"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "248ac3a4-9df1-4899-a18a-78d522f4737b",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2300,
        260
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "hghRc8fMDt5M0xCj",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "99519e3d-b078-4210-a81f-b14df48d5b67",
      "name": "SerpAPI",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        1320,
        -380
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "serpApi": {
          "id": "KZh4HBptTBLe7Xds",
          "name": "SerpAPI account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "3f53d0fb-d7de-4d04-b201-a74926922de7",
      "name": "SerpAPI3",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        1320,
        260
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "serpApi": {
          "id": "KZh4HBptTBLe7Xds",
          "name": "SerpAPI account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d0a5cd93-e446-4250-9d2e-2805a2ec2700",
      "name": "SerpAPI4",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        1320,
        620
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "serpApi": {
          "id": "KZh4HBptTBLe7Xds",
          "name": "SerpAPI account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "cf75cb2a-0975-47c9-b00c-500dbdc1a9dc",
      "name": "OpenAI 聊天模型2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1040,
        -380
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "hghRc8fMDt5M0xCj",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "d97dd1f9-d37d-49bd-86a5-344876530431",
      "name": "SerpAPI2",
      "type": "@n8n/n8n-nodes-langchain.toolSerpApi",
      "position": [
        1320,
        -60
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "serpApi": {
          "id": "KZh4HBptTBLe7Xds",
          "name": "SerpAPI account 2"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "904db4ff-31f3-45a0-b1b3-250cff702910",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1040,
        -60
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "hghRc8fMDt5M0xCj",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7730e1f9-0253-4a67-94a4-92b380e1b427",
      "name": "OpenAI 聊天模型4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1040,
        260
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "hghRc8fMDt5M0xCj",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "3e45fb12-bd2c-42df-9368-c8f5e45c1a56",
      "name": "OpenAI 聊天模型5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1040,
        620
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o",
          "cachedResultName": "gpt-4o"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "hghRc8fMDt5M0xCj",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "6568b119-2252-46eb-805e-4f8ef0c24528",
      "name": "表单提交时",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        320,
        80
      ],
      "webhookId": "ac2c1634-e0db-4595-a463-b87bcd539046",
      "parameters": {
        "options": {},
        "formTitle": "Website URL",
        "formFields": {
          "values": [
            {
              "fieldLabel": "Website URL"
            }
          ]
        },
        "formDescription": "https://www.scam.com/"
      },
      "typeVersion": 2.2
    },
    {
      "id": "0bec4863-2c5d-4b9a-95f3-26f6e5653e7d",
      "name": "域名和技术详情",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1100,
        -560
      ],
      "parameters": {
        "text": "={{ $json['Website URL'] }}",
        "options": {
          "systemMessage": "=#Role\nYou are an agent whose goal is to assist in determining whether a website is likely to be fraudulent or a scam. You are an expert at evaluating websites for this purpose. You will receive a URL: {{ $json['Website URL'] }}.\n\nYou should use Google Shopping via the Google Search (SERPAPI) tool to obtain the most relevant and accurate information.\n\nYou should provide information on the domain age — anything less than 6 months is considered a red flag.\n\nYou should also identify suspicious or cheap top-level domains (TLDs) such as .xyz, .top, .click, or .site, which are less trusted than common ones like .co, .com, or .org.\n\nFinally, examine the SSL certificate. A lack of HTTPS (i.e., using only HTTP) is a red flag.\n\n#Constraints: Only provide information on the above tasks. \n"
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "548e3162-c27c-4798-adcd-55d9a9a30f2f",
      "name": "搜索引擎信号",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1100,
        -240
      ],
      "parameters": {
        "text": "={{ $json['Website URL'] }}",
        "options": {
          "systemMessage": "=#Role\nYou are an agent whose goal is to assist in determining whether a website is likely to be fraudulent or a scam. You are an expert at evaluating websites for this purpose. You will receive a URL: {{ $json['Website URL'] }}.\n\nYou should use Google Shopping via the Google Search (SERPAPI) tool to obtain the most relevant and accurate information.\n\nYou should provide information on whether there are scam reports or warnings on forums like Reddit, Trustpilot, ScamAdviser, or SiteJabber.\n\nCheck whether the website has very low ratings or numerous complaints.\n\nAlso, determine whether multiple people are searching to find out if the website is a scam.\n\n#Constraints: Only provide information on the above tasks."
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "2bde92d2-b3db-4457-91d5-29004e9a7c42",
      "name": "产品和定价模式",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1120,
        80
      ],
      "parameters": {
        "text": "={{ $json['Website URL'] }}",
        "options": {
          "systemMessage": "=#Role\nYou are an agent whose goal is to assist in determining whether a website is likely to be fraudulent or a scam. You are an expert at evaluating websites for this purpose. You will receive a URL: {{ $json['Website URL'] }}.\n\nYou should use Google Shopping via the Google Search (SERPAPI) tool to obtain the most relevant and accurate information.\n\nYou should evaluate for exaggerated discounts, false claims, or fake endorsements.\n\nYou should look for high-end brands being sold at unusually low prices.\n\n#Constraints: Only provide information on the above tasks."
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "3ba84a39-ded0-4576-9038-c555111ebde2",
      "name": "内容分析",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1100,
        440
      ],
      "parameters": {
        "text": "={{ $json['Website URL'] }}",
        "options": {
          "systemMessage": "=#Role\nYou are an agent whose goal is to assist in determining whether a website is likely to be fraudulent or a scam. You are an expert at evaluating websites for this purpose. You will receive a URL: {{ $json['Website URL'] }}.\n\nYou should use Google Shopping via the Google Search (SERPAPI) tool to obtain the most relevant and accurate information.\n\nYou should evaluate the reviews and look for duplicates, vague language, or identical phrasing.\n\nYou should look for poor grammar on the website.\n\nYou should evaluate whether there is a lack of company information or a fake address.\n\n#Constraints: Only provide information on the above tasks."
        },
        "promptType": "define"
      },
      "typeVersion": 1.7
    },
    {
      "id": "553d1644-60ad-4637-97ee-2a28179a6822",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        -1260
      ],
      "parameters": {
        "color": 5,
        "width": 920,
        "height": 680,
        "content": "创建 OpenAI 密钥:"
      },
      "typeVersion": 1
    },
    {
      "id": "1b59caab-bfa3-4d68-9c14-261de6e126c4",
      "name": "评估器",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2360,
        80
      ],
      "parameters": {
        "text": "={{ $json['Output 1'][0] }}{{ $json['Output 1'][1] }}{{ $json['Output 1'][2] }}{{ $json['Output 1'][3] }}",
        "options": {
          "systemMessage": "=#Role\nYou are an agent whose goal is to assist in determining whether a website is likely to be fraudulent or a scam. You are an expert at evaluating websites for this purpose. You will receive input from various other agents who have evaluated the website and provided information on whether the website has red flags.\n\nThis input will be:\n{{ $json['Output 1'][0] }} {{ $json['Output 1'][1] }} {{ $json['Output 1'][2] }} {{ $json['Output 1'][3] }}\n\nYour goal is to utilize that information and provide the likelihood that the website is a scam on a scale of 1 to 10 — where 10 means almost certainly a scam, and 1 means it appears very trustworthy.\n\nYou should also organize the results from the other agents and provide an overall conclusion about the website.\n\nYou should always include a disclaimer: just because there is a low chance of it being a scam does not mean it is not a scam, and just because there is a high chance of it being a scam does not mean it is not legitimate.\n\nExample output:\n\nDisclaimer: Just because there is a low chance of it being a scam does not mean it is not a scam, and just because there is a high chance of it being a scam does not mean it is not legitimate.\nRisk of website being a scam: 7\n\nDomain and Technical Details:\n{{ $json['Output 1'][0] }}\n\nSearch Engine Signals:\n{{ $json['Output 1'][1] }}\n\nProduct & Pricing Patterns:\n{{ $json['Output 1'][2] }}\n\nContent Analysis:\n{{ $json['Output 1'][3] }}\n\n\n\n\n"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 1.7
    },
    {
      "id": "2b2bf005-7602-457b-a871-376472dc917e",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1760,
        -1200
      ],
      "parameters": {
        "width": 680,
        "height": 580,
        "content": "有限保证"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "30d2eb63-d511-4273-9bf4-5d80a54c0357",
  "connections": {
    "Merge1": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI": {
      "ai_tool": [
        [
          {
            "node": "Domain & Technical Details",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI2": {
      "ai_tool": [
        [
          {
            "node": "Search Engine Signals",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI3": {
      "ai_tool": [
        [
          {
            "node": "Product & Pricing Patterns",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "SerpAPI4": {
      "ai_tool": [
        [
          {
            "node": "Content Analysis",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Evaluator": {
      "main": [
        []
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Evaluator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Analysis": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 3
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Evaluator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Domain & Technical Details",
            "type": "main",
            "index": 0
          },
          {
            "node": "Search Engine Signals",
            "type": "main",
            "index": 0
          },
          {
            "node": "Product & Pricing Patterns",
            "type": "main",
            "index": 0
          },
          {
            "node": "Content Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Domain & Technical Details",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Search Engine Signals",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Product & Pricing Patterns",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "Content Analysis",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Search Engine Signals": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Domain & Technical Details": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Product & Pricing Patterns": {
      "main": [
        [
          {
            "node": "Merge1",
            "type": "main",
            "index": 2
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 安全运维, AI 摘要总结

需要付费吗?

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

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

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

作者
AiAgent

AiAgent

@lifehacks

As a self-taught entrepreneur, I’m passionate about automating everyday tasks to simplify life. Every system I create is designed to enhance efficiency and free up valuable time. Once I perfect an automation that transforms my own routine, I’m excited to share it with you—so you can experience the same benefits.

外部链接
在 n8n.io 查看

分享此工作流