Skip to main content

Ai website scraper & company intelligence

Workflow preview

Workflow preview
100%
Ai website scraper & company intelligence preview
Open on n8n.io

Important notice

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

1. Workflow Overview

AI Website Scraper & Company Intelligence Description This workflow automates the process of transforming any website URL into a structured, intelligent company profile . It's triggered by a form, ...

Best for

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

Tools used

n8n-nodes-base.supabase, @n8n/n8n-nodes-langchain.lmchatmistralcloud, n8n-nodes-mcp.mcpclienttool, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.outputparserstructured, n8n-nodes-crawl-and-scrape.crawleenode, n8n-nodes-base.formtrigger, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by DIGITAL BIZ TECH.

Original n8n.io source

1.1 Workflow description

Title
Ai website scraper & company intelligence
Workflow name
Ai website scraper & company intelligence

AI Website Scraper & Company Intelligence

Description

This workflow automates the process of transforming any website URL into a structured, intelligent company profile.
It's triggered by a form, allowing a user to submit a website and choose between a "basic" or "deep" scrape.

The workflow extracts key information (mission, services, contacts, SEO keywords), stores it in a structured Supabase database, and archives a full JSON backup to Google Drive.
It also features a secondary AI agent that automatically finds and saves competitors for each company, building a rich, interconnected database of company intelligence.


Quick Implementation Steps

  1. Import the Workflow: Import the provided JSON file into your n8n instance.

  2. Install Custom Community Node:
    You must install the community node from:
    https://www.npmjs.com/package/n8n-nodes-crawl-and-scrape FIRECRAWL N8N Documentation https://docs.firecrawl.dev/developer-guides/workflow-automation/n8n

  3. Install Additional Nodes:
    n8n-nodes-crawl-and-scrape and n8n-nodes-mcp fire crawl mcp .

  4. Set up Credentials:
    Create credentials in n8n for FIRE CRAWL API,Supabase, Mistral AI, and Google Drive.

  5. Configure API Key (CRITICAL):

    • Open the Web Search tool node.
    • Go to Parameters → Headers and replace the hardcoded Tavily AI API key with your own.
  6. Configure Supabase Nodes:

    • Assign your Supabase credential to all Supabase nodes.
    • Ensure table names (e.g., companies, competitors) match your schema.
  7. Configure Google Drive Nodes:

    • Assign your Google Drive credential to the Google Drive2 and save to Google Drive1 nodes.
    • Select the correct Folder ID.
  8. Activate Workflow:
    Turn on the workflow and open the Webhook URL in the “On form submission” node to access the form.


What It Does

Form Trigger

Captures user input: “Website URL” and “Scraping Type” (basic or deep).

Scraping Router

A Switch node routes the flow:

  • Deep Scraping → AI-based MCP Firecrawler agent.
  • Basic Scraping → Crawlee node.

Deep Scraping (Firecrawl AI Agent)

  • Uses Firecrawl and Tavily Web Search.
  • Extracts a detailed JSON profile: mission, services, contacts, SEO keywords, etc.

Basic Scraping (Crawlee)

  • Uses Crawl and Scrape node to collect raw text.
  • A Mistral-based AI extractor structures the data into JSON.

Data Storage

  • Stores structured data in Supabase tables (companies, company_basicprofiles).
  • Archives a full JSON backup to Google Drive.

Automated Competitor Analysis

  • Runs after a deep scrape.
  • Uses Tavily web search to find competitors (e.g., from Crunchbase).
  • Saves competitor data to Supabase, linked by company_id.

Who's It For

  • Sales & Marketing Teams: Enrich leads with deep company info.
  • Market Researchers: Build structured, searchable company databases.
  • B2B Data Providers: Automate company intelligence collection.
  • Developers: Use as a base for RAG or enrichment pipelines.

Requirements

  • n8n instance (self-hosted or cloud)
  • Supabase Account: With tables like companies, competitors, social_links, etc.
  • Mistral AI API Key
  • Google Drive Credentials
  • Tavily AI API Key
  • (Optional) Custom Nodes:
    • n8n-nodes-crawl-and-scrape

How It Works

