๐Ÿ”’ Generate website security audit PDFs with ScrapingBee, Claude, Gotenberg and Outlook

โšก 16 views ยท ๐Ÿ”’ SecOps & Security Automation

๐Ÿ’ก Pro Tip โ€” HTTP Request scraping tends to break when sites update their markup. If youโ€™re scraping a major platform, check if ScraperNode covers it โ€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Quick overview

This workflow accepts a website URL via an n8n form, scrapes the page with ScrapingBee, and uses Anthropic Claude to audit HTTP security headers and client-side vulnerabilities. It then generates a branded HTML report, converts it to a PDF with Gotenberg, and emails it via Microsoft Outlook.

How it works

  1. Receives a website URL when a user submits the n8n form.
  2. Scrapes the target page with the ScrapingBee API and normalizes the returned HTML and response headers.
  3. Uses Anthropic Claude to audit the HTTP response headers for security configuration issues and to analyze the page HTML for client-side security vulnerabilities.
  4. Merges and aggregates the audit outputs, then calculates header presence, a header-hygiene grade, and summary metrics for the report.
  5. Uses Anthropic Claude to generate platform-specific fix instructions (WordPress, GoDaddy Hosting, Hostinger Hosting, and Squarespace) based on the audit findings.
  6. Builds a branded HTML report and email summary, converts the HTML to a PDF via the Gotenberg API, and sends the PDF as an attachment through Microsoft Outlook.

Setup

  1. Add your ScrapingBee API key and ensure the ScrapingBee request settings match your needs (for example, JavaScript rendering and timeouts).
  2. Create Anthropic (Claude) credentials and select a model for each Claude/agent step used for header analysis, vulnerability analysis, and remediation guidance.
  3. Provide a reachable Gotenberg service URL, configure HTTP Basic Auth credentials if required, and update the PDF output filename/header settings as needed.
  4. Connect Microsoft Outlook credentials with permission to send mail, then set the recipient address (and optionally customize the subject and HTML email body).

Requirements

Customization

Additional info

For support, contact support@ais.email (AI Solutions, Inc.)

๐Ÿ”— Nodes Used

HTTP Request, Microsoft Outlook, AI Agent, Anthropic Chat Model, n8n Form Trigger, Convert to File

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup