Send AI website audits with GPT-4.1 and Gmail as a lead magnet
Ready for 3.0What this workflow does
This AI workflow has 11 nodes and runs when someone submits an n8n form (“Free AI Business Audit”). Along the way it connects OpenAI Chat Model and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Free AI Business Audit”).
- Fetch Website HTML (HTTP Request): calls an HTTP API
- Clean HTML (Code): runs custom JavaScript code
- Analyst Agent (AI Agent): runs an AI agent, with model: OpenAI – Analyst Model; output parser: Analyst Output Parser
- Writer Agent (AI Agent): runs an AI agent, with model: OpenAI – Writer Model; output parser: Writer Output Parser
- Build Email HTML (Code): runs custom JavaScript code
- Send Email (Gmail): uses Gmail
Services it uses
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.
Nodes used (7)
- n8n Form Trigger
n8n-nodes-base.formTrigger - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - AI Agent
@n8n/n8n-nodes-langchain.agent - Gmail
n8n-nodes-base.gmail - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest
From the author
How it works - A prospect submits a form with their email and website URL - The workflow fetches and cleans the website HTML, extracting key business signals - An Analyst Agent reads the content and produces a structured JSON diagnostic (business type,…