Skip to main content

Scrape Idealista 🏠 Real Estate Property Listings with ScrapeGraph AI 🕷️

Workflow preview

Workflow preview
100%
Scrape Idealista 🏠 Real Estate Property Listings with ScrapeGraph AI 🕷️ preview
Open on n8n.io

1. Workflow Overview

This workflow automates the process of scraping real estate listings from Idealista (or similar property portals), extracting structured property data using AI, and storing the results directly int...

Best for

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

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.splitinbatches, n8n-nodes-base.splitout, n8n-nodes-base.aggregate, n8n-nodes-base.limit, n8n-nodes-base.stickynote, n8n-nodes-base.set, n8n-nodes-base.code

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Scrape Idealista 🏠 Real Estate Property Listings with ScrapeGraph AI 🕷️
Workflow name
Scrape Idealista 🏠 Real Estate Property Listings with ScrapeGraph AI 🕷️

This workflow automates the process of scraping real estate listings from *Idealista (or similar property portals), extracting structured property data using AI, and storing the results directly into Google Sheets.

It is designed to handle paginated listing pages, collect individual property URLs, extract detailed listing information, and continuously build a structured real estate database with minimal manual effort.


Key Advantages

1. ✅ Fully Automated Real Estate Data Collection

Automatically navigates through multiple listing pages, extracts property URLs, and retrieves detailed property information without manual browsing.

2. ✅AI-Powered Data Extraction

Uses ScrapeGraphAI to intelligently extract structured information such as:

  • Property title
  • Description
  • Price
  • Area (sqm)
  • Bedrooms & bathrooms
  • Floor and room count
  • Balcony, terrace, cellar
  • Heating and air conditioning
  • Property image URLs
3. ✅Scalable Pagination Handling

Dynamically generates paginated URLs, allowing the workflow to scrape hundreds or thousands of listings efficiently.

4. ✅Google Sheets Integration

Automatically writes and updates extracted property data into Google Sheets, creating a centralized and continuously updated real estate database.

5. ✅Duplicate Prevention

Uses the property URL as a unique identifier to append or update listings without creating duplicates.

6. ✅Highly Customizable

The workflow can be adapted to:

  • Different cities or search filters
  • Other real estate websites
  • Different extraction schemas
  • Alternative storage systems (CRM, database, Airtable, etc.)
7. ✅Structured JSON Schema Extraction

Ensures consistent and reliable data formatting, making the output ready for:

  • Market analysis
  • Lead generation
  • CRM enrichment
  • Investment scouting
  • Real estate dashboards
8. ✅Low-Code & Modular Architecture

Built entirely inside n8n with reusable modules, making maintenance and future upgrades simple.

Ideal Use Cases
  • Real estate lead generation
  • Property market monitoring
  • Investment opportunity analysis
  • Building property databases
  • Real estate CRM automation
  • Competitor and pricing analysis
  • Automated property aggregation platforms

How it works

This workflow automates the extraction of real estate listings from Idealista by performing two main phases: listing URL discovery and detailed data extraction.

  1. Trigger and Pagination Setup A Manual Trigger starts the workflow. A Set node defines the base search URL and the maximum number of pages to scrape. A Code node then generates the paginated URLs (e.g., .../lista-1.htm, .../lista-2.htm).

  2. Extract Listing URLs from Search Pages The generated URLs are split into batches using a Split In Batches node. For each search page, a ScrapegraphAI node extracts all individual property URLs that match the pattern https://www.idealista.it/immobile/xxxx. The results are then aggregated and unified using an Aggregate and a Code node to remove duplicates and flatten the list.

  3. Process Each Property URL The unified list of property URLs is split again into batches. For each property URL, a second ScrapegraphAI node extracts detailed information following a strict JSON schema (including title, description, price, area, bedrooms, bathrooms, floor, rooms, balcony, terrace, cellar, heating, air conditioning, and image URLs).

  4. Store Data in Google Sheets The extracted data is finally written to a Google Sheet using the Google Sheets node configured with appendOrUpdate mode, which avoids duplicates by matching the URL column.


Set up steps

  1. Import and Configure Credentials Import the workflow into n8n. Add the following credentials:
  • ScrapegraphAI API (used by both ScrapegraphAI nodes).
  • Google Sheets OAuth2 (used for writing data).
  1. Prepare the Google Sheet Clone this template sheet or create your own. Update the Google Sheets node with your Document ID and Sheet Name.

  2. Configure the Search Parameters In the Set params node, modify the url variable to target your desired search (location, filters, etc.) and set max_pages to control how many search result pages to scrape.

  3. Adjust Extraction Logic (if needed)

  • Verify that the Scrape listings node’s prompt correctly matches the listing URL structure of your target site.
  • Update the Extract data node’s outputSchema (JSON schema) to match the fields you want to extract.
  1. Enable and Execute Activate the workflow. Click the Execute Workflow button to start scraping. The results will automatically populate the configured Google Sheet, appending new listing data without creating duplicates.

👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

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 - When clicking ‘Execute workflow’

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

Block 2 - Loop Over Items

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

Block 3 - Split Out

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

Block 4 - Aggregate

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

Block 5 - Split Out1

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

Block 6 - Limit

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

Block 7 - Loop Over Items1

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

Block 8 - Sticky Note

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

Block 9 - Sticky Note1

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

Block 10 - Set params

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

Block 11 - Generate Urls

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

Block 12 - Scrape listings

Type / Role
n8n-nodes-scrapegraphai.scrapegraphAi - scrapegraphAi
Config choices
Version 1

Block 13 - Unified

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

Block 14 - Extract data

Type / Role
n8n-nodes-scrapegraphai.scrapegraphAi - scrapegraphAi
Config choices
Version 1

Block 15 - Update real estate listings

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

Block 16 - Sticky Note2

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

Block 17 - Sticky Note3

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

Block 18 - Sticky Note4

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

Block 19 - Edit Fields

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

Block 20 - Sticky Note8

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

3. Summary Table

Workflow Scrape Idealista 🏠 Real Estate Property Listings with ScrapeGraph AI 🕷️
Complexity advanced
Nodes 20
Categories Market Research, AI Summarization
Author Davide Boizza
Published 06 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15510/15510.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 Scrape Idealista 🏠 Real Estate Property Listings with ScrapeGraph AI 🕷️ do?

This workflow automates the process of scraping real estate listings from Idealista (or similar property portals), extracting structured property data using AI, and storing the results directly int...

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.