See llms.txt for all machine-readable content.

Back to Templates

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

Created by

Created by: Dr. Firas || drfiras
Dr. Firas

Last update

Last update 2 days ago

Categories

Share


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

  1. Presents an n8n Form where the user submits a landing page URL.
  2. Fetches the landing page HTML via an HTTP request with retries, and routes to an error page if the URL can’t be retrieved.
  3. 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.
  4. Uses a structured output parser with an OpenAI “fixer” model to validate and auto-correct the AI response into the required JSON schema.
  5. Builds a styled HTML report from the structured audit results.
  6. 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

  1. Add an OpenAI API credential and select it for both the main OpenAI model and the output-fixer model.
  2. 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.
  3. 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.

The AI Doctor