Quick overview
This workflow collects a new client’s site details through an n8n form, runs SEO audit reports via GSC Magic (Google Search Console data plus optional Core Web Vitals), and sends a formatted HTML audit email with quick wins, cannibalization, and indexing health.
How it works
- Receives a submission from an n8n Form with the client name, website/property, recipient email address, and whether to check Core Web Vitals.
- Normalizes and validates the submitted domain, then prepares the Search Console property, origin URL, and email settings used in the report.
- Calls GSC Magic to generate a “quick wins” report from Google Search Console data for the last 28 days.
- If the site is not accessible in Google Search Console, composes an email explaining the missing access and how the client can add your Google account as a user.
- If the site is accessible, calls GSC Magic for cannibalization (queries split across pages) and index health (sitemap URL sampling via the URL Inspection API).
- If requested, calls GSC Magic to fetch Core Web Vitals for the site origin from the Chrome UX Report (phone form factor).
- Builds a single HTML audit email with a KPI summary and detailed sections (including partial error messages when a report fails) and sends it to the provided recipient address.
Setup
- Create a GSC Magic access token and add it as an HTTP Bearer Auth credential, then select it in every “GSC Magic” HTTP Request.
- Ensure the target site already exists as a Google Search Console property and that the Google account connected to GSC Magic has at least Full user access.
- Configure an SMTP email credential for the Email Send node and set the “senderEmail” value in the workflow settings.
- Update the Settings values (agency name, brand color, and how many sitemap URLs to inspect for indexing) to match your environment.
- Open the form trigger’s production URL and share it internally (or bookmark it) for submitting new audit requests.