8
n8n 中文网amn8n.com

🔴 RedOps模块2 – Payload_Validator

中级

这是一个SecOps, Multimodal AI领域的自动化工作流,包含 9 个节点。主要使用 Set, Merge, GoogleSheets, ManualTrigger, OpenAi 等节点。 使用GPT-4生成的有效载荷和Google表格验证邮件安全网关

前置要求
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "name": "🔴 RedOps 模块 2 – Payload_Validator",
  "nodes": [
    {
      "id": "sticky-note",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        860,
        60
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "trigger",
      "name": "▶️ 触发测试批次",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1200,
        180
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "get-targets",
      "name": "📥 获取目标",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -980,
        180
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "generate-payload",
      "name": "🧪 生成有效载荷",
      "type": "n8n-nodes-base.set",
      "position": [
        -560,
        -180
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "openai-generate",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -300,
        120
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "edit-fields",
      "name": "编辑字段",
      "type": "n8n-nodes-base.set",
      "position": [
        360,
        80
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "validated-log",
      "name": "已验证",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        560,
        80
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "merge",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        220,
        -160
      ],
      "parameters": {},
      "typeVersion": 3.2
    },
    {
      "id": "add-email",
      "name": "添加电子邮件",
      "type": "n8n-nodes-base.set",
      "position": [
        80,
        120
      ],
      "parameters": {},
      "typeVersion": 3.4
    }
  ],
  "active": false,
  "pinData": {},
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI": {
      "main": [
        [
          {
            "node": "Add Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Email": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Validated",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📥 Get Targets": {
      "main": [
        [
          {
            "node": "🧪 Generate Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧪 Generate Payload": {
      "main": [
        {
          "node": "OpenAI",
          "type": "main",
          "index": 0
        },
        {
          "node": "Merge",
          "type": "main",
          "index": 0
        }
      ]
    },
    "▶️ Trigger Test Batch": {
      "main": [
        [
          {
            "node": "📥 Get Targets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 安全运维, 多模态 AI

需要付费吗?

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

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

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

作者
Adnan Tariq

Adnan Tariq

@adnantariq

Founder of CYBERPULSE AI — helping security teams and SMEs eliminate repetitive tasks through modular n8n automations. I build workflows for vulnerability triage, compliance reporting, threat intel, and Red/Blue/GRC ops. Book a session if you'd like custom automation for your use case. https://linkedin.com/in/adnan-tariq-4b2a1a47

外部链接
在 n8n.io 查看

分享此工作流