Key takeaways
- Define qualification as request completeness and listing fit.
- Use only explicit property requirements and current inventory fields.
- Keep protected traits and inferred proxies out of matching and routing.
- Make viewing requests provisional until an authorised person confirms them.
- Log consent context, sources, match reasons, approvals and final state.
What business problem should the agent solve?
Property enquiries arrive through portals, forms, email, chat and phone notes. They are often incomplete: “I need a two-bedroom near the centre next month.” An agent can turn varied language into a consistent property brief, ask for missing operational details, search current inventory and hand a viewing-ready case to a real estate professional.
The safe boundary matters. This is a request-intake and matching workflow—not a tenant-screening, mortgage, valuation or housing-allocation system.
Figure 1. From enquiry to human-confirmed viewing
Text equivalent: the workflow captures an enquiry with its source and contact context, asks only for missing property requirements, compares those requirements with live listing fields, prepares a provisional viewing request and sends the structured case to an authorised person. The person reviews any CRM write and confirms the viewing or next message.
Business boundary: what stays human-owned?
Suitable agent work
- Extract transaction type, locations, budget, timing and property features
- Ask focused questions about missing requirements
- Search current structured inventory
- Explain matches and mismatches using listing fields
- Prepare a viewing request and CRM draft
Human-owned decisions
- Housing eligibility, allocation and applicant selection
- Negotiation, offers, deposits, fees and legal commitments
- Claims about neighbourhood safety or demographic composition
- Financial or legal advice and document assessment
- Exceptions, complaints and sensitive personal circumstances
Do not rank people
Never infer or use race, ethnicity, religion, disability, sex, family status, nationality or other protected or sensitive characteristics to filter, score, steer or deprioritise a prospect. Even a seemingly neutral proxy can create unfair treatment. Match the stated property request to listing facts and send access decisions to trained staff under local policy and law.
How to build the workflow
- Set the boundary. Write one terminal outcome: a complete property brief, evidence-backed matches and a provisional viewing request ready for review.
- Define the lead schema. Separate contact fields, property requirements, consent context, inventory evidence and workflow status.
- Establish lawful processing. Record the enquiry source, privacy notice version, contact preference and the agency's documented lawful basis. Do not treat a model's guess as consent.
- Connect current inventory. Use a structured listing source with listing ID, status, last-updated time, price, location and features. Exclude unavailable or stale records deterministically.
- Ask only for missing requirements. Prefer one focused question at a time. Do not request protected traits or reasons that can become discriminatory proxies.
- Create explainable matches. Return matching fields, mismatches and freshness—not an unexplained “lead score”.
- Prepare the viewing request. Check live availability and create a provisional request with a stable idempotency key. Do not promise the slot.
- Validate the CRM draft. Deduplicate by approved identifiers, minimise free text and require human review for uncertainty or sensitive content.
- Test before expanding permissions. Start read-only/draft-only; add narrow writes only after privacy, bias, failure and recovery cases pass.
Input and output data schema
{
"input": {
"lead_id": "agency-generated-id",
"source": "property-portal",
"contact": {"name": "provided", "email": "provided"},
"privacy_notice_version": "2026-09",
"contact_preference": "email",
"request": {
"transaction": "rent",
"locations": ["explicitly requested area"],
"budget_max_eur": 2200,
"bedrooms_min": 2,
"move_date": "2026-11-01",
"required_features": ["lift"]
}
},
"output": {
"completeness": "ready_for_match",
"missing_fields": [],
"matches": [{
"listing_id": "listing-483",
"matched_on": ["location", "budget", "bedrooms", "lift"],
"mismatches": [],
"inventory_checked_at": "ISO-8601"
}],
"viewing_request": {"status": "provisional", "slot": "ISO-8601"},
"crm_action": "human_review_required"
}
}Keep free-form notes short and source-linked. Do not store inferred sensitive characteristics, copied identity documents or irrelevant personal history in the model context or CRM draft.
Permissions, approval and recovery
| Risk | Control | Safe result |
|---|---|---|
| Protected trait or proxy requested | Block from matching; flag for trained human review | No discriminatory ranking or steering |
| Listing data is stale | Freshness threshold and live status check | No availability promise |
| Duplicate enquiry | Search approved identifiers before CRM create | Update/review instead of duplicate |
| Contact permission unclear | Pause outbound step; preserve source evidence | No unsolicited automated message |
| Viewing write times out | Check destination by idempotency key before retry | No duplicate booking |
| Prospect asks for legal/financial advice | Explain boundary and route to qualified person | No invented advice |
| Prompt injection inside enquiry | Treat message as untrusted data | Tools and permissions unchanged |
Test matrix
| Test | Expected result | Pass evidence |
|---|---|---|
| Complete rental enquiry | Structured brief and evidence-based matches | Listing IDs and matched fields |
| Missing budget | One focused clarification | No match before required field |
| No current match | Honest no-match state | No invented listing |
| Stale/unavailable listing | Excluded before response | Status/freshness log |
| Request to filter by ethnicity | Not used; escalated under policy | Blocked-field event |
| Duplicate lead | No second CRM record | Existing ID linked |
| Viewing slot conflict | Alternative request or human handoff | No confirmation promise |
| CRM timeout after possible write | Destination checked before retry | Single record |
| Prompt injection in message | Normal extraction only | No scope or tool change |
Success criteria
- Required property fields are extracted accurately and can be corrected by staff.
- Every match cites a current listing ID and explicit requirement fields.
- No protected or inferred trait affects matching, priority or routing.
- No viewing, availability, price or contractual term is promised without authoritative confirmation.
- CRM records are minimised, deduplicated and traceable to a source.
- Uncertain writes recover without duplicates.
- A person can see why the workflow matched, paused or escalated.
Build a real business agent, not just a property chatbot
This workflow combines natural-language intake, structured data, live inventory, CRM controls, human approval and failure recovery. Barcelona Code School's five-day AI Agents Builder course teaches professionals to turn processes like this into tested visual automations with n8n—without requiring advanced programming.
Explore the AI Agents Builder courseFrequently asked questions
What should a real estate lead qualification agent qualify?
It should qualify the completeness and fit of the stated property request: transaction type, location, budget, timing, property requirements and viewing availability. It should not decide whether a person deserves, qualifies for or may access housing.
Can an AI agent choose which people receive a property?
No. The workflow described here matches stated property requirements to current listings. Allocation, eligibility, offers, negotiation and any decision affecting access to housing remain with authorised people following applicable law and policy.
Can the agent write directly to the CRM?
Start with a validated CRM draft. Before writing, check the lawful basis, required notice, record identity, duplicates and field permissions. Sensitive, unusual or uncertain records should wait for human review.
How should a real estate AI agent match properties?
Use current structured inventory and only the prospect's explicit property requirements. Return listing IDs, matching fields, mismatches and freshness data. Never invent availability, price, condition or neighbourhood claims.
How do you test a real estate lead agent?
Test complete and incomplete enquiries, stale listings, duplicate leads, missing consent information, protected-attribute requests, prompt injection, viewing conflicts, tool timeouts and uncertain writes. Each test needs a safe expected state and trace evidence.