Use this n8n workflow to automatically scan websites for security vulnerabilities using OpenAI. Generate detailed, graded security reports and send them via Gmail. Find advanced n8n templates for DevSecOps.
Download this n8n workflow template and start using it instantly.
Maintaining website security requires constant vigilance, especially regarding configuration headers and client-side vulnerabilities like Cross-Site Scripting (XSS). This n8n workflow solves this by automating the initial, non-invasive audit phase. It leverages the power of OpenAI's large language models (LLMs) via LangChain Agents to perform expert-level analysis on both HTTP response headers and raw page content simultaneously. The workflow then applies custom logic within a specialized n8n node to calculate a security grade (A+ to F) and format all findings—including descriptions, impacts, and fix recommendations—into a professional, detailed HTML report. This highly valuable n8n template ensures that critical security information is delivered quickly and clearly via Gmail.
This comprehensive n8n workflow initiates when a user submits a URL via the dedicated web form, which acts as the initial n8n trigger.
To deploy this expert n8n workflow and start running security audits, follow these steps:
sendTo expression from the placeholder to your desired audit report delivery email address. Landing Page Url (n8n trigger): Acts as the entry point, providing a web form for users to input the target website URL.
Scrape Website (HTTP Request n8n node): Executes a non-invasive web request to retrieve the target URL's HTML content and full HTTP response headers.
Extract Headers for Debug (Code n8n node): Pre-processes the raw headers from the HTTP response, converting them into a clean, easy-to-read string for the subsequent AI analysis.
Security Configuration Audit (LangChain Agent n8n node): Uses the 'OpenAI Headers Analysis' model to act as a web security expert, focusing specifically on assessing the security of HTTP headers and cookie configurations. Its output details misconfigurations and recommendations.
Security Vulnerabilities Audit (LangChain Agent n8n node): Uses the 'OpenAI Content Analysis' model to analyze the HTML body and visible content, identifying potential client-side risks like XSS and information leakage.
Merge Security Results & Aggregate Audit Results (Merge/Aggregate n8n nodes): Ensures the results from the two parallel AI branches are collected into a single, cohesive dataset for final processing.
Process Audit Results (Code n8n node): Crucial for the workflow. This n8n node runs custom JavaScript logic to parse the AI output, calculate the final security grade (A+, A, B, etc.) based on defined criteria, and structure the data for display.
convert to HTML (Code n8n node): Generates a highly stylized and detailed HTML report template using the structured audit data, ensuring the final output is professional and readable.
Use this powerful n8n workflow template to perform deep, recursive web scraping. Scrape content up to a specified depth and automatically save all extracted data into a centralized Google Doc, tracking URLs via Google Sheets. This n8n workflow leverages the specialized Airtop n8n node for advanced extraction.

Deploy a powerful n8n workflow that uses SearchAPI and an OpenRouter LLM (DeepSeek) to answer questions, browse the web, and generate responses with verifiable citations. Leverage this advanced n8n template.

Create a powerful n8n Agent that interprets complex search requests, generates Firecrawl query strings, and extracts structured data including full-page screenshots using this robust n8n workflow template.

Use this structured n8n workflow to analyze uploaded PDFs automatically. Featuring file validation (size/pages) and AI summarization via an OpenAI n8n node, this n8n templates solution is perfect for structured data extraction.









































