πŸ“Š Automate commercial real estate monitoring with ScrapeGraphAI, Notion and Mailchimp

⚑ 88 views Β· πŸ“Š Market Research & Insights

πŸ’‘ Pro Tip β€” HTTP Request scraping tends to break when sites update their markup. If you’re scraping a major platform, check if ScraperNode covers it β€” it has maintained scrapers for LinkedIn, Instagram, TikTok, YouTube, and 20+ other platforms that return structured data.

View All Scrapers

Description

Property Listing Aggregator with Mailchimp and Notion

⚠️ COMMUNITY TEMPLATE DISCLAIMER: This is a community-contributed template that uses ScrapeGraphAI (a community node). Please ensure you have the ScrapeGraphAI community node installed in your n8n instance before using this template.

This workflow scrapes multiple commercial-real-estate websites, consolidates new property listings into Notion, and emails weekly availability updates or immediate space alerts to a Mailchimp audience. It automates the end-to-end process so business owners can stay on top of the latest spaces without manual searching.

Pre-conditions/Requirements

Prerequisites

Required Credentials

Specific Setup Requirements

ResourceRequirementExample
NotionDatabase with property fields (Address, Price, SqFt, URL, Availability)Database ID: abcd1234efgh
MailchimpAudience list where alerts are sentAudience ID: f3a2b6c7d8
ScrapeGraphAIYAML/JSON config per siteStored inside the ScrapeGraphAI node

How it works

This workflow scrapes multiple commercial-real-estate websites, consolidates new property listings into Notion, and emails weekly availability updates or immediate space alerts to a Mailchimp audience. It automates the end-to-end process so business owners can stay on top of the latest spaces without manual searching.

Key Steps:

Set up steps

Setup Time: 15-25 minutes

  1. Install Community Node
    Navigate to Settings β†’ Community Nodes and install β€œScrapeGraphAI”.
  2. Create Notion Integration
    • Go to Notion Settings β†’ Integrations β†’ Develop your own integration.
    • Copy the integration token and share your target database with the integration.
  3. Add Mailchimp API Key
    • In Mailchimp: Account β†’ Extras β†’ API keys.
    • Copy an existing key or create a new one, then add it to n8n credentials.
  4. Build Scrape Config
    In the ScrapeGraphAI node, paste a YAML/JSON selector config for each website (address, price, sqft, url, availability).
  5. Configure the URL List
    Open the first Code node. Replace the placeholder array with your target listing URLs.
  6. Map Notion Fields
    Open the Notion node and map scraped fields to your database properties. Save.
  7. Design Email Template
    In the Set node, tweak the HTML and plaintext blocks to match your brand.
  8. Test the Workflow
    Trigger manually, check that Notion rows are created and Mailchimp sends the message.
  9. Schedule
    Add a CRON node (weekly) or leave the Manual Trigger for ad-hoc runs.

Node Descriptions

Core Workflow Nodes:

Data Flow:

  1. Manual Trigger/CRON β†’ Code (URLs) β†’ Split In Batches β†’ ScrapeGraphAI β†’ IF (New?)
  2. True path β†’ Notion (Create) β†’ Set (Email) β†’ Mailchimp
  3. False path β†’ (skip)

Customization Examples

Filter Listings by Maximum Budget

// Inside the IF node (custom expression)
{{$json["price"] <= 3500}}

Change Email Frequency to Daily Digests

{
  "nodes": [
    {
      "name": "Daily CRON",
      "type": "n8n-nodes-base.cron",
      "parameters": {
        "triggerTimes": [
          {
            "hour": 8,
            "minute": 0
          }
        ]
      }
    }
  ]
}

Data Output Format

The workflow outputs structured JSON data:

{
  "address": "123 Market St, Suite 400",
  "price": 3200,
  "sqft": 950,
  "url": "https://examplebroker.com/listing/123",
  "availability": "Immediate",
  "new": true
}

Troubleshooting

Common Issues

  1. Scraper returns empty objects – Verify selectors in ScrapeGraphAI config; inspect the site’s HTML for changes.
  2. Duplicate entries in Notion – Ensure the β€œIF” node checks a unique ID (e.g., listing URL) before creating a page.

Performance Tips

Pro Tips:

πŸ”— Nodes Used

Mailchimp, Notion

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup