How to Build a Web Scraping Workflow in n8n

Create a web scraping workflow in n8n with Geekflare to extract webpage content and pass it to other workflow nodes.

Aakash
Updated November 3, 2026
Share

In this tutorial, you will build a web scraping workflow in n8n to extract content from webpages, process the results and pass the scraped data to other nodes for further automation.

Prerequisites

For this workflow, Let us use Geekflare’s Web Scraping API to extract webpage content and return it in different structured formats. Before getting started, make sure you have:

  • A Geekflare API key. You can generate one from your Geekflare dashboard. The free plan includes 500 credits.
  • A webpage URL that you want to scrape.

Build the Web Scraping Workflow in n8n

Follow these steps to configure the Geekflare node, scrape a webpage, and inspect the extracted content.

Step 1: Install the Geekflare Node

Open n8n and create a new workflow. Click the + icon to add a node and search for Geekflare. Select the integration and install it if prompted.

Step 2: Select the Web Scraping Action

Geekflare provides 18 different actions in n8n. Under Page Content Actions, select Scrape content from a webpage.

Scrape content from a webpage

Step 3: Connect Your Geekflare Account

Click Connect and enter your Geekflare API key in the pop-up dialog. Once authenticated, your Geekflare account will be connected to n8n.

Geekflare-api-key

Step 4: Enter the Website URL

In the URL field, enter the address of the webpage you want to scrape. For this example, we will use Google News.

Next, select the output format. The available formats include HTML, HTML LLM, JSON, Markdown, Markdown LLM, Text, and Text LLM. For this execution, select Markdown.

Configuring paramater in n8n

Step 5: Configure the Scrape Options

Click Add Option to configure additional scraping settings. The available options are AI Prompt (JSON), Block Ads, Device, Extraction Mode, Extraction Schema (JSON), File Output, Proxy Country, Proxy Mode, Render JavaScript, Stealth Mode, Template, and Wait Time (Seconds).

For this tutorial, select Block Ads to remove advertisements from the extracted webpage content. You can choose other options based on your scraping requirements.

Step 6: Execute the Node

Click Execute Step to run the scraping request. Once execution completes, open the output panel to inspect the extracted content in Markdown format.

Web-scraping-in-n8n

Pass the Scraped Content to Other n8n Nodes

The scraped content can be passed to other n8n nodes for storage, analysis, summarization, or further automation.

For this example, we’ll use Google Docs to demonstrate how to transfer the extracted webpage content to another application. You can choose any other tool or action based on your requirements and build a workflow around your use case.

Step 1: Add the Google Docs Node

Add a Google Docs node after the document creation node. Select Update a document as the operation and connect your Google account if you haven’t already.

Step 2: Map the Scraped Content

Configure the following fields:

  1. Doc ID or URL: Enter the document URL that you created for this workflow.
  2. Object: Select Text.
  3. Action: Select Insert.
  4. Insert Segment: Select Body.
  5. Insert Location: Select At End of Specific Position.
  6. Text: Switch to Expression mode and enter the following expression to retrieve the Markdown content from the Geekflare node:
{{ $json.data.markdown }}

This passes the scraped Markdown content to the Google Docs node.

Step 3: Execute the Workflow

Click Execute Workflow and open Google Docs to verify that the scraped webpage content has been added to the document.

Scraped Content

You can follow the same approach to pass scraped data to other n8n nodes and build workflows around your specific requirements.

Frequently Answered Questions

Can I use n8n for web scraping?

Yes. n8n supports web scraping through integrations, HTTP Request nodes, and external APIs. You can use these nodes to extract webpage content and process the results in automated workflows.

Does Geekflare Web Scraping API support JavaScript-rendered websites?

Yes. You can enable the Render JavaScript option in the Geekflare node to extract content from webpages that rely on JavaScript.

What output formats does Geekflare Web Scraping API support?

The API supports HTML, HTML LLM, JSON, Markdown, Markdown LLM, Text, and Text LLM formats.

Can I scrape multiple URLs using n8n?

Yes. You can pass multiple URLs to the workflow and use nodes such as Loop Over Items to process them individually.

Conclusion

You have now built a web scraping workflow in n8n using Geekflare’s Web Scraping API. The workflow extracts webpage content and passes it to Google Docs through a separate node.

You can extend this setup to process multiple URLs, summarize extracted content with an AI model, store results in a database, or trigger other automated tasks.

Explore different n8n integrations and scraping options to adapt the workflow to your requirements.

Aakash
Aakash R
Developer Advocate

Aakash R is a Developer Advocate with expertise in Artificial Intelligence, Machine Learning, and Computer Vision. Alongside his work in developer advocacy, he actively contributes technical articles and research-driven content on Generative AI, AI agents, developer tools, and cloud platforms. He enjoys translating advanced AI concepts into practical resources that developers can apply in real projects.

Thanks to Our Partners

More from Geekflare

Data & Web Scraping
10 Best Octoparse Alternatives for No-Code Scraping

Octoparse is popular no-code scrapers, with a point-and-click desktop app for Windows and Mac, cloud runs,…

Scrape Any Website Data in Make
Data & Web Scraping
How to Scrape Any Website Data in Make

Scrape website data in Make using Geekflare's integration, extract webpage content in different formats, and send…

Data & Web Scraping
10 Best ScrapingBee Alternatives in 2026

ScrapingBee is a decent web scraping API, but its credit multipliers is headache. A plain request…