Skip to main content

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

Workflow preview

Workflow preview
100%
Generate an SEO PDF report from HTML with Gotenberg and Claude Opus 4.6 preview
Open on n8n.io

1. Workflow Overview

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 str...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatanthropic, n8n-nodes-base.converttofile, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Marcelo Abreu.

Original n8n.io source

1.1 Workflow description

Title
Generate an SEO PDF report from HTML with Gotenberg and Claude Opus 4.6
Workflow name
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, 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, 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:

services:
 # ... your n8n service ...

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

Run docker compose up -d to restart your stack. Gotenberg will be available at http://gotenberg:3000 from inside your n8n container.

Option 3 — Google Cloud Run (n8n Cloud or no Docker access): Deploy gotenberg/gotenberg:8 as a Cloud Run service via the Google Cloud Console. Set the container port to 3000, memory to 1 GiB, and use the generated URL as your endpoint.

📖 Full Gotenberg docs: gotenberg.dev/docs

AI Model

This workflow uses Claude Opus 4.6 via the Anthropic API. You can swap it for OpenAI, Google, or Ollama — just replace the Chat Model node.

Requirements

  • Anthropic API key (or alternative LLM provider)
  • Gotenberg instance (demo URL included for quick testing)
  • No other external services or paid tools required

Feel free to contact me via LinkedIn if you have any questions! 👋🏻

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - On form submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.5

Block 2 - AI Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 3.1

Block 3 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 4 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 5 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Extracting HTML from URL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 13 - Using Gotenberg

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.3

Block 14 - Sticky Note7

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Generate an SEO PDF report from HTML with Gotenberg and Claude Opus 4.6
Complexity intermediate
Nodes 14
Categories Market Research, AI Summarization
Author Marcelo Abreu
Published 27 Feb 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/13758/13758.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Generate an SEO PDF report from HTML with Gotenberg and Claude Opus 4.6 do?

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 str...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.