📊 Analyze website page gaps with GPT-4.1-mini, Perplexity, and Google Docs

⚡ 18 views · 📊 Market Research & Insights

💡 Pro Tip — HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it — it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Description

An AI-powered workflow that analyzes any website to identify missing pages that would improve user experience and business performance. Submit a URL, and the system detects existing pages, researches competitors using Perplexity, and generates a professional gap analysis report with prioritized recommendations—saved directly to Google Docs.


What this workflow does

This automation delivers a complete website page gap analysis:


Setup requirements

Tools you’ll need:

Estimated setup time: 15–20 minutes


Step-by-step setup

1. Connect Google Docs

2. Add OpenAI API credentials

3. Add Perplexity API credentials

4. Share the form URL

5. Test the workflow

6. Activate the workflow


How it works

1. URL submission via form

User opens the form link and submits a website URL they want to analyze. The form triggers the workflow immediately.

2. HTML fetch and extraction

The workflow sends an HTTP request to the submitted URL and retrieves the complete HTML source code of the website’s homepage.

3. Automated page detection

A code node analyzes the HTML to detect 15 common page types:

The detection works by:

4. Business type classification

The code also identifies the website’s business type based on HTML content patterns:

5. Deep competitor research with Perplexity

The AI Agent instructs Perplexity to:

Perplexity focuses only on user-facing pages and ignores technical files (sitemap.xml, robots.txt, admin pages).

6. AI gap analysis and recommendations

GPT-4.1-mini with web search:

Critical filtering rules:

7. Professional report generation

The AI Agent outputs a structured report containing:

8. Save to Google Docs

The complete report is inserted into your Google Docs document. Each new analysis appends to the same document, creating a running archive of all audits performed.


Key features

✅ Automatic page detection: Scans HTML and identifies 15 common page types without manual input—no need to know the site structure beforehand

✅ Business type intelligence: Classifies websites into 6 business categories to provide industry-relevant recommendations

✅ Perplexity-powered research: Deep competitor analysis covering 5-7 top sites in the same niche with complete page inventories

✅ Smart filtering: Never recommends pages that already exist, even if they use different naming conventions or URL structures

✅ Priority-based recommendations: Every suggestion labeled High/Medium/Low with clear business justification—know what to build first

✅ Actionable content ideas: Not just “add a blog”—specific suggestions for what content should go on each recommended page

✅ Competitor examples: See how successful competitors use each recommended page type in their own sites

✅ Google Docs integration: Professional reports saved automatically—no downloads, no formatting, ready to share

✅ Form-based workflow: Single URL submission—anyone can run audits without touching n8n


Troubleshooting

HTML fetch fails

Pages not detected correctly

Perplexity API errors

OpenAI web search not working

Report not saving to Google Docs

AI recommendations are too generic


Use cases

Web design agencies: Audit client websites before proposals. Show exactly which pages are missing compared to competitors, with business justification for each recommendation. Win more projects by demonstrating data-driven insights.

SEO consultants: Include page gap analysis in site audits. Identify missing pages that competitors rank for (FAQ, pricing, testimonials). Provide clients with actionable roadmaps for site expansion.

In-house marketing teams: Analyze competitor websites quarterly to spot new page types or content strategies. Keep your site competitive by identifying gaps before leadership asks about them.

Freelance developers: Offer value-add services to existing clients. Run audits on their sites, identify quick wins (missing FAQ, testimonials, pricing pages), and sell additional development work.

Startup founders: Before hiring a design agency, understand what pages you actually need. Get a competitor-researched report showing industry standards for your business type—save time and budget.

Content strategists: Identify content opportunities beyond blog posts. See which informational pages (FAQ, case studies, resource libraries) competitors have that you’re missing.


Expected results


Support

Need help or custom development?

📧 Email: info@isawow.com
🌐 Website: https://isawow.com/

🔗 Nodes Used

HTTP Request, Google Docs, AI Agent, OpenAI Chat Model, n8n Form Trigger

đŸ“„ Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup