workflows.fit
Back to n8n workflows
n8n templateFreeBy Marcelo Abreu

Generate an SEO PDF report from HTML with Gotenberg and Claude Opus 4.6

What this workflow does This workflow takes any website URL, extracts its HTML content, and uses an AI Agent (Claude Opus 4.6) to perform a comprehensive SEO analysis. The AI evaluates the page structure, meta tags, h...

DevelopmentCore NodesAILangchainForm TriggerAgentLm Chat AnthropicConvert To File
Loading interactive preview...

Template notes

What this workflow does

This workflow takes any website URL, extracts its HTML content, and uses an AI Agent (Claude Opus 4.6) to perform a comprehensive SEO analysis. The AI evaluates the page structure, meta tags, heading hierarchy, link profile, image optimization, and more — then generates a beautifully formatted HTML report. Finally, it converts the report into a PDF using [Gotenberg](https://gotenberg.dev), a free and open-source HTML-to-PDF engine.

Workflow steps: 1. Form submission — pass the URL you want to analyze 2. HTML extraction — fetches the full HTML content from the URL 3. AI SEO analysis — Claude Opus 4.6 analyzes the HTML and generates a detailed SEO report in HTML format 4. File conversion — converts the HTML output into a file (index.html) for Gotenberg 5. PDF generation — sends the file to Gotenberg and returns the final PDF

Setup Guide

Gotenberg — Choose one of 3 options:

Option 1 — Demo URL (testing only): Use https://demo.gotenberg.dev as the URL in the HTTP Request node. This is a public instance with rate limits — do not use in production.

Option 2 — Docker Compose (self-hosted n8n): Add Gotenberg to the same docker-compose.yml where your n8n service is defined: yaml services: ... your n8n service ...

gotenberg: image: gotenberg/gotenberg:8 restart: always