AutomationFlowsAI & RAG › Cyberpulse AI Redops: Internal Phishing Simulation for Security Training

Cyberpulse AI Redops: Internal Phishing Simulation for Security Training

ByAdnan Tariq @adnantariq on n8n.io

Simulate phishing awareness campaigns using OpenAI-generated emails. Send to target lists, log clicks with a webhook, and store results in Google Sheets. Built for internal testing and cyber awareness training. Security teams conducting internal simulations GRC teams doing…

Event trigger★★★★☆ complexityAI-powered12 nodesAgentOpenAI ChatGmailGoogle Sheets
AI & RAG Trigger: Event Nodes: 12 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6506 — we link there as the canonical source.

This workflow follows the Agent → Gmail recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "xwbgdKk31b9826ei",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "\ud83d\udd34 RedOps Module 1 \u2013 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": "When clicking \u2018Execute workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -3160,
        -220
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "95eeca9b-c2c0-4ea5-b684-5338526f1c33",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1300,
        -480
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "640e04a0-fcb7-4c65-8b91-00226137d975",
      "name": "\ud83e\udd16 Generate Phishing Email",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2720,
        -220
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "88c267b6-241c-4b59-a29f-69b738515c94",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2700,
        20
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "fc6b38b3-1bea-4a18-b46f-0d132b137b97",
      "name": "\u2709\ufe0f Format Email for Sending",
      "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
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "9b8db177-8c77-4852-825c-39283bd5c7a8",
      "name": "\ud83e\uddfe Log Sent Email",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1920,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "7d9048b3-0e40-40a1-a3dc-1591dad69b75",
      "name": "\ud83c\udfaf Click Tracker",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -2160,
        200
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ccff6b6a-6cc0-41cf-8d5b-711eee8632b8",
      "name": "\ud83d\uddc2\ufe0f Record Click",
      "type": "n8n-nodes-base.set",
      "position": [
        -1920,
        200
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "97488f62-1ded-4dc4-a9e7-57964cead828",
      "name": "\ud83e\uddfe Record Click",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1700,
        200
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "09326fb4-3cba-4b73-8d40-52f6125fd36e",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1340,
        -20
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "e6cedb46-90d9-42b1-9011-6ee204b22f45",
      "name": "GetTargetList",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -2940,
        -220
      ],
      "parameters": {},
      "typeVersion": 4.6
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "00fb96a8-2185-4293-925c-3633506baab7",
  "connections": {
    "Gmail": {
      "main": [
        [
          {
            "node": "\ud83e\uddfe Log Sent Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GetTargetList": {
      "main": [
        [
          {
            "node": "\ud83e\udd16 Generate Phishing Email",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "\ud83e\udd16 Generate Phishing Email",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "\ud83c\udfaf Click Tracker": {
      "main": [
        [
          {
            "node": "\ud83d\uddc2\ufe0f Record Click",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\ud83d\uddc2\ufe0f Record Click": {
      "main": [
        [
          {
            "node": "\ud83e\uddfe Record Click",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\ud83e\udd16 Generate Phishing Email": {
      "main": [
        [
          {
            "node": "\u2709\ufe0f Format Email for Sending",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\u2709\ufe0f Format Email for Sending": {
      "main": [
        [
          {
            "node": "Gmail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Execute workflow\u2019": {
      "main": [
        [
          {
            "node": "GetTargetList",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

Simulate phishing awareness campaigns using OpenAI-generated emails. Send to target lists, log clicks with a webhook, and store results in Google Sheets. Built for internal testing and cyber awareness training. Security teams conducting internal simulations GRC teams doing…

Source: https://n8n.io/workflows/6506/ — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

This workflow is designed for Scrum Masters and Agile Coaches who prepare and coordinate Sprint Planning sessions, using Google Calendar, Google Sheets, and OpenAI.

Google Calendar, Google Sheets, Agent +4
AI & RAG

This workflow is designed for Scrum Masters, Agile Coaches, and Product Owners who want to automate backlog refinement preparation using Google Sheets, Gmail, and OpenAI. It’s ideal for teams seeking

Google Calendar, Google Sheets, Agent +4
AI & RAG

Automated Book Generation System. Uses googleSheetsTrigger, gmail, lmChatOpenAi, outputParserStructured. Event-driven trigger; 43 nodes.

Google Sheets Trigger, Gmail, OpenAI Chat +6
AI & RAG

This n8n workflow template automates your lead generation and follow-up process using AI. It captures leads through a form, enriches them with company data, classifies them into different categories,

Gmail, Output Parser Structured, Form Trigger +5
AI & RAG

Want to skip the manual work and instantly generate SWOT analyses for your business plans, investor decks, or strategy docs? 🚀 This workflow lets you automate the entire SWOT (Strengths, Weaknesses, O

Google Sheets, Agent, Output Parser Structured +4