Skip to main content

Extract website intelligence & classify ecommerce URLs with Gemini & Firecrawl to Google Sheets

Workflow preview

Workflow preview
100%
Extract website intelligence & classify ecommerce URLs with Gemini & Firecrawl to Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Description This n8n template automates website analysis and ecommerce URL classification using AI. It scrapes a website, extracts business intelligence, maps all internal pages, and categorises th...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@mendable/n8n-nodes-firecrawl.firecrawl, n8n-nodes-base.formtrigger, n8n-nodes-base.httprequest, n8n-nodes-base.htmlextract, n8n-nodes-base.code, n8n-nodes-base.googlesheets, n8n-nodes-base.splitinbatches, @n8n/n8n-nodes-langchain.googlegemini

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Dinakar Selvakumar.

Original n8n.io source

1.1 Workflow description

Title
Extract website intelligence & classify ecommerce URLs with Gemini & Firecrawl to Google Sheets
Workflow name
Extract website intelligence & classify ecommerce URLs with Gemini & Firecrawl to Google Sheets

Description

This n8n template automates website analysis and ecommerce URL classification using AI. It scrapes a website, extracts business intelligence, maps all internal pages, and categorises them into products, categories, or non-commerce pages. All outputs are saved in Google Sheets for easy access.


Use cases

  • Lead enrichment for sales and marketing teams
  • Ecommerce product & category discovery
  • Competitor website analysis
  • Website audits and content mapping
  • Market and industry research

How it works

  1. A user submits a website URL via an n8n form.
  2. The homepage is scraped and cleaned.
  3. AI extracts company insights (value proposition, industry, audience, B2B/B2C).
  4. Firecrawl maps all internal URLs.
  5. URLs are enriched with metadata.
  6. AI classifies each URL as product, category, or other.
  7. Results are written into structured Google Sheets tabs.

How to use

  1. Import the workflow into n8n.
  2. Connect Google Sheets, Firecrawl, and AI credentials.
  3. Update the Google Sheets document links.
  4. Open the form URL and submit a website.
  5. Let the workflow run and review the results in Sheets.

Requirements

  • n8n (self-hosted or cloud)
  • Firecrawl API key
  • Google Gemini or compatible LLM credentials
  • Google Sheets account

Customising this workflow

  • Change AI prompts to match your niche (SaaS, ecommerce, services).
  • Add filters to exclude unwanted URLs (blogs, legal pages, etc.).
  • Extend Sheets with scoring, tagging, or lead qualification logic.
  • Replace the LLM with another supported model if needed.

What this template demonstrates

  • End-to-end website intelligence extraction
  • Safe, rule-based AI classification (no hallucinations)
  • Scalable URL processing with batching
  • Clean data pipelines into Google Sheets
  • Practical AI usage for real business workflows

This template is designed to work out-of-the-box for website intelligence, ecommerce mapping, and lead research.

Feel free to reach out for custom implementation or enhancements:

šŸ“§ Email: @[email protected]

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Map a website and get urls

Type / Role
@mendable/n8n-nodes-firecrawl.firecrawl - firecrawl
Config choices
Version 1

Block 2 - Form Submission

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.3

Block 3 - Scrape Website URL

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 3

Block 4 - Extract HTML

Type / Role
n8n-nodes-base.htmlExtract - htmlExtract
Config choices
Version 1

Block 5 - Clean HTML Content

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 6 - Parse JSON Data

Type / Role
n8n-nodes-base.code - code
Config choices
Version 1

Block 7 - Update Domain Scraper Sheet

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 3

Block 8 - Parse URLs with MetaData

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 9 - Parse Array URLs

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - Split in Batches

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 1

Block 11 - Categorising AI Agent

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 12 - Company Info Agent

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 13 - Parse All URLs with categories

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Append Categories

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 15 - Append Products

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 16 - Parse Others

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 17 - Parse Products

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 18 - Parse Categories

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 19 - Append Others

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.7

Block 20 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 23 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 24 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Showing the first 24 of 28 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Extract website intelligence & classify ecommerce URLs with Gemini & Firecrawl to Google Sheets
Complexity advanced
Nodes 28
Categories Market Research, AI Summarization
Author Dinakar Selvakumar
Published 25 Dec 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/12132/12132.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Extract website intelligence & classify ecommerce URLs with Gemini & Firecrawl to Google Sheets do?

Description This n8n template automates website analysis and ecommerce URL classification using AI. It scrapes a website, extracts business intelligence, maps all internal pages, and categorises th...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.