{
  "name": "Automate commercial real estate monitoring with ScrapeGraphAI, Notion and Mailchimp",
  "nodes": [
    {
      "id": "a214ca2e-1537-4fd8-9716-ec86aa74424d",
      "name": "Start Workflow",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        560,
        288
      ]
    },
    {
      "id": "a7185b80-4df8-467e-9a77-84d1824c2f92",
      "name": "Prepare Target URLs",
      "type": "n8n-nodes-base.code",
      "position": [
        784,
        288
      ]
    },
    {
      "id": "66e04716-64a8-42ef-bfc7-0389682881de",
      "name": "Loop URLs",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1072,
        288
      ]
    },
    {
      "id": "85a66c8c-1c28-4303-b807-532fb5bbf0b0",
      "name": "Scrape Listing Page",
      "type": "n8n-nodes-scrapegraphai.scrapegraphAi",
      "position": [
        1264,
        272
      ]
    },
    {
      "id": "6c3878bc-e437-4c03-8d57-a85def170968",
      "name": "Flatten Listings",
      "type": "n8n-nodes-base.code",
      "position": [
        1440,
        272
      ]
    },
    {
      "id": "f221bf3b-2bf9-4e72-97c6-2bb373567c02",
      "name": "Loop Listings",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        1584,
        272
      ]
    },
    {
      "id": "b6e42eea-26a2-45f0-81f5-b3db4267345e",
      "name": "Validate & Enrich",
      "type": "n8n-nodes-base.code",
      "position": [
        1856,
        336
      ]
    },
    {
      "id": "678768c9-3cdc-4a15-b00f-d1ccfdb8df07",
      "name": "Has Error?",
      "type": "n8n-nodes-base.if",
      "position": [
        2000,
        336
      ]
    },
    {
      "id": "8129bff0-a3a7-4ece-b22b-5baa6d87e656",
      "name": "Log Error",
      "type": "n8n-nodes-base.code",
      "position": [
        2144,
        320
      ]
    },
    {
      "id": "3cbd1207-b0ad-430b-b0ed-ed870e72bf3c",
      "name": "Affordable?",
      "type": "n8n-nodes-base.if",
      "position": [
        2272,
        336
      ]
    },
    {
      "id": "765285a4-d225-4f09-aaee-6e3910773dbc",
      "name": "Save to Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        2560,
        336
      ]
    },
    {
      "id": "cae964c1-b835-4c07-b209-0d7fc1dc6919",
      "name": "Prepare Mailchimp Content",
      "type": "n8n-nodes-base.set",
      "position": [
        2784,
        336
      ]
    },
    {
      "id": "ee0c1f66-edbd-4126-981b-b964dd5e28cc",
      "name": "Create Campaign",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        2976,
        352
      ]
    },
    {
      "id": "b2cd1c5a-289e-4e37-8da2-73c25c8dbbb0",
      "name": "Set Campaign Content",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        3184,
        352
      ]
    },
    {
      "id": "a575f999-74b0-4313-8aee-2116f3423a55",
      "name": "Send Campaign",
      "type": "n8n-nodes-base.mailchimp",
      "position": [
        3392,
        352
      ]
    },
    {
      "id": "46332a5a-a78a-4253-8d9c-bb5e6a8c7980",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        -208
      ],
      "parameters": {
        "width": 550,
        "height": 738,
        "content": "## How it works\n\nThis workflow lets you keep an eye on commercial real-estate opportunities without manual searching. Start the workflow manually any time you need an update. The Code node lists targe"
      }
    },
    {
      "id": "3724941c-2536-42c1-9b6d-0567403ca6f2",
      "name": "Section – Trigger & Config",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        544,
        -112
      ],
      "parameters": {
        "width": 450,
        "height": 638,
        "content": "## Trigger & Configuration\n\nThis cluster kicks everything off. The **Start Workflow** manual trigger lets you run checks whenever you like—perfect during development or for ad-hoc research. Immediatel"
      }
    },
    {
      "id": "0ff7ae1f-c470-4d89-a800-f72a1d2f7f69",
      "name": "Section – Scraping",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        -96
      ],
      "parameters": {
        "width": 754,
        "height": 606,
        "content": "## Smart Scraping\n\nThe heart of the workflow lives here. **Scrape Listing Page** uses ScrapeGraphAI’s natural-language prompt to pull structured data from unpredictable broker sites—no brittle CSS sel"
      }
    },
    {
      "id": "579a4d9c-2bd7-4d5d-accf-076b4ed85d53",
      "name": "Section – Validation & Rules",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1824,
        -80
      ],
      "parameters": {
        "width": 594,
        "height": 622,
        "content": "## Data Validation & Filtering\n\nQuality beats quantity when you are hunting for serious commercial space. **Validate & Enrich** cleans numeric fields, calculates price-per-square-foot, and flags missi"
      }
    },
    {
      "id": "9694527d-c823-4af4-a3d2-9c11e58e6979",
      "name": "Section – Storage & Notification",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2448,
        -80
      ],
      "parameters": {
        "width": 1122,
        "height": 638,
        "content": "## Storage & Alerts\n\nOnce a listing clears validation, **Save to Notion** creates a new database entry that your whole team can browse, filter, or comment on. The property becomes part of a living kno"
      }
    }
  ],
  "connections": {
    "Log Error": {
      "main": [
        [
          {
            "node": "Affordable?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop URLs": {
      "main": [
        [
          {
            "node": "Scrape Listing Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has Error?": {
      "main": [
        [
          {
            "node": "Log Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Affordable?": {
      "main": [
        [
          {
            "node": "Save to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Listings": {
      "main": [
        [
          {
            "node": "Validate & Enrich",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save to Notion": {
      "main": [
        [
          {
            "node": "Prepare Mailchimp Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start Workflow": {
      "main": [
        [
          {
            "node": "Prepare Target URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Campaign": {
      "main": [
        [
          {
            "node": "Set Campaign Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Flatten Listings": {
      "main": [
        [
          {
            "node": "Loop Listings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate & Enrich": {
      "main": [
        [
          {
            "node": "Has Error?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Target URLs": {
      "main": [
        [
          {
            "node": "Loop URLs",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Listing Page": {
      "main": [
        [
          {
            "node": "Flatten Listings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Campaign Content": {
      "main": [
        [
          {
            "node": "Send Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Mailchimp Content": {
      "main": [
        [
          {
            "node": "Create Campaign",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}