Qualify real estate leads from Typeform to Airtable with Gemini and smart email routing

๐Ÿ  AI Real Estate Lead Qualifier โ€” Typeform to Airtable with Smart Email Routing

Automatically qualify property leads, score them with AI, save to Airtable, and send personalised emails โ€” all in seconds.

๐Ÿ“– Description

Every time a prospect submits your Typeform property inquiry, this workflow kicks in automatically. It extracts their details, runs them through an AI lead scoring engine, saves the record to Airtable, and sends a personalised email โ€” a priority response for hot leads, a nurture email for everyone else.

No manual review. No missed leads. No delayed follow-ups.

This is built for real estate agencies, leasing companies, and property managers who receive inquiries through Typeform and want instant, intelligent responses without hiring extra staff.

โœจ Key Features

Instant lead capture** โ€” triggers the moment Typeform receives a submission AI lead scoring** โ€” Google Gemini classifies every lead as High, Medium, or Low automatically Smart email routing** โ€” High leads get a priority response, others get a nurture sequence Airtable CRM sync** โ€” every lead saved with full details + AI assessment Robust AI parsing** โ€” 4-layer fallback system ensures AI output is always usable Personalised emails** โ€” name, property type, location, budget pulled into every email automatically No-code maintenance** โ€” update scoring rules in the prompt, email copy in the nodes

๐Ÿ”„ How It Works

Prospect submits Typeform inquiry โ†“ Webhook receives the form payload โ†“ Extract Typeform Fields โ†’ name, email, phone, property type โ†’ purpose, location, budget, requirements โ†“ AI Lead Qualifier (Google Gemini) โ†’ lead_score: High / Medium / Low โ†’ intent, timeline, notes โ†“ Parse AI Output (4-layer fallback) โ†“ Save to Airtable CRM โ†“ High Lead? (IF check) โœ… YES โ†’ Priority Email (contact within 2 hours) โŒ NO โ†’ Nurture Email (contact within 1-2 days)

๐Ÿค– AI Lead Scoring Rules

The AI automatically classifies leads based on these criteria:

| Score | Criteria | | :--- | :--- | | ๐Ÿ”ด High | Has budget + specific location + clear purpose (investment or near-term buying) | | ๐ŸŸก Medium | Partial information โ€” needs follow-up to qualify further | | ๐ŸŸข Low | Vague inquiry, missing budget or location, early exploration |

The AI also extracts: Intent** โ€” what the lead is trying to achieve Timeline** โ€” how urgently they need a property Notes** โ€” assessment summary for your sales team

๐Ÿ“ง Email Templates

High Lead Email Subject: ๐Ÿ  [Name], we have properties matching your needs! Dark blue header โ€” premium feel Full inquiry summary (property, purpose, location, budget, timeline) AI assessment notes included Promise: senior agent contacts within 2 hours

Nurture Email (Medium / Low) Subject: Thanks for reaching out, [Name]! Grey header โ€” warm and professional Inquiry summary (property, location, budget) Preparation tips while they wait Promise: contact within 1-2 business days

๐Ÿ›  Setup Requirements

  1. Typeform Setup

Create a Typeform with these fields and note their field ref IDs from the Typeform API:

| Field | Type | Required | | :--- | :--- | :---: | | Full Name | Short text | โœ… | | Phone Number | Phone | โœ… | | Email Address | Email | โœ… | | Property Type | Multiple choice | โœ… | | Purpose | Multiple choice | โœ… | | Preferred Location | Short text | โœ… | | Budget Range | Multiple choice | โœ… | | Requirements | Long text | โœ… | | Consent | Yes/No | Optional |

Connect Typeform webhook: Typeform Dashboard โ†’ Connect โ†’ Webhooks URL: your n8n webhook URL (Production URL from the Webhook node) Method: POST

  1. Update Field Refs

In the Extract Typeform Fields Code node, update the REF_* constants to match your actual Typeform field reference IDs:

const REF_NAME = 'your-field-ref-here'; const REF_EMAIL = 'your-field-ref-here'; const REF_PHONE = 'your-field-ref-here'; // ... etc

Find your field refs from the Typeform API or by logging a test webhook payload.

  1. Airtable Setup

Create an Airtable base with a table containing these fields:

