8
n8n 中文网amn8n.com

🔴 RedOps 模块 1 – PhishForge

中级

这是一个SecOps, Multimodal AI领域的自动化工作流,包含 12 个节点。主要使用 Set, Gmail, Webhook, GoogleSheets, ManualTrigger 等节点。 基于OpenAI和Google表格的内部钓鱼模拟安全培训

前置要求
  • Google 账号和 Gmail API 凭证
  • HTTP Webhook 端点(n8n 会自动生成)
  • Google Sheets API 凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "xwbgdKk31b9826ei",
  "meta": {
    "instanceId": "6feff41aadeb8409737e26476f9d0a45f95eec6a9c16afff8ef87a662455b6df",
    "templateCredsSetupCompleted": true
  },
  "name": "🔴 RedOps 模块 1 – PhishForge",
  "tags": [
    {
      "id": "uNqHAlvBtMsP4gFd",
      "name": "Pro",
      "createdAt": "2025-07-07T09:34:20.437Z",
      "updatedAt": "2025-07-07T09:34:20.437Z"
    }
  ],
  "nodes": [
    {
      "id": "bd1c125b-3cb8-4bcc-9b80-454bc8ec3e8a",
      "name": "点击\"执行工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -3160,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "95eeca9b-c2c0-4ea5-b684-5338526f1c33",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1300,
        -480
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "640e04a0-fcb7-4c65-8b91-00226137d975",
      "name": "🤖 生成钓鱼邮件",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2720,
        -220
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "88c267b6-241c-4b59-a29f-69b738515c94",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2700,
        20
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "fc6b38b3-1bea-4a18-b46f-0d132b137b97",
      "name": "✉️ 格式化邮件以发送",
      "type": "n8n-nodes-base.set",
      "position": [
        -2360,
        -220
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "a63188f6-70c1-4e9b-bff9-7c3052aa3368",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmail",
      "position": [
        -2140,
        -220
      ],
      "webhookId": "7e1ad903-f281-413c-81ac-79a95bf232dd",
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "9b8db177-8c77-4852-825c-39283bd5c7a8",
      "name": "🧾 记录已发送邮件",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1920,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "7d9048b3-0e40-40a1-a3dc-1591dad69b75",
      "name": "🎯 点击追踪器",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2160,
        200
      ],
      "webhookId": "6737861e-9dd2-4ecf-acc1-635051e290ce",
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ccff6b6a-6cc0-41cf-8d5b-711eee8632b8",
      "name": "🗂️ 记录点击",
      "type": "n8n-nodes-base.set",
      "position": [
        -1920,
        200
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "97488f62-1ded-4dc4-a9e7-57964cead828",
      "name": "🧾 记录点击",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1700,
        200
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "09326fb4-3cba-4b73-8d40-52f6125fd36e",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1340,
        -20
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "id": "e6cedb46-90d9-42b1-9011-6ee204b22f45",
      "name": "获取目标列表",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -2940,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.6
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "00fb96a8-2185-4293-925c-3633506baab7",
  "connections": {
    "Gmail": {
      "main": [
        [
          {
            "node": "🧾 Log Sent Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetTargetList": {
      "main": [
        [
          {
            "node": "🤖 Generate Phishing Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "🤖 Generate Phishing Email",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "🎯 Click Tracker": {
      "main": [
        [
          {
            "node": "🗂️ Record Click",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🗂️ Record Click": {
      "main": [
        [
          {
            "node": "🧾 Record Click",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Generate Phishing Email": {
      "main": [
        [
          {
            "node": "✉️ Format Email for Sending",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "✉️ Format Email for Sending": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "GetTargetList",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

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

需要付费吗?

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

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

适合有一定经验的用户,包含 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 查看

分享此工作流