Audit website lead capture and email reports with Groq, Gmail and Sheets
Ready for 3.0What this workflow does
This AI workflow has 14 nodes and runs when someone submits an n8n form (“Free lead capture audit”). Along the way it connects Groq Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Free lead capture audit”).
- Set Form Configuration (Edit Fields (Set)): sets 10 fields: agency_name, owner_email, booking_link…
- Fetch Website Content (HTTP Request): calls an HTTP API
- Identify Lead Capture Signals (Code): runs custom JavaScript code
- Create Error Email (Code): runs custom JavaScript code
- Check Page Readability (If): checks a condition and branches into true / false
- Create Audit Summary (Basic LLM Chain): sends a prompt to an LLM, with model: Groq AI Analysis; output parser: Prepare Audit Format
- Append Audit to Sheet (Google Sheets): append
- Build Audit Report (Code): runs custom JavaScript code
- Send Report to Visitor (Gmail): uses Gmail
- Notify Owner via Email (Gmail): uses Gmail
Services it uses
Other Google Sheets + Gmail templates (2,102) · Other Groq + Google Sheets templates (156) · Other Groq + Gmail templates (125)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (11)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - If
n8n-nodes-base.if - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Groq Chat Model
@n8n/n8n-nodes-langchain.lmChatGroq - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - No Operation, do nothing
n8n-nodes-base.noOp - Google Sheets
n8n-nodes-base.googleSheets - Gmail
n8n-nodes-base.gmail
From the author
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…