Audit landing page CRO and log results with OpenAI and Data Tables

Go to Workflow
1 views
Built by Dr. Firas Dr. Firas
Created on July 28, 2026

Description

Quick overview
This workflow collects a landing page URL, scrapes its HTML, and uses OpenAI to generate a structured conversion-rate-optimization (CRO) audit with scores and prioritized tips, then renders a styled report in the browser and logs each audit to an n8n Data Table.

How it works
Presents an n8n Form where the user submits a landing page URL.
Fetches the landing page HTML via an HTTP request with retries, and routes to an error page if the URL can’t be retrieved.
Sends the scraped HTML and URL to OpenAI to produce a CRO audit including an overall score, category scores, a written roast, and a ranked list of optimization tips.
Uses a structured output parser with an OpenAI “fixer” model to validate and auto-correct the AI response into the required JSON schema.
Builds a styled HTML report from the structured audit results.
Logs the audit metadata (URL, score, verdict, summary, language, timestamp) to an n8n Data Table and displays the report back in the user’s browser.

Setup
Add an OpenAI API credential and select it for both the main OpenAI model and the output-fixer model.
Create or select an n8n Data Table (for example, “CRO Audit Log”) and map the columns used for url, cro_score, verdict, summary, language, and analyzed_at.
Update the default settings in the Configuration step as needed (model names, number of tips, and output language) before activating the workflow.

Additional info
Analyze landing page with OpenAI and get optimization tips to convert

📥 Open full documentation on Notion

Need help customizing?
Contact me for consulting and support : Linkedin

MY NEW YOUTUBE CHANNEL
👉 Subscribe to my new YouTube channel. Here I'll share videos and Shorts with practical tutorials and FREE templates for n8n.

Nodes Used (5)

Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Structured Output Parser
@n8n/n8n-nodes-langchain.outputParserStructured