Flow Summary

  1. Form Trigger: Captures “Website URL” and “Scraping Type”.
  2. Switch Node:
    • deep → MCP Firecrawler (AI Agent).
    • basic → Crawl and Scrape node.
  3. Scraping & Extraction:
    • Deep path: Firecrawler → JSON structure.
    • Basic path: Crawlee → Mistral extractor → JSON.
  4. Storage:
    • Save JSON to Supabase.
    • Archive in Google Drive.
  5. Competitor Analysis (Deep Only):
    • Finds competitors via Tavily.
    • Saves to Supabase competitors table.
  6. End: Finishes with a No Operation node.

How To Set Up

  1. Import workflow JSON.
  2. Install community nodes (especially n8n-nodes-crawl-and-scrape from npm).
  3. Configure credentials (Supabase, Mistral AI, Google Drive).
  4. Add your Tavily API key.
  5. Connect Supabase and Drive nodes properly.
  6. Fix disconnected “basic” path if needed.
  7. Activate workflow.
  8. Test via the webhook form URL.

How To Customize

  • Change LLMs: Swap Mistral for OpenAI or Claude.
  • Edit Scraper Prompts: Modify system prompts in AI agent nodes.
  • Change Extraction Schema: Update JSON Schema in extractor nodes.
  • Fix Relational Tables: Add Items node before Supabase inserts for arrays (social links, keywords).
  • Enhance Automation: Add email/slack notifications, or replace form trigger with a Google Sheets trigger.

Add-ons

  • Automated Trigger: Run on new sheet rows.
  • Notifications: Email or Slack alerts after completion.
  • RAG Integration: Use the Supabase database as a chatbot knowledge source.

Use Case Examples

  • Sales Lead Enrichment: Instantly get company + competitor data from a URL.
  • Market Research: Collect and compare companies in a niche.
  • B2B Database Creation: Build a proprietary company dataset.

WORKFLOW IMAGE

Troubleshooting Guide

Issue Possible Cause Solution
Form Trigger 404 Workflow not active Activate the workflow
Web Search Tool fails Missing Tavily API key Replace the placeholder key
FIRECRAWLER / find competitor fails Missing MCP node Install n8n-nodes-mcp
Basic scrape does nothing Switch node path disconnected Reconnect “basic” output
Supabase node error Wrong table/column names Match schema exactly

Need Help or More Workflows?

Want to customize this workflow for your business or integrate it with your existing tools?
Our team at Digital Biz Tech can tailor it precisely to your use case from automation logic to AI-powered enhancements.

Contact: [email protected]
For more such offerings, visit us: https://www.digitalbiz.tech


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 - Supabase

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

Block 2 - Mistral Cloud Chat Model3

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

Block 3 - list tools

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 4 - execute tools

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 5 - find competitor

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 6 - Structured Output Parser

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 7 - Supabase4

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

Block 8 - Crawl and Scrape

Type / Role
n8n-nodes-crawl-and-scrape.crawleeNode - crawleeNode
Config choices
Version 1

Block 9 - On form submission

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

Block 10 - Switch

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 11 - basic web scraper

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 12 - social media db

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

Block 13 - keywords

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

Block 14 - Mistral Cloud Chat Model5

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

Block 15 - Information Extractor1

Type / Role
@n8n/n8n-nodes-langchain.informationExtractor - informationExtractor
Config choices
Version 1.1

Block 16 - Mistral Cloud Chat Model6

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

Block 17 - Google Drive2

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

Block 18 - Sticky Note

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

Block 19 - Sticky Note1

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

Block 20 - Sticky Note2

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

Block 21 - Firecrawl tools1

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 22 - Mistral Cloud Chat Model2

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

Block 23 - Firecrawl list1

Type / Role
n8n-nodes-mcp.mcpClientTool - mcpClientTool
Config choices
Version 1

Block 24 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

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

3. Summary Table

Workflow Ai website scraper & company intelligence
Complexity advanced
Nodes 35
Categories Market Research, AI Summarization
Author DIGITAL BIZ TECH
Published 24 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10097/10097.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 Ai website scraper & company intelligence do?

AI Website Scraper & Company Intelligence Description This workflow automates the process of transforming any website URL into a structured, intelligent company profile . It's triggered by a form, ...

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.