| Field Name | Field Type | | :--- | :--- | | Full Name | Single line text | | Email Address | Email | | Mobile Phone Number | Phone | | Property Type | Single line text | | Purpose | Single line text | | Preferred Location | Single line text | | Budget Range | Single line text | | Requirements | Long text | | Submit Date | Single line text | | Lead Score | Single line text | | Intent | Single line text | | Timeline | Single line text | | Notes | Long text |

Update the Save to Airtable node with your Base ID and Table ID.

  1. Credentials Required

| Credential | Used for | Free? | | :--- | :--- | :--- | | Google Gemini (PaLM) API | AI lead scoring | Free tier available | | Airtable Personal Access Token | CRM save | Free | | SMTP | Sending emails | Depends on provider |

  1. Email Configuration

In both email nodes, update: fromEmail โ€” your sending address SMTP credential โ€” your email provider details

Recommended SMTP providers for testing: Mailtrap (sandbox), Gmail, SendGrid

โš™๏ธ Workflow Nodes

| Node | Type | Purpose | | :--- | :--- | :--- | | Webhook | Webhook | Receives Typeform POST payload | | Extract Typeform Fields | Code | Parses answers by field ref ID | | AI Lead Qualifier | AI Agent | Scores lead using Gemini | | Google Gemini Chat Model | LLM | AI model for scoring | | Parse AI Output | Code | Extracts JSON with 4-layer fallback | | Save to Airtable | Airtable | Creates CRM record | | High Lead? | IF | Routes by lead score | | Priority Email | Email Send | Sends to High leads | | Nurture Email | Email Send | Sends to Medium/Low leads |

๐Ÿ”ง Customisation

Change scoring criteria: Edit the prompt in the AI Lead Qualifier node. Add your own rules โ€” e.g. score higher if budget exceeds a threshold, or if the purpose is investment.

Add more email tiers: Add a third IF branch for Low leads with a different nurture sequence, or add a Slack/WhatsApp alert for High leads.

Use a different form: The Extract Typeform Fields node uses Typeform's field.ref system. Replace it with a Google Forms or Jotform parser by adjusting how you read the incoming webhook body.

Change the AI model: Replace the Google Gemini node with Claude, OpenAI, or any other LLM Chat Model node โ€” no other changes needed.

Add lead deduplication: Before saving to Airtable, add a search step to check if the email already exists and skip or update instead of creating a duplicate.

๐Ÿ›ก Robustness Features

The Parse AI Output node uses a 4-layer fallback to ensure the workflow never breaks due to AI formatting issues:

Direct JSON parse โ€” if Gemini returns clean JSON Strip markdown fences โ€” if Gemini wraps in Regex JSON extraction โ€” if there's extra text around the JSON Field-by-field regex โ€” if JSON is malformed, extracts each field individually Default fallback โ€” if all else fails, sets lead_score: Medium

This means the workflow continues and saves the record even if the AI returns unexpected output.

๐Ÿ“Š Sample Airtable Record

Full Name: Sarah Johnson Email Address: sarah@example.com Mobile Phone: +91 9876543210 Property Type: 2BHK Apartment Purpose: Investment Preferred Location: Bandra, Mumbai Budget Range: โ‚น80L - โ‚น1.2Cr Requirements: Parking, gym, sea view Submit Date: 2026-03-18T10:30:00Z Lead Score: High Intent: Serious buyer looking for investment property with strong rental yield Timeline: Within 3 months Notes: High-intent lead with clear budget and location. Has specific amenity requirements. Recommend immediate callback.

๐Ÿ“ฆ Requirements Summary

n8n (cloud or self-hosted) Typeform account (any paid plan for webhooks) Airtable account (free tier works) Google AI Studio account for Gemini API key (free tier available) SMTP email account

๐Ÿ’ก Enhancement Ideas

WhatsApp alert** โ€” send instant WhatsApp to sales team for every High lead via Twilio Calendar booking link** โ€” include a Calendly link in the High lead email Lead follow-up reminder** โ€” add a Wait node + reminder email if no reply in 48 hours Slack notification** โ€” ping your team channel instantly for High leads Lead scoring dashboard** โ€” connect Airtable to a dashboard tool for weekly reports

Built with n8n ยท Google Gemini AI ยท Typeform ยท Airtable ยท SMTP

0
Downloads
1
Views
8.72
Quality Score
beginner
Complexity
Author:Nirav Gajera(View Original โ†’)
Created:4/2/2026
Updated:4/2/2026

๐Ÿ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments