Skip to main content

Generate a legal website accessibility statement with AI and WAVE

Workflow preview

Workflow preview
100%
Generate a legal website accessibility statement with AI and WAVE preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Who is this for? This template is for any website owner, digital agency, or compliance officer operating within the European Union . It's designed for users who need to comply with the upcoming Eur...

Best for

  • Document Extraction automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.html, n8n-nodes-base.movebinarydata, n8n-nodes-base.code, n8n-nodes-base.set

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate a legal website accessibility statement with AI and WAVE
Workflow name
Generate a legal website accessibility statement with AI and WAVE

Who is this for?

This template is for any website owner, digital agency, or compliance officer operating within the European Union. It's designed for users who need to comply with the upcoming European Accessibility Act (EAA) but may not have deep technical or legal expertise.

Disclaimer

This workflow uses an npm package called "cheerio" to work with the specified URLs HTML code. Installing packages is only possible in self hosting.

What problem is this workflow solving? / Use Case

Starting June 28, 2025, the European Accessibility Act (EAA) mandates that most websites offering products or services in the EU must be accessible and publish a formal Accessibility Statement. Manually creating this legal document is complex, requiring both a technical site analysis and knowledge of specific legal requirements. This workflow automates the generation of a compliant first draft, saving significant time and effort.

What this workflow does

After you input your details (like website URL and API key) in a central configuration node, this workflow automatically:

  1. Scans your live website for accessibility issues using the powerful WAVE API.
  2. Processes the scan results to identify the main problem areas.
  3. Instructs a Google Gemini AI agent with a specialized legal prompt based on the European Accessibility Act.
  4. Generates a formal Accessibility Statement in your desired language.
  5. Saves the statement as an .html file and sends it to you as an email attachment.

Setup

This workflow is designed for a quick setup:

  1. Configure All Variables: Click the 'CHANGE THESE: dependencies' node. This is your central control panel. Fill in all the values, including your WAVE API Key, the URL to analyze, company details, and desired output language.
  2. Set Up Credentials: You will need to connect your Google accounts for the workflow to run.
    • Gemini: Click the 'gemini 2.5 pro' node, click the gear icon (⚙️) next to the "Credential" field, and connect your Google Gemini API credentials.
    • Gmail: Click the 'Send report by email' node and connect your Gmail account to allow sending the final report.
  3. Activate & Execute: Make sure the workflow is active in the top-right corner, then click 'Execute Workflow' to run your first analysis.

How to customize this workflow to your needs

This template is a great starting point for any EU country. Here's how to adapt it:

  • Localize for Your Country (Important!): The generated statement contains a placeholder for the "Enforcement Procedure". You must edit the prompt in the 'Accessibility Statement Generator' node to replace this placeholder with the name and link to your specific country's official enforcement body.
  • Change the AI: Swap the Google Gemini node for any other AI model, like OpenAI or Anthropic Claude, by replacing the node and connecting it to the agent.
  • Change the Trigger: Replace the 'When clicking ‘Execute workflow’' node with a Form Trigger or Webhook Trigger to run this workflow based on external inputs, for example, to offer this analysis as a service to your clients.

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 - Get Website HTML

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

Block 2 - Get WAVE Report

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

Block 3 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 4 - Accessibility Statement Generator

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

Block 5 - gemini 2.5 pro

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 6 - Parse output as html

Type / Role
n8n-nodes-base.html - html
Config choices
Version 1.2

Block 7 - Create accesibility statement html file

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

Block 8 - Map WAVE Report Items to Website selectors.

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - CHANGE THESE: dependencies

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 10 - When clicking ‘Execute workflow’

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

Block 11 - Send accessibility statement by email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 12 - Sticky Note

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

Block 13 - Sticky Note1

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

3. Summary Table

Workflow Generate a legal website accessibility statement with AI and WAVE
Complexity intermediate
Nodes 13
Categories Document Extraction, Multimodal AI
Author Lukas Kunhardt
Published 06 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4738/4738.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 a legal website accessibility statement with AI and WAVE do?

Who is this for? This template is for any website owner, digital agency, or compliance officer operating within the European Union . It's designed for users who need to comply with the upcoming Eur...

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 Document Extraction, Multimodal AI use case.