The Business Problem
Real estate investment companies face a critical challenge: high volumes of inbound leads arrive at all hours, but sales teams can only respond during business hours. By the time a human agent reviews and responds to a lead, the prospect has often lost interest or moved to a competitor.
The key pain points addressed by this system:
- Manual data entry into GoHighLevel CRM was slow and error-prone
- No standardized qualification process every rep asked different questions
- New leads waited hours or days before receiving a response email
- No intelligent scoring to prioritize which leads agents should focus on
- Duplicate contacts cluttered the CRM with no automatic resolution
The Solution
We built a two-workflow n8n automation pipeline connected to GoHighLevel CRM, powered by OpenAI GPT-5.1 for intelligent question generation and lead scoring. The system works 24/7 with zero manual intervention , from the moment a lead submits a form to the moment they receive a personalized follow-up email.
| 2 Workflows Built Fully automated pipelines |
GPT-5.1 AI Integration Question gen & scoring |
< 60s Response Time From lead to email sent |
~5hrs Human Hours Saved Per 100 leads processed |
| Workflow 1 — Lead Intake & Qualification Email |
Purpose
This workflow fires the moment a new lead submits a contact form. It handles all CRM creation, deduplication, AI question generation, and sends a branded HTML qualification email — entirely without human involvement.
Trigger
A webhook endpoint (/ghl-lead-webhook) receives an HTTP POST from the client’s website form. The payload includes full_name, email, phone, and company_name.
Step-by-Step Process


AI Prompt Design — Qualification Questions
The system prompt sent to GPT-5.1 establishes the model as a lead qualification specialist for a real estate investment firm. It defines the exact five qualification areas and instructs the model to return only a valid JSON array with no preamble or markdown. This ensures reliable, parseable output every single time.
The five question areas covered:
- Investment Strategy — Short-term rental, long-term buy-and-hold, or fix-and-flip?
- Budget & Buying Power — What price range is the investor targeting per deal?
- Target Market — Which city, state, or region is the investor focused on?
- Investment Timeline — How soon do they plan to make their first or next deal?
- Experience & Service Fit — First-time investor needing MAO/ARV guidance, or experienced?
| Workflow 2 — Reply Processing & Lead Scoring |
Purpose
When the lead replies to the qualification email, GoHighLevel automatically triggers this workflow via an inbound message webhook. The system reads their answers, scores the lead with AI, updates the CRM with enriched data, and sends a personalized follow-up email either a qualified confirmation or a nurture message.
Step-by-Step Process


| AI Lead Scoring — Rubric & Agent Assignment |
Scoring Rubric (100 Points Total)
| Category | Max Points | Scoring Logic |
| Strategy Clarity | 20 pts | Named strategy = 20, Vague = 10, No answer = 0 |
| Budget / Buying Power | 25 pts | $500k+ = 25, $200k–500k = 18, $100k–200k = 12, Under $100k = 5 |
| Market Specificity | 20 pts | Named city/state = 20, Regional = 12, ‘Anywhere’ = 5 |
| Timeline to Invest | 20 pts | Within 3 months = 20, 3–6 months = 15, 6–12 months = 10, 1yr+ = 5 |
| Experience & Service Fit | 15 pts | Needs MAO/ARV help = 15, Has experience = 10, Very early/vague = 5 |
Qualification Rule: Score ≥ 60 → QUALIFIED | Score < 60 → NEEDS NURTURE
Automated Agent Assignment
Once scored, the AI assigns the lead to the most appropriate specialist based on their stated investment strategy:
| Strategy Detected | Assigned Agent | Role |
| Short-term rental / Airbnb / VRBO | Alex | STR Specialist |
| Long-term rental / Buy-and-hold | Morgan | Rental Portfolio Advisor |
| Fix-and-flip / Rehab / MAO / ARV | Jordan | Investment Analyst |
| Mixed strategy or unclear | Alex | STR Specialist (default) |
| Technology Stack & Architecture |
Core Technologies
| Technology | Component | Role in System |
| n8n | Workflow Automation Platform | Orchestrates all automation logic, webhook handling, API calls, conditional routing, and JavaScript code execution |
| GoHighLevel (GHL) | CRM & Messaging Platform | Stores contacts, manages conversations, sends emails, fires reply webhooks, and holds custom qualification fields |
| OpenAI GPT-5.1 | AI Language Model | Generates personalized qualification questions and scores lead replies using structured JSON output |
| GHL REST API v2021-07-28 | CRM Integration Layer | Contacts API, Conversations API, and Messages API endpoints for all CRM read/write operations |
| n8n Webhook Nodes | Event Triggers | Receives form submissions and inbound email reply events as HTTP POST webhooks |
| n8n Code Nodes (JS) | Data Transformation | Normalizes payloads, extracts IDs, builds HTML emails, and parses AI responses |
| HTML Email Builder | Outbound Communications | Generates responsive, branded HTML emails with dynamic content injected at runtime |
| Business Value & Key Outcomes |
Problems Solved

Before vs. After
| Before Automation | After Automation |
| Manual CRM data entry per lead | Automatic contact creation on form submit |
| Hours or days to first response | First email sent within 60 seconds |
| No standardized qualification questions | 5 AI-crafted, structured questions every time |
| No lead scoring — all leads treated equally | Every lead scored 0–100 with priority flag |
| Agent manually decides who to follow up with | Leads auto-routed to the right specialist |
| No duplicate detection | Duplicate-safe ID extraction handles existing contacts |
Founder of Tekvix, brings 6 years of industry experience in web development with expertise in Python and JavaScript. He has contributed to diverse ML and web projects and now focuses on advancing AI solutions through Large Language Models (LLMs) and LangChains..
