Audit multi-page CRO with GPT-4o-mini, Google Sheets, and Gmail alerts
Needs changesWhat this workflow does
This AI workflow has 13 nodes and runs when someone submits an n8n form (“Multi-Page CRO Audit”). Along the way it connects OpenAI Chat Model, Google Sheets and Gmail.
How it runs
Trigger: When someone submits an n8n form (“Multi-Page CRO Audit”).
- 2. Set — Config Values (Edit Fields (Set)): sets 13 fields: sheetId, sheetName, alertEmail…
- 3. Code — Build Pages List (Code): runs custom JavaScript code
- 4. HTTP — Scrape Landing Page (HTTP Request): calls an HTTP API
- 5. Code — Clean HTML to Text (Code): runs custom JavaScript code
- 6. AI Agent — CRO Audit (AI Agent): runs an AI agent, with model: 7. OpenAI — GPT-4o-mini Model; output parser: 8. Parser — Structured CRO Output
- 9. Code — Prepare Audit Results (Code): runs custom JavaScript code
- 10. Google Sheets — Log CRO Audit (Google Sheets): append
- 11. IF — Score Below Threshold? (If): checks a condition and branches into true / false
- 12. Gmail — Send CRO Alert (Gmail): uses Gmail
- 13. Set — No Alert Needed (Edit Fields (Set)): sets 1 field: result
Services it uses
Before you upgrade to n8n 3.0
1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:
- AI Agent v1 (old agent modes) in 6. AI Agent — CRO Audit (v1.7): replace with Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent.
Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).
| Removed in 3.0 | Replace with |
|---|---|
| AI Agent v1 (old agent modes) 6. AI Agent — CRO Audit (v1.7) | Latest AI Agent node (Tools Agent). For SQL Agent, use a Postgres or MySQL tool with a recent AI Agent. |
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Edit Fields (Set)
n8n-nodes-base.set - Code
n8n-nodes-base.code - HTTP Request
n8n-nodes-base.httpRequest - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Gmail
n8n-nodes-base.gmail
From the author
Description Submit up to 3 landing page URLs using a simple form and the workflow audits each one automatically. For every page, GPT-4o-mini scrapes the content, scores it across five dimensions, identifies the top conversion issue, and generates five…