n8n

How to Automate Gmail On Page SEO Audits?

Get a full on page SEO review sent to your inbox from a single URL. Marketers, agencies, and founders can use it to spot content gaps and technical issues in minutes without manual checks.

A simple form collects the landing page link. The flow fetches the page HTML, runs two AI audits, and turns the findings into a clean report. One AI agent reviews technical elements like titles, meta tags, headers, links, and speed hints from the code. A second AI agent studies content quality, search intent, clarity, and conversion messages. The outputs are merged, formatted into HTML using a Markdown step, and delivered via Gmail with a clear subject line.

Setup needs OpenAI and Gmail access. Add credentials, set your email, and publish the form. Expect faster audits and consistent results across pages. Great for pre sales page reviews, quick launch checks, and weekly content sweeps. Cost per run depends on the model and is usually a few cents per page, about 0.3 dollars with the suggested model.

What are the key features?

  • Form capture for a single landing page URL using a hosted form trigger.
  • HTTP fetch to pull full page HTML for analysis.
  • Two OpenAI chat models to power content and technical review agents.
  • Technical Audit agent checks tags, headers, links, and structural issues from HTML.
  • Content Audit agent reviews search intent, clarity, keywords, and conversion copy.
  • Merge and Aggregate combine both AI outputs into a single ordered report.
  • Markdown step formats sections and converts to clean HTML.
  • Gmail sends the HTML report with a clear subject line that includes the page URL.

What are the benefits?

  • Reduce manual audit work from 2 hours to 5 minutes
  • Automate about 90 percent of page checklist tasks
  • Improve report consistency by up to 95 percent
  • Handle 10 times more page reviews per week with the same team
  • Connect OpenAI and Gmail to deliver audits end to end

How do you set it up?

  1. Import the template into n8n: Create a new workflow in n8n > Click the three dots menu > Select 'Import from File' > Choose the downloaded JSON file.
  2. You'll need accounts with OpenAI and Gmail. See the Tools Required section above for links to create accounts with these services.
  3. In the n8n credentials manager, create a new OpenAI credential. Choose API Key, paste your OpenAI API key from the OpenAI account dashboard, and save.
  4. In the Gmail node, open the Credential to connect with menu, click Create new credential, then sign in with Google and grant permission to send email. Save the credential.
  5. Open the Form Trigger node and confirm the field name is Landing Page Url and it is required. Copy the public form URL for testing.
  6. Open the HTTP Request node and make sure the URL field uses the form value. Keep method as GET. If some sites block requests, add a User Agent header in the node options.
  7. Open both OpenAI Chat Model nodes and select your preferred model. Start with gpt 4o mini for speed and cost control.
  8. Check the Technical Audit and Content Audit agent nodes. Ensure each one receives the scraped page data and is linked to the correct OpenAI model.
  9. Open the Markdown node and keep the two section titles. Confirm it outputs HTML. If your email shows blank, set the Gmail message field to use {{$json.html}} from the Markdown node.
  10. Set the Gmail node recipient email and review the subject line. Keep the subject token that includes the page URL for quick context.
  11. Publish the form. Submit a real landing page URL and watch the execution. Confirm the Gmail message shows both sections and readable formatting.
  12. Troubleshoot common issues: If scraping fails, test the URL in a browser and check redirects. If the email contains raw markdown, recheck the Markdown node output mapping. If the AI response is too long, shorten the prompts or switch to a larger context model.

Tools Required

$24 / mo or $20 / mo billed annually to use n8n in the cloud. However, the local or self-hosted n8n Community Edition is free.

Gmail

Sign up

No cost: Personal Gmail (Gmail API has no usage-based pricing; quotas apply)

OpenAI

Sign up

Pay-as-you-go: GPT-5 at $1.25 per 1M input tokens and $10 per 1M output tokens

Similar Templates

Join Futurise to access 1,200+ automation templates

Get instant access to ready-made automation workflows for n8n, Make.com, AI agents, and more. Download, customise, and deploy in minutes.