Real Estate Lead Qualification Chatbot using GPT-4o-mini - n8n Workflow

Deploy a powerful, multilingual real estate lead qualification chatbot using this specialized n8n workflow. It integrates GPT-4o-mini with specific sales frameworks (AIDA, BANT) for highly effective lead screening and site visit bookings.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?


  • Real Estate Marketing Agencies and Developers seeking to automate lead first-response.

  • n8n users who need advanced conversational AI agents integrated into their sales funnels.

  • Technical users requiring specialized n8n templates for Hinglish customer interaction.

  • Sales teams who want to filter low-intent leads automatically before human intervention.

Overview

Lead qualification is a critical bottleneck in real estate sales. This sophisticated n8n workflow solves this by instantly deploying a highly specialized AI pre-sales agent. The agent, named Khusboo, operates using strict real estate sales methodologies (AIDA, BANT, SPIN, PAS), ensuring every interaction is focused on qualification and guiding the user toward a site visit. Unlike generic chatbots, this particular n8n workflow is designed to communicate in Hinglish, share marketing content (videos), and maintain price discretion—all defined within the system message of the core n8n node.

By leveraging the efficiency of the GPT-4o-mini model, this n8n template provides low-latency, high-quality responses, turning any external system (like a website chat widget) into a powerful, automated sales engine. The use of memory in this n8n workflow ensures context is maintained across multiple messages, mimicking a real conversation.

How it Works

This n8n workflow begins execution using a Webhook n8n trigger, configured to accept incoming POST requests from your front-end chatbot interface. When a user sends a message, the following steps occur:


  1. Capture and Initiate: The Webhook n8n trigger receives the request, which must include the user's message and a unique sessionid to maintain continuity.

  2. Isolate Input: The 'Set User Message' n8n node isolates the primary message content from the webhook body, making it accessible to the AI agent.

  3. Context Management: The 'Simple Memory' n8n node is activated, utilizing the dynamic sessionid to retrieve or store the ongoing conversational history, ensuring the AI agent remembers previous messages.

  4. Agent Processing: The 'AI Agent' n8n node is the heart of this n8n workflow. It receives the user's message, historical context from the memory n8n node, and is powered by the 'OpenAI Chat Model' n8n node (configured to use GPT-4o-mini).

  5. Specialized Prompting: The agent executes its core logic, guided by a strict system prompt that enforces its persona, language (Hinglish), and goal (qualification using AIDA/BANT/SPIN/PAS, pushing for a site visit, and hiding pricing).

  6. Respond Instantly: The final output generated by the AI Agent n8n node is immediately passed to the 'Respond to Webhook' n8n node, which sends the conversational response back to the originating chat platform as a clean JSON object, completing the cycle quickly and efficiently.

Installation Guide

To utilize this professional n8n workflow, follow these setup steps:


  1. Import the n8n Workflow: Copy the provided JSON code and import it directly into your n8n instance.

  2. Configure Webhook n8n Trigger: After importing, the 'Webhook' n8n trigger will be active. Copy the Test/Production URL and configure your external chat widget (e.g., website frontend) to send user messages as POST requests to this URL.

  3. OpenAI Credentials: Set up credentials for the 'OpenAI Chat Model' n8n node. This requires an API key for access to GPT-4o-mini.

  4. Agent Customization: Review the 'System Message' within the 'AI Agent' n8n node. Customize the persona, property name (e.g., Alcove New Kolkata Sangam), and specific sales guidelines to match your business requirements. This specialization is key to utilizing this n8n template effectively.

  5. Activate: Ensure the n8n workflow is active and test the webhook endpoint thoroughly.

Node Details

Webhook (n8n trigger): This is the entry point of the n8n workflow. It waits for a POST request at the specified path (chatbot-webhook), enabling real-time lead interaction.
Set User Message (n8n node): A utility n8n node used to extract and normalize the user's message ($json.body.message) into a standardized variable for the AI Agent.
OpenAI Chat Model (n8n node): Specifies the Large Language Model being used. This n8n node is configured for high performance and cost-effectiveness using gpt-4o-mini.
Simple Memory (n8n node): A crucial component of this n8n workflow, it uses the memoryBufferWindow type, configured to dynamically manage conversation history using session_id to maintain context for up to 20 past messages.
AI Agent (n8n node): The core intelligence. This n8n node orchestrates the entire conversation, utilizing its powerful system prompt to maintain the role of a specialized real estate pre-sales agent, integrating sales frameworks like BANT and AIDA. It directs the flow based on the input from the Set User Message n8n node.
Respond to Webhook (n8n node): This ensures an immediate, synchronous JSON reply is sent back to the calling client, using the final output generated by the AI Agent n8n node.

Related n8n Workflows

Free

Nodes: 6 Nodes
Updated: December 26 2025
View all
Created by
Tausif
Tausif

Featured*