Hi n8n community! ![]()
I wanted to share a recent automation architecture I built for the Dubai real
estate market.
The Problem: In Dubai’s highly competitive market, real estate brokers lose hot
leads because they can’t reply to WhatsApp messages instantly 24/7. Buyers
expect immediate answers about property availability, complex payment plans, and
brochures.
The Solution: I built an autonomous AI assistant powered by n8n that handles the
entire preliminary sales cycle, qualifies the lead, and collects booking
documents—completely on autopilot.
Architecture & Workflow: Here is a high-level overview of the pipeline:
- Trigger: Incoming WhatsApp messages via Webhook (using Whapi.cloud API).
- Context & RAG: Google Sheets nodes dynamically fetch the anti-spam
stop-list, property availability, and FAQs. - AI Brain: OpenAI Chat Model (GPT-4o) combined with the AI Agent node
processes the user’s intent. Custom JS code structures the RAG data. - Execution: The workflow uses a Switch/If logic to determine if it should
send a standard text reply or dynamically attach a PDF brochure (via HTTP
Request) based on the client’s request.
Key Features of the Agent:
- Dynamic Content Delivery: Instantly shares Google Drive links or PDF
brochures based on user requests (e.g., “Looking for a 2-bedroom”). - Objection Handling: Explains complex Payment Plans (e.g., 20/80, 40/60) and
Handover dates using strictly the data provided in the Sheets (Zero
hallucinations). - Intent Recognition: Automatically requests KYC documents (Passport, Emirates
ID, Proof of Payment) when the client triggers a “ready to book” intent.
Demo Video: You can see a quick 1-minute demo of how the AI interacts with a
client in real-time here:
Template: I have attached the sanitized structural JSON workflow below for
anyone who wants to see the node setup. (Note: Client credentials, specific
Google Sheet IDs, and advanced JS parsing logic have been removed for privacy).
I specialize in building complex, production-ready AI architectures and data
pipelines. If anyone here is building something similar, has questions about the
architecture, or wants to collaborate on B2B projects, let’s connect on
LinkedIn! ![]()
AI_Assistant_clean.json (12,4 КБ)
Happy automating! ![]()
