All challenges

Challenge 07

Find Your Valencia Apartment

Use FirecrawlFirecrawl is a service that reads a permitted web page and returns its content in a format an n8n workflow can use. to extract apartment listings and send only new matching apartments in a concise morning brief.

IntermediateComplexity:Time: 45–60 min

Your task

Every morning at 08:00, send a Telegram brief with up to five newly discovered Valencia apartments from Idealista or the fixture pages provided below. Include only homes costing no more than €1,200, with at least two bedrooms, in your favourite parts of the city.

Your bonus task

When no new apartments match your preferences, send a short Telegram update: “No new apartments found today.”

Example use cases

  • An apartment seeker wants only genuinely new Valencia listings that match a fixed budget and preferred neighborhoods.
  • A relocation volunteer group wants to send a curated daily brief without repeating yesterday’s apartments.
  • A student household needs a short morning update instead of manually checking a large property page.

Before you start

  1. 01

    Create an n8n Cloud account or use a self-hosted n8n instance.

  2. 02

    Create a Firecrawl account, use its free starter credits, and follow the official n8n setup guide to add the verified node and create a key – the secret value that lets n8n use your credits.

  3. 03

    Create a bot with Telegram’s BotFather instructions, then follow the n8n Telegram credential guide and obtain the test chat ID.

  4. 04

    Choose a rental page on Idealista or use the provided fixture pages for day 1 and day 2. Choose your favourite neighbourhoods and use them in your filters.

What the workflow must do

  1. 01

    At 08:00 Europe/Madrid, your chosen page becomes structured dataStructured data uses predictable fields such as listingId, price, and bedrooms so later nodes can filter it reliably. containing listingId, title, neighborhood, price, bedrooms, and URL for every apartment card.

  2. 02

    Each listing IDA listing ID is the stable unique value used to recognize the same apartment across different workflow runs. is checked with cross-run deduplicationCross-run deduplication remembers values from earlier workflow executions so the same apartment is not sent again.; only unseen homes matching all three preferences remain, sorted by lowest price and limited to five.

  3. 03

    Telegram receives one readable brief with every selected home; the bonus workflow sends one clear no-new message when the same day 2 page is run again.

Solution

See the workflow challenge answer

Reveal the completed workflow only when you are ready to compare it with your own.

Submit as solved

Ready to submit?

Submit when your team has a working workflow to demonstrate.

Solution

Reveal the workflow solution?

This will show the completed workflow for this challenge. Are you sure you want to continue?

Mentor review

Find a mentor and ask them to review.

Show them your working workflow. Once they approve it, collect the balloon for this challenge.