Skip to main content

Web site scraper for LLMs with Airtop

Workflow preview

Workflow preview
100%
Web site scraper for LLMs with Airtop preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Recursive Web Scraping Use Case Automating web scraping with recursive depth is ideal for collecting content across multiple linked pages—perfect for content aggregation, lead generation, or resear...

Best for

  • Engineering automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.formtrigger, n8n-nodes-base.set, n8n-nodes-base.googlesheets, n8n-nodes-base.airtop, n8n-nodes-base.googledocs, n8n-nodes-base.if, n8n-nodes-base.code, n8n-nodes-base.stickynote

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Web site scraper for LLMs with Airtop
Workflow name
Web site scraper for LLMs with Airtop

Recursive Web Scraping

Use Case

Automating web scraping with recursive depth is ideal for collecting content across multiple linked pages—perfect for content aggregation, lead generation, or research projects.

What This Automation Does

This automation reads a list of URLs from a Google Sheet, scrapes each page, stores the content in a document, and adds newly discovered links back to the sheet. It continues this process for a specified number of iterations based on the defined scraping depth.

Input Parameters:

  • Seed URL: The starting URL to begin the scraping process.
    Example: https://example.com/
  • Links must contain: Restricts the links to those that contain this specified string.
    Example: https://example.com/
  • Depth: The number of iterations (layers of links) to scrape beyond the initial set.
    Example: 3

How It Works

  1. Starts by reading the Seed URL from the Google Sheet.
  2. Scrapes each page and saves its content to the specified document.
  3. Extracts new links from each page that match the Links must contain string, appends them to the Google Sheet.
  4. Repeats steps 2–3 for the number of times specified by Depth - 1.

Setup Requirements

  1. Airtop API Key — free to generate.
  2. Credentials set up for Google Docs (requires creating a project on Google Console). Read how to.
  3. Credentials set up for Google Spreadsheet.

Next Steps

  • Add Filtering Rules: Filter which links to follow based on domain, path, or content type.
  • Combine with Scheduler: Run this automation on a schedule to continuously explore newly discovered pages.
  • Export Structured Data: Extend the process to store extracted data in a CSV or database for analysis.

Read more about website scraping for LLMS

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 - On form submission

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

Block 2 - Info to upload into spreadsheet

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - Load info to spreadsheet

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

Block 4 - Scrape webpage

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

Block 5 - Create Google Docs

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

Block 6 - Write scraped content

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

Block 7 - Should scrape more?

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

Block 8 - Read scraped webpages

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

Block 9 - Retrieve links to scrape

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

Block 10 - Filter links to insert to Sheets

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

Block 11 - Insert new links

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

Block 12 - Scrape webpage1

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

Block 13 - Update with new scraped content

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

Block 14 - Flag scraped link

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Insert flag

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

Block 16 - Sticky Note

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

Block 17 - Create Spreadsheet

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

Block 18 - Sticky Note1

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

Block 19 - Sticky Note2

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

Block 20 - Sticky Note3

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

Block 21 - Sticky Note4

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

Block 22 - When Executed by Another Workflow

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 23 - Sticky Note5

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

Block 24 - Unify params

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

3. Summary Table

Workflow Web site scraper for LLMs with Airtop
Complexity advanced
Nodes 24
Categories Engineering
Author Airtop
Published 21 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4252/4252.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 Web site scraper for LLMs with Airtop do?

Recursive Web Scraping Use Case Automating web scraping with recursive depth is ideal for collecting content across multiple linked pages—perfect for content aggregation, lead generation, or resear...

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 Engineering use case.