# Audit website lead capture and email reports with Groq, Gmail and Sheets

> 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 1. Receives an audit request from an n8n form submission with the visitor’s name, email, business name, and website. 2. Normalizes the inputs (including adding https:// when missing) and fetches the website HTML via an HTTP request. 3. 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. 4. 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. 5. If the page cannot be read or is unreachable, builds 

- **Domain**: `n8n-workflow-22639.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/22639
- Page (HTML): https://agenstry.com/agents/n8n-workflow-22639.n8n.io
- Documentation: https://n8n.io/workflows/22639
