This n8n template shows you how to automate on-page SEO and GEO (Generative Engine Optimization) audits with a sovereign AI. By combining a web crawler and the IONOS AI Model Hub, any URL you submit is fully analyzed and a structured audit report is delivered to your inbox in minutes.
A Form Trigger collects three inputs: the target URL, the preferred crawler type, and the recipient email address. A Switch node routes the request to either a simple HTTP crawler (fast, suitable for static and server-rendered sites) or a headless browser crawler powered by Apify Playwright (for JavaScript-heavy SPAs built with React, Vue, or Angular).
The Extract SEO Data code node then processes the raw HTML: it preserves the full <head> section including JSON-LD structured data, extracts the heading hierarchy (H1–H6), captures image alt attributes, collects internal and external links with anchor text, and strips the body down to clean readable text — giving the AI a complete and structured picture of the page.
The SEO + GEO Audit node sends this data to the IONOS AI Model Hub (Mistral Nemo) with a detailed prompt that instructs the model to return a two-part Markdown report. Part 1 covers SEO signals: title tag, meta description, canonical URL, robots directives, heading structure, schema markup, Open Graph tags, hreflang, image alt texts, and link signals. Part 2 covers GEO signals: E-E-A-T attribution, factual clarity, answer-ready content, structured data quality for AI parsers, citation worthiness, brand entity consistency, and content freshness.
Each finding is categorized as a Critical Issue, Quick Win, or Opportunity. A Markdown node converts the report to HTML, and a Gmail node delivers it as a formatted email to the address entered in the form.
HTTP vs Headless: Use HTTP for standard WordPress, static HTML, or server-rendered sites — it is faster and free. Switch to Headless (Apify or other provider) only when the page relies on JavaScript to render its content, such as React or Vue applications.
Model selection: The IONOS AI Model Hub offers several LLMs. Mistral Nemo delivers strong reasoning for structured SEO analysis. You can swap the model name directly in the audit node for any model available on the Hub.
Data extraction: The workflow extracts headings, image alts, and links as structured fields before stripping tags — so the AI can audit alt text coverage and heading hierarchy accurately, not just guess from plain text.