Quick overview
This workflow collects a website URL via an n8n form, checks the page for lead-capture signals, uses Groq to generate a short audit summary, then logs the request to Google Sheets and emails a scored HTML report to the visitor and an alert to you via Gmail.
How it works
- Receives an audit request from an n8n form submission with the visitor’s name, email, business name, and website.
- Normalizes the inputs (including adding https:// when missing) and fetches the website HTML via an HTTP request.
- Runs rule-based checks on the page to detect lead-capture elements (WhatsApp, booking, tap-to-call, contact form, live chat, opening hours, response-time promise, and mobile readiness) and calculates a weighted score out of 100.
- If the page is readable, sends the check results and a text excerpt to Groq to generate a JSON audit summary with strengths, top fixes, and a quick win, then composes a branded HTML report.
- If the page cannot be read or is unreachable, builds a “could not audit” email and marks the request for manual review or unreachable status.
- Appends the audit outcome to an Audits tab in Google Sheets and emails the visitor their report and you an owner alert via Gmail.
Setup
- Create a Groq API key and connect it in the Groq chat model used to write the audit summary.
- Connect a Gmail account for sending the visitor report and the owner alert.
- Connect Google Sheets, set the target spreadsheet document ID, and ensure a sheet tab named Audits exists with the expected columns.
- Open the configuration step and replace the placeholders for your agency name, owner alert email, and booking link (and optionally update the CTA text and minimum readable character threshold).
- Activate the workflow and publish or embed the n8n form, then share the form URL on your website.