๐ Find your Home with Real Estate Agent and Bright Data
Last edited 39 days ago
๐ Overview This workflow transforms n8n into a smart real-estate concierge by combining an AI chat interface with Bright Dataโs marketplace datasets. Users interact via chat to specify city, price, bedrooms, and bathroomsโand receive a curated list of three homes for sale, complete with images and briefings.
๐ฅ Workflow in Action Want to see this workflow in action? Play the video
๐ Key Features
- AI-Powered Chat Trigger: Instantly start conversations using LangChainโs Chat Trigger node.
- Contextual Memory: Retain up to 30 recent messages for coherent back-and-forth.
- Bright Data Integration: Dynamically filter โFOR_SALEโ properties by city, price, bedrooms, and bathrooms (limit = 3).
- Automated Snapshot Retrieval: Poll for dataset readiness and fetch full snapshot content.
- HTML-Formatted Output: Present results as a
<ul>
of<li>
items, embedding property images.
๐ How It Works (Step-by-Step)
-
Prerequisites:
- n8n โฅ v1.0
- Community nodes: install
n8n-nodes-brightdata
(the unverified community node) - API credentials: OpenAI, Bright Data
- Webhook endpoint to receive chat messages
-
Node Configuration:
- Chat Trigger: Listens for incoming chat messages; shows a welcome screen.
- Memory Buffer: Stores the last 30 messages for context.
- OpenAI Chat Model: Uses GPT-4o-mini to interpret user intent.
- Real Estate AI Agent: Orchestrates filtering logic, calls tools, and formats responses.
- Bright Data โFilter Datasetโ Tool: Applies user-defined filters plus
homeStatus = FOR_SALE
. - Wait & Recover Snapshot: Polls until snapshot is ready, then fetches content.
- Get Snapshot Content: Converts raw JSON into a structured list.
-
Workflow Logic:
- User sends search criteria โ Agent validates inputs.
- Agent invokes โFilter Datasetโ once all filters are present.
- Upon dataset readiness, the snapshot is retrieved and parsed.
- Final output rendered as a bullet list with property images.
-
Testing & Optimization:
- Use the built-in Execute Workflow trigger for rapid dry runs.
- Inspect node outputs in n8nโs UI; adjust filter defaults or snapshot limits.
- Tune OpenAI model parameters (e.g.,
maxIterations
) for faster responses.
-
Deployment & Monitoring:
- Activate the main workflow and expose its webhook URL.
- Monitor executions in the โExecutionsโ panel; set up alerts for errors.
- Archive or duplicate workflows as needed; update credentials via credential manager.
โ Pre-requisites
- Bright Data Account: API key for marketplaceDataset.
- OpenAI Account: Access to GPT-4o-mini model.
- n8n Version: v1.0 or later with community node support.
- Permissions: Webhook access, credential vault read/write.
๐ค Who Is This For?
- Real-estate agencies and brokers seeking to automate client queries.
- PropTech startups building conversational search tools.
- Data analysts who want on-demand property snapshots without manual scraping.
๐ Benefits & Use Cases
- Time Savings: Replace manual MLS searches with an AI-driven chat.
- Scalability: Serve multiple clients simultaneously via webchat or embedded widget.
- Consistency: Always report exactly three properties, ensuring concise results.
- Engagement: Visual listings with images boost user satisfaction and conversion.
Workflow created and verified by Miquel Colomer https://www.linkedin.com/in/miquelcolomersalas/ and N8nHackers https://n8nhackers.com
You may also like
New to n8n?
Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!