Module 6 · Hands-on lab
Lead routing, first response and hygiene audit
Using a fictional export of 25 leads, design routing rules, write and test an AI first-response prompt, and audit the data with AI and your own review.
About 105 min
What you'll build
Three things for a fictional brokerage, Maple & Main Realty, from a fictional export of 25 leads: a lead routing table that decides who gets each new lead and what happens if nobody responds; an AI first-response prompt that drafts a personal, CASL-ready reply in the lead's language; and a hygiene audit of the export, with every AI flag reviewed and decided by you.
Before you start
- A spreadsheet: Google Sheets (free Google account) or Excel (Microsoft 365 or the free Excel for the web).
- An AI assistant on a free plan, such as Claude, ChatGPT, Gemini or Microsoft Copilot. The data below is entirely fictional, so it is safe to paste. Never repeat this exercise with a real CRM export in a personal AI account; use only a tool your brokerage has approved (Module 11).
- The template: download
crm-field-and-tag-dictionary.mdfrom this module's template section. - Time: 90 to 120 minutes.
The brokerage
- Today is Wednesday, 21 October 2026. Business hours are 9 a.m. to 6 p.m., Monday to Saturday.
- Maple & Main listings: 123 Example Street, Unit 804 (listing agent Priya Shah) and 45 Sample Avenue (listing agent Wei Chen).
- Agents: Priya Shah (east end, English), Marc Tremblay (French and English), Wei Chen (Mandarin and English), Dev Patel (luxury, homes over $2,000,000), Olivia Brown (leads the leasing team: tenants and landlords).
- Sequences:
seq:buyer-5touch,seq:monthly-updateandseq:seller-nurtureare automated email sequences. - Stale thresholds: New over 1 day, Contacted over 7 days, Qualified over 14 days, Appointment set once the appointment or next task date has passed, Showing over 21 days.
The sample data
Leads created today (21 October, or late on 20 October) with no assigned agent are waiting for your routing. Every other row is an existing record for the audit.
lead_id,created_at,first_name,last_name,email,phone,source,inquiry,area,price_max,timeline,language,stage,last_activity,next_task_due,assigned_agent,email_consent,consent_date,consent_source,unsubscribed,tags
L001,2026-10-21 08:12,Amelia,Hart,[email protected],416-555-0101,website-showing,"Our listing: 123 Example Street, Unit 804",Leslieville,850000,Spring 2027,English,New,2026-10-21,,,implied-inquiry,2026-10-21,Website form: Book a showing,,source:website
L002,2026-10-21 07:55,Luc,Gagnon,[email protected],514-555-0102,website-valuation,What's my home worth: 12 Demo Crescent,Riverside,,Next 6 months,French,New,2026-10-21,,,express,2026-10-21,"Website valuation form, updates box ticked",,source:website;intent:seller
L003,2026-10-09 14:20,Hannah,Moore,[email protected],647-555-0103,portal,Condos near the waterfront,Harbourfront,700000,Not sure,English,New,2026-10-10,,Priya Shah,implied-inquiry,2026-10-09,Portal inquiry,,source:portal;seq:buyer-5touch
L004,2026-09-12 10:05,Jordan,Reyes,[email protected],416-555-0104,open-house,"Open house: 123 Example Street, Unit 804",Leslieville,900000,Spring 2027,English,Contacted,2026-10-16,2026-10-24,Priya Shah,express,2026-09-12,"Open house tablet sign-in, updates box ticked",,source:open-house;seq:buyer-5touch
L005,2026-10-21 06:40,Mei,Lin,[email protected],647-555-0105,website-showing,Townhouse with 3 bedrooms,North York,1200000,Within 3 months,Mandarin,New,2026-10-21,,,implied-inquiry,2026-10-21,Website form: Book a showing,,source:website
L006,2026-08-30 11:15,Owen,Clarke,[email protected],416-555-0106,instagram,Instagram ad: first-time buyer guide,East York,650000,2027,English,Contacted,2026-10-02,,Marc Tremblay,,,,,source:instagram;seq:buyer-5touch
L007,2026-10-20 22:47,Sofia,Rossi,[email protected],647-555-0107,portal,"Rental: 1-bedroom near the subway, up to $2,400 a month",Midtown,2400,November 1,English,New,2026-10-20,,,implied-inquiry,2026-10-20,Portal rental inquiry,,source:portal;type:rental
L008,2026-09-05 16:30,Ethan,Wright,[email protected],416-555-0108,referral,Referred by past client Grace Kim,Danforth,1100000,Spring 2027,English,Appointment set,2026-09-20,2026-09-22,Priya Shah,none,,Referral: first message sent 2026-09-05 naming Grace Kim,,source:referral
L009,2026-10-01 12:00,Liam,Nguyen,[email protected],(416) 555 0109,website-showing,Semi-detached under $1.1M,Leslieville,1100000,Within 6 months,English,Contacted,2026-10-18,2026-10-23,Wei Chen,implied-inquiry,2026-10-01,Website form: Book a showing,,source:website
L010,2026-10-03 13:45,Chloe,Martin,[email protected],647-555-0110,,Called the office about selling,Riverside,,Spring 2027,English,Contacted,2026-10-17,2026-10-25,Marc Tremblay,express,2026-10-03,Phone call: verbal consent noted by agent,,intent:seller
L011,2026-07-22 15:10,Noah,Singh,[email protected],416-555-0111,open-house,Open house: 45 Sample Avenue,Riverside,980000,Fall 2026,English,Showing,2026-08-15,,Wei Chen,express,2026-07-22,"Open house tablet sign-in, updates box ticked",,source:open-house;seq:monthly-update
L012,2026-09-18 09:40,Sam,Lee,[email protected],416-555-0112,website-showing,2-bedroom condo,Liberty Village,750000,Within 3 months,English,Qualified,2026-10-15,2026-10-22,Dev Patel,implied-inquiry,2026-09-18,Website form: Book a showing,,source:website
L013,2026-10-11 18:25,Ava,Thompson,[email protected],647-555-0113,facebook,Facebook lead form: home valuation,Scarborough,,Not sure,English,New,2026-10-11,,,implied-inquiry,2026-10-11,"Meta lead form, no marketing opt-in",,source:facebook
L014,2025-11-02 10:00,Ben,Carter,[email protected],416-555-0114,import,Detached homes,Etobicoke,1400000,2027,English,Nurture,2026-09-01,,Dev Patel,none,,"Imported June 2026 from an agent's old spreadsheet, no record",,seq:monthly-update
L015,2026-09-24 17:05,Isabella,Garcia,[email protected],647-555-0115,website-showing,Condo with parking,Midtown,800000,Within 6 months,English,Contacted,2026-09-30,2026-10-03,Priya Shah,implied-inquiry,2026-09-24,Website form: Book a showing,,source:website;seq:buyer-5touch
L016,2026-10-19 14:00,Mohammed,Ali,,,open-house,"Open house: 123 Example Street, Unit 804 (paper sheet, contact details unreadable)",Leslieville,,,English,New,2026-10-19,,Priya Shah,,,,,source:open-house
L017,2026-10-16 20:12,Jordan,Reyes,[email protected],416 555 0104,website-showing,"Our listing: 123 Example Street, Unit 804",Leslieville,900000,Spring 2027,English,New,2026-10-16,,Marc Tremblay,implied-inquiry,2026-10-16,Website form: Book a showing,,source:website
L018,2026-10-21 05:58,Rahul,Mehta,[email protected],416-555-0118,website-showing,Detached home in Lawrence Park,Lawrence Park,3200000,Within 6 months,English,New,2026-10-21,,,implied-inquiry,2026-10-21,Website form: Book a showing,,source:website
L019,2026-03-02 11:30,Zoe,Campbell,[email protected],647-555-0119,portal,Condos under $600K,Downtown,600000,2026,English,Nurture,2026-07-10,,Wei Chen,implied-inquiry,2026-03-02,Portal inquiry,,source:portal;seq:monthly-update
L020,2026-09-01 10:20,Lucas,Roy,[email protected],514-555-0120,agent-referral,"Relocation from Montreal, referred by an agent at another brokerage",Leslieville,,,French,Qualified,2026-09-01,,Marc Tremblay,express,2026-09-03,Email reply: yes to monthly updates,,source:agent-referral
L021,2026-10-12 13:15,Liam,Nguyen,[email protected],+14165550109,open-house,Open house: 45 Sample Avenue,Riverside,1100000,Within 6 months,English,New,2026-10-12,,Olivia Brown,implied-inquiry,2026-10-12,"Open house tablet sign-in, updates box not ticked",,source:open-house
L022,2026-08-14 19:40,Emma,Wilson,[email protected],416-555-0122,website-valuation,What's my home worth: 67 Demo Crescent,Riverside,,Spring 2027,English,Nurture,2026-10-01,,Priya Shah,express,2026-08-14,"Website valuation form, updates box ticked",2026-10-05,source:website;intent:seller;seq:seller-nurture
L023,2026-10-21 09:05,Daniel,Kowalski,[email protected],647-555-0123,instagram,Instagram message: wants to rent out their condo,Liberty Village,,Now,English,New,2026-10-21,,,implied-inquiry,2026-10-21,Instagram direct message,,source:instagram;type:landlord
L024,2026-10-02 11:50,Sam,Lee,[email protected],647-555-0124,open-house,Open house: 45 Sample Avenue,Liberty Village,760000,Within 3 months,English,Contacted,2026-10-17,2026-10-23,Wei Chen,express,2026-10-02,"Open house tablet sign-in, updates box ticked",,source:open-house
L025,2026-10-21 10:30,Élise,Bouchard,[email protected],438-555-0125,portal,"Our listing: 123 Example Street, Unit 804",Leslieville,875000,Within 3 months,French,New,2026-10-21,,,implied-inquiry,2026-10-21,Portal inquiry,,source:portal
Steps
Part A: Load the data (10 minutes)
- Copy everything inside the grey box above, from
lead_idto the last row. - Paste it into a plain text editor (Notepad, or TextEdit after Format, then Make Plain Text) and save it as
maple-main-leads.csv. - In Google Sheets, choose File, then Import, then Upload, select the file, choose Replace current sheet and separator Comma. In Excel, open the file directly.
- Rename the tab
Leads, freeze the first row and turn on a filter so you can sort by stage and date.
Part B: Design the routing table (25 minutes)
- Add a tab named
Routingwith these columns:Order,If the lead…,Assign to,If not contacted within,Then,After hours. - Write at least six rules, most specific first. Decide and write down: Does an inquiry on one of our listings go to the listing agent even when the lead prefers French? Who gets rentals and landlords? What happens to a lead that arrives at 10:47 p.m.? What happens if the assigned agent does nothing for 15 minutes?
- Apply your rules to the seven new leads (L001, L002, L005, L007, L018, L023, L025). On the
Leadstab add two columns,routed_toandrule_used, and fill them in. - If two rules could match the same lead, your order decides. Adjust until every new lead has exactly one answer you can explain.
Part C: Write and test the AI first-response prompt (30 minutes)
- In a new document, write a system prompt for drafting first replies. Use the follow-up prompt in lesson 4 as a starting point and include: who the assistant writes for and as; the language rule (reply in the lead's language); length limits for email and text; one question, usually two concrete viewing times or a call time; no invented facts about any property, price or market; no pressure; and that the system adds the identification footer and unsubscribe line, so the draft must not.
- Write the footer the system will add. It must carry the agent's name, Maple & Main Realty, Brokerage, a mailing address (use 123 Example Street, Toronto), a phone number or web address, and a way to unsubscribe.
- Test the prompt on L001, L007 and L025. For each, paste the system prompt, then a short block with that lead's fields from the sheet, and ask for an email draft.
- Check each draft against your rules: right language, refers to the actual inquiry, one question, nothing invented, no signature. Where it fails, change the prompt (not the draft) and run it again. Keep your final prompt and one final draft.
Part D: Run the hygiene audit (30 minutes)
- Open a new chat in your AI assistant. Paste the audit prompt from lesson 5 (it already uses today's date and these stage thresholds), then paste the whole CSV under it. Add one line: "Ignore leads created on 2026-10-20 or 2026-10-21 that have no assigned agent; they are waiting for routing."
- Copy the AI's table into a new tab named
Findingswith the columnslead_id,problem,AI reason,My decision(confirmed, rejected, needs agent),ActionandOwner. - Review every row yourself against the
Leadstab. Do not accept a flag you have not checked. For possible duplicates, decide whether they are the same person and which record survives. For consent problems, decide what happens today (for example, remove from the sequence now). - Look for anything the AI missed. Sort
Leadsbynext_task_dueand check which active leads have no next task at all. Add those toFindingstoo. - Write three sentences at the top of
Findings: the most urgent problem, the likely cause of the duplicates, and one change at intake that would prevent the most issues next month.
Part E: Start your dictionary (optional, 10 minutes)
- Fill in the template's tag section with the tags in this export. Note that the
source:tags repeat thesourcecolumn; decide which one your brokerage keeps.
If you're comfortable with code
Ask a coding agent for "a short Python script that reads maple-main-leads.csv, normalizes phones to +1 and ten digits and emails to lower case, and prints groups of lead_ids sharing an email or phone". Compare its groups with the chat's. A script gives the same answer every week; a chat may not.
What to submit
Paste into the submission box: (1) your routing table with the routed_to result and rule number for each of the seven new leads; (2) your final AI first-response system prompt, your footer, and one final draft; and (3) your Findings table with your decision and action for every flag, plus your three-sentence summary.
Check your work
- Every new lead has exactly one owner, and you can name the rule that put it there. L007 and L023 should reach the leasing team, L018 the luxury agent, and your table should state how L025 (our listing, French-speaking) is handled.
- Every rule has a fallback timer and an after-hours behaviour.
- Your prompt keeps the lead's language, forbids invented facts, and relies on a footer with identification and an unsubscribe.
- Your audit includes at least: duplicates L004 and L017, and L009 and L021; a judgement on L012 and L024 (same name and area, different contact details); consent problems on L006, L014, L019 and L022; stale records including L003, L006, L008, L011, L015 and L020; missing data on L010, L013, L016 and L020.
- Each consent problem has an action dated today, not "next week".
- You recorded at least one thing the AI missed or got wrong.
If you get stuck
- Everything lands in column A. The import used the wrong separator. Re-import and choose Comma, or select column A and use Data, then Split text to columns.
- The AI flags every new lead as missing an agent. Remind it of the instruction in step 13, or filter those rows out yourself.
- The AI finds the L004 and L017 duplicate but not L009 and L021. Ask it to normalize the phone numbers first, then compare. This is exactly why a person checks the output.
- The draft for L025 comes back in English. Make the language rule the first rule in your prompt and include
language: Frenchin the lead block. - You are unsure whether L008's missing consent is a problem. L008 is not in an automated sequence, so nothing is being sent today. But the referral exemption covered only the first message, so flag it: the agent should record a consent basis (Ethan's own reply or inquiry, or a clear yes to updates) before any marketing.
Template · Markdown
CRM field and tag dictionary
A field, stage and tag dictionary for a brokerage CRM, with consent fields, stop rules and a five-touch follow-up sequence annotated with CASL notes.
Submit your lab
Loading your lab status…