AutomationFlowsAI & RAG › Audit Website Security Headers with AI Remediation and Google Sheets Reporting

Audit Website Security Headers with AI Remediation and Google Sheets Reporting

ByAri Nakos @just-aristides on n8n.io

An automated workflow for auditing website security headers and generating comprehensive security reports.

Event trigger★★★★☆ complexityAI-powered20 nodesHTTP RequestGoogle SheetsGmailAgentOpenRouter ChatForm Trigger
AI & RAG Trigger: Event Nodes: 20 Complexity: ★★★★☆ AI nodes: yes Added:

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

This workflow follows the Agent → Form Trigger 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
{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "48f07e2d-aeb5-4427-b0f0-9525bd44c70b",
      "name": "Workflow Documentation",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -656,
        -432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "06a03113-3b5b-4cb0-8321-42b17bc57639",
      "name": "Setup Instructions",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        -432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "bea06782-c2af-4ee8-9224-eee962fb2cba",
      "name": "URL List",
      "type": "n8n-nodes-base.set",
      "position": [
        96,
        -320
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "653d1e25-418a-471c-856a-5989b0ba6cac",
      "name": "Fetch Headers",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        304,
        -320
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "808675cd-b40e-4395-94a1-f533d8d4b305",
      "name": "Parse Headers",
      "type": "n8n-nodes-base.code",
      "position": [
        496,
        -320
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "b971d21c-7caf-4249-be8e-a459748aaa4a",
      "name": "Security Scorer",
      "type": "n8n-nodes-base.code",
      "position": [
        688,
        -320
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "a4aa0846-5750-45ba-9949-e4a8945b761a",
      "name": "Grade Calculator",
      "type": "n8n-nodes-base.code",
      "position": [
        -64,
        -128
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "cc46dc6a-9978-4bb1-a2b8-0a34517d8b36",
      "name": "Format Report",
      "type": "n8n-nodes-base.set",
      "position": [
        928,
        -272
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "280e72ce-ff06-4411-8588-7a69d25c9612",
      "name": "Export to Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1088,
        -272
      ],
      "parameters": {},
      "typeVersion": 4.4
    },
    {
      "id": "b692aff5-f6b4-4184-8301-087bad9a7c67",
      "name": "Data Aggregator",
      "type": "n8n-nodes-base.code",
      "position": [
        208,
        128
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e37203a2-e888-4a1e-a3a5-f1551b238250",
      "name": "Style Constants",
      "type": "n8n-nodes-base.code",
      "position": [
        208,
        288
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "f68e5615-aa55-4532-8e28-eb073791b9ff",
      "name": "Content Builder",
      "type": "n8n-nodes-base.code",
      "position": [
        352,
        288
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "312f8b06-6f1d-45ed-a34f-f21ccce2ffdf",
      "name": "Email Formatter",
      "type": "n8n-nodes-base.code",
      "position": [
        480,
        128
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "387ce8a4-8ac8-4548-b5e5-b6a15d1c7494",
      "name": "Send Alert",
      "type": "n8n-nodes-base.gmail",
      "position": [
        608,
        288
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "8ae75cea-b4a8-4749-a03b-bdd0dcd40db9",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        128,
        -128
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "8d8caee3-7476-4b13-93b6-9db280780b35",
      "name": "AI Remediation Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -48,
        128
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "2c4f7c95-dd5b-498a-b251-ccdf2f54d0d6",
      "name": "AI Remediation Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        -64,
        336
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "3e843cc4-9ed8-4078-9a3b-9a63aeca11fc",
      "name": "Form Input",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -80,
        -320
      ],
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "4b9a9be4-355d-4da8-9d0e-3703dacb5c6d",
      "name": "Setup Instructions1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        48
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0dfd8884-49bf-423a-bd68-8aa45261c3e9",
      "name": "Setup Instructions2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        864,
        -432
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "AI Remediation Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "URL List": {
      "main": [
        [
          {
            "node": "Fetch Headers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Form Input": {
      "main": [
        [
          {
            "node": "URL List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Headers": {
      "main": [
        [
          {
            "node": "Parse Headers",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Report": {
      "main": [
        [
          {
            "node": "Export to Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse Headers": {
      "main": [
        [
          {
            "node": "Security Scorer",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Builder": {
      "main": [
        [
          {
            "node": "Email Formatter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data Aggregator": {
      "main": [
        [
          {
            "node": "Style Constants",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Email Formatter": {
      "main": [
        [
          {
            "node": "Send Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Security Scorer": {
      "main": [
        [
          {
            "node": "Grade Calculator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Style Constants": {
      "main": [
        [
          {
            "node": "Content Builder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Grade Calculator": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          },
          {
            "node": "Format Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Remediation Agent": {
      "main": [
        [
          {
            "node": "Data Aggregator",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Remediation Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Remediation Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

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

About this workflow

An automated workflow for auditing website security headers and generating comprehensive security reports.

Source: https://n8n.io/workflows/10990/ — 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

leads. Uses supabase, gmail, formTrigger, httpRequest. Webhook trigger; 62 nodes.

Supabase, Gmail, Form Trigger +13
AI & RAG

🧠 Automate end-to-end SEO blog creation and WordPress publishing using a GPT-5 multi-agent workflow with real-time research, metadata generation, and optional featured images.

Output Parser Structured, HTTP Request, OpenAI +10
AI & RAG

YouTube Strategist. Uses formTrigger, splitOut, splitInBatches, agent. Event-driven trigger; 50 nodes.

Form Trigger, Agent, OpenRouter Chat +5
AI & RAG

This advanced multi-phase n8n workflow automates the complete research, analysis, and ideation pipeline for a YouTube strategist. It scrapes competitor channels, analyzes top-performing titles and thu

Form Trigger, Agent, OpenRouter Chat +5
AI & RAG

This workflow contains community nodes that are only compatible with the self-hosted version of n8n.

HTTP Request, Google Sheets, OpenRouter Chat +5