🔴 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)可能需要您自行付费。
相关工作流推荐
GRC - 安全问卷自动填写
自动化安全问卷回复:GPT-4o和Google Sheets
If
Set
Code
+7
11 节点Adnan Tariq
安全运维
GRC模块4 - 策略生命周期跟踪器
使用Google Sheets和Gmail通知跟踪策略到期日期和负责人
If
Gmail
Google Sheets
+2
6 节点Adnan Tariq
安全运维
🔴 RedOps模块2 – Payload_Validator
使用GPT-4生成的有效载荷和Google表格验证邮件安全网关
Set
Merge
Google Sheets
+3
9 节点Adnan Tariq
安全运维
GRC模块3:供应商风险评估器
使用 AI、Google Sheets 和邮件提醒自动化供应商风险评估
If
Set
Gmail
+4
7 节点Adnan Tariq
AI 摘要总结
AI发票助手
AI发票代理
Set
Gmail
Filter
+8
13 节点Rakin Jakaria
发票处理
AI驱动的邮件分诊与自动回复系统,集成OpenAI代理和Gmail
AI驱动的邮件分诊与自动回复系统,集成OpenAI代理和Gmail
If
Set
Gmail
+20
68 节点Abdullahi Ahmed
内容创作
工作流信息
难度等级
中级
节点数量12
分类2
节点类型8
作者
Adnan Tariq
@adnantariqFounder 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 查看 →
分享此工作流