{
  "name": "Automate Real Estate Listing Scraper 🏠🤖 with ScrapeGraph AI and Google Sheets",
  "nodes": [
    {
      "id": "99554a23-7a31-499f-aa9b-73b33b4675c6",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -416,
        -112
      ]
    },
    {
      "id": "be3522b5-012f-4cf9-b3ea-0e671e3cad96",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        480,
        -112
      ]
    },
    {
      "id": "1374ac98-2bc3-4975-9636-b9a3174c1668",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        256,
        -112
      ]
    },
    {
      "id": "e98a9d0e-810a-4b26-bc52-74c0c180e739",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        736,
        -480
      ]
    },
    {
      "id": "8dbe762f-8ad4-484b-b43e-97ed6f802057",
      "name": "Split Out1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        1216,
        -480
      ]
    },
    {
      "id": "d13ea647-f536-42bb-883d-c4b7fbd2e070",
      "name": "Limit",
      "type": "n8n-nodes-base.limit",
      "position": [
        1440,
        -480
      ]
    },
    {
      "id": "1ebd384c-14fd-43cd-a319-755e05e2134c",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1744,
        -480
      ]
    },
    {
      "id": "3f0c23dd-64d2-4018-b18f-0fc39d0fddef",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        976,
        96
      ]
    },
    {
      "id": "c8988b87-be21-4b6c-859c-fe6ed7cf9c7c",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        1440,
        -96
      ]
    },
    {
      "id": "8e5019f7-56a8-4051-8472-e993ed689118",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1664,
        -640
      ],
      "parameters": {
        "width": 864,
        "height": 384,
        "content": "## STEP 4 - extracts detailed property\nClone [this Sheet](https://docs.google.com/spreadsheets/d/1jtMyMglBbekD9Z407q8-0vn-cDDXhM81Uj1oAZIJGX8/edit?usp=sharing). Then processes each listing URL through"
      }
    },
    {
      "id": "9bf77a4f-0f8d-4eca-83f0-d77ae9bdad45",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        -304
      ],
      "parameters": {
        "width": 496,
        "height": 464,
        "content": "## STEP 1 - Config Params\nEnter the GET pagination parameter. For example, for immobiliare_it, if the paginated URL is:\n\n`https://www.immobiliare.it/vendita-case/verona/?pag=2`\n\nthen the `page_format_"
      }
    },
    {
      "id": "6c34eee1-bf6f-4e38-a103-c1a081a6106e",
      "name": "Set params",
      "type": "n8n-nodes-base.set",
      "position": [
        -192,
        -112
      ]
    },
    {
      "id": "f0eb8938-4799-430a-879f-09c052c8f90d",
      "name": "Generate Urls",
      "type": "n8n-nodes-base.code",
      "position": [
        32,
        -112
      ]
    },
    {
      "id": "95f6bc78-c36c-4d9e-a1f9-95827b919349",
      "name": "Scrape listings",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        736,
        -96
      ]
    },
    {
      "id": "91bef7eb-4e07-4413-960b-d87c73045aee",
      "name": "Extract individual URL",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        1024,
        -96
      ]
    },
    {
      "id": "4b369167-05a1-43ce-9b0a-0a997f58a119",
      "name": "Unified",
      "type": "n8n-nodes-base.code",
      "position": [
        976,
        -480
      ]
    },
    {
      "id": "79f0f797-6561-46fb-b114-1a108e64092a",
      "name": "Extract data",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        2000,
        -464
      ]
    },
    {
      "id": "3b63d958-03c0-41f3-b0ad-98ade0d1803c",
      "name": "Update real estate listings",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2256,
        -464
      ]
    },
    {
      "id": "e2c1f45b-41a4-437f-9271-861e09480ac2",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -1456
      ],
      "parameters": {
        "width": 944,
        "height": 784,
        "content": "# Automate Real Estate Listing Scraper with ScrapeGraph AI and Google Sheets\nThis workflow automates the process of **scraping real estate property listings** from websites using **ScrapeGraph AI**, e"
      }
    },
    {
      "id": "e4ec8d66-b283-473f-8b90-94650cf1afac",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -224
      ],
      "parameters": {
        "width": 944,
        "height": 384,
        "content": "## STEP 2 - Extract Urls\n\nAll collected listing URLs are aggregated and split into individual items.\n"
      }
    },
    {
      "id": "724ed092-e7d8-4dc0-9a5e-0a60e40a6038",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        -640
      ],
      "parameters": {
        "width": 944,
        "height": 384,
        "content": "## STEP 3 - Extract Urls\n\nAll collected listing URLs are aggregated and split into individual items\n"
      }
    },
    {
      "id": "6c4562c2-b5da-4ce2-9275-53fd1aed994a",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1680,
        -1408
      ],
      "parameters": {
        "width": 736,
        "height": 736,
        "content": "## MY NEW YOUTUBE CHANNEL\n👉 [Subscribe to my new **YouTube channel**](https://youtube.com/@n3witalia). Here I’ll share videos and Shorts with practical tutorials and **FREE templates for n8n**.\n\n[![im"
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Limit": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Unified": {
      "main": [
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Unified",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set params": {
      "main": [
        [
          {
            "node": "Generate Urls",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Limit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract data": {
      "main": [
        [
          {
            "node": "Update real estate listings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Urls": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Scrape listings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape listings": {
      "main": [
        [
          {
            "node": "Extract individual URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [],
        [
          {
            "node": "Extract data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract individual URL": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Extract individual URL",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Update real estate listings": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Set params",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}