Real estate lead scoring into an Airtable CRM (n8n)
At a glance
View source template on n8n.io (opens in new tab)Problem
Agents spend time on buyer enquiries that don't match budget, location or timeline
Who it's for
Real estate lead scoring for solo agents and small agencies that take buyer enquiries through a web form. The trigger: you're spending time on enquiries that don't match your budget, area or timeline, and you want the promising ones flagged and saved to an Airtable CRM straight away.
Skip it if you need every enquiry kept (as built, low scorers are discarded), or if you can't send buyer details to OpenAI. It's also a poor fit if you can't review the scoring prompt for fair-housing issues.
Tools and what each does
- n8n Form Trigger
- Hosts a 'Property Form' with six required fields: full name, email, budget range, preferred location, purchase timeline and property type.
- Information Extractor with OpenAI gpt-4o-mini
- Turns the answers into structured fields (name, email, budget_min/max, location, timeline, urgency) and a 0–100 score.
- Edit Fields + IF
- Sets qualified = score ≥ 70 and lets only qualified leads continue.
- Gmail
- Emails a '🔥 NEW QUALIFIED LEAD' summary to the agent.
- Airtable
- Creates a record with name, email, score, minimum budget, location and timeline.
Steps
- A buyer fills in the n8n-hosted form.
- The extractor prompt asks the model to parse the budget, estimate urgency from the timeline and score the lead.
- Edit Fields marks the lead qualified when the score is 70 or more.
- Qualified leads trigger the Gmail alert and the Airtable record at the same time.
- Leads under 70 stop here: no email, no record.
Known problems in the source template
Found by reading the template's JSON, not by running it. Likely fails as shipped.
Problem: The Gmail node's recipient is the literal text 'email', not an address, so the agent alert likely fails on every qualified lead.
Fix: Put the agent's address in 'To'.
Problem: The Airtable base and table are blank in the shared JSON.
Fix: Pick your base and table, then re-map the columns.
Problem: The scoring prompt rewards 'location being Sydney', the author's market.
Fix: Replace it with your own areas, or remove location from the score.
Before you start
- An OpenAI API key with billing set up.
- A Gmail account connected to n8n.
- An Airtable base with a table containing Name, Email, Score, budget, Location and Timeline fields, and an Airtable personal access token.
- Somewhere to publish the form link (site, listing pages, ads).
- Setup estimate: 1–2 h (ESTIMATE).
What can go wrong
Needs an OpenAI API key, Gmail and an Airtable base. As built, leads below the threshold are ignored unless you add a branch to store them, so you could silently drop real buyers; log every lead somewhere. Buyer details are sent to OpenAI. Review the scoring prompt so it doesn't screen people on protected characteristics, which fair-housing laws prohibit in many places.
- Silent failureLeads scoring under 70 are dropped with no record anywhere. A real buyer the model under-scores simply disappears. Add a false branch that stores every lead (for example in an 'Unqualified' Airtable view).
- LegalFair-housing and anti-discrimination laws in many places prohibit screening buyers on protected characteristics. Keep the prompt to budget, timeline, location and property type, and don't add free-text fields the model could read too much into.
- ReliabilityThe extractor's example schema types the score as text, and the score itself is the model's judgement, so the same enquiry can score differently on different runs. Treat 70 as a starting point to review against your own leads.
- Data privacyBuyer names, emails and budgets are sent to OpenAI and stored in Airtable. The form is public, so expect some spam; there's no captcha.
- ModelThe template uses gpt-4o-mini, which OpenAI's deprecations page lists for removal from the API on Jan 14, 2027 (recommended replacement gpt-6-luna). Switch the model in the OpenAI Chat Model node before then.
How to adapt it
- Replace the n8n form with your existing source (Typeform, Google Forms, a website form) and keep the same field names.
- Write the scoring rules into the prompt in plain terms (for example budget bands for your area) so the score is easier to explain.
- Store budget_max too; the template saves only the minimum.
- Send an automatic acknowledgement email to every buyer, not just an alert to the agent.
Sources we checked
- Source template: n8n.io workflow 5428 checked
- Template JSON via n8n templates API checked
- OpenAI API deprecations checked
- US HUD: Fair Housing Act overview checked
- Status
- Researched: Sourced and summarized, not yet run end-to-end by us
- Last checked
- Details checked
Setup estimates are rough guesses for someone comfortable with the tools who already has the accounts and API keys. Real time is unknown until tested.