What it does
A broker's real knowledge sits in years of short notes typed after calls (a note such as "wants 1031, $5mm to $10mm, Tampa or Orlando, call back after Q2") and in contact exports from several data vendors that disagree with each other. This system reads all of it and turns it into lists a broker can work from on Monday morning.
Reading the activity notes
build_core_data.py is the shared engine every deliverable draws on.
- Cleaning. It strips system noise from each note and unwraps email bodies pasted into the CRM so the broker's own words are what gets read.
- Seven intent dimensions. Each note is scored on seven separate signals of what the contact intends to do.
- Buyer criteria extraction. It pulls out property type (six types), price ranges written in broker shorthand such as "$5mm", cap-rate targets, square footage, and geography through a 14-market Florida gazetteer.
- Buyer type. It recognizes 1031 exchange buyers, developers, private investors, institutional buyers and owner-users.
- Categories and relationship strength. A 13-branch category tree classifies each contact, and the note history gives each relationship a strength rating.
Merging the contact exports
build_crm.py is the 792-line consolidation step.
- Eight exports, 21 worksheets. Contact and property exports from third-party data vendors, each with its own column names, mapped to one schema through a 68-entry column map.
- Normalization. Addresses and owner names are standardized so the same building or the same owner written three ways becomes one record.
- De-duplication of 23,000 contacts. Records are merged field by field, keeping the best value for each field, with a 45-entry nickname table so "Bill" and "William" match.
- Cross-reference. Every merged contact is linked back to its activity history.
- Prospecting list. A dashboard sheet and the top 2,000 prospects ranked by a priority score.
Recovering status from cell colors
The broker had marked call outcomes by coloring cells, a record no export carries. patch_colors.py reads each cell's fill color through a 13-entry color map and turns it into data: Spoken to, Voicemail left, Do not target, or Target to call. Priority is never lowered by a color, so a hot contact cannot be demoted by a stale highlight.
The five deliverables
- Priority Call List. Every contact sorted into Hot, Warm, Follow-up, Re-engage and Do not call tiers, with every human override respected and the re-engage list capped at the top 20 so the week stays workable.
- Contact Intelligence. A 16-column profile of each contact with summary statistics.
- Deal Tracker. Listings matched to buyer-interest records.
- Pipeline Calendar. Follow-ups dated from the time language in the notes ("after the holidays", "next quarter"), shown as This Week and Next 30 Days views.
- Buyer Criteria Database. Enriched buyer profiles with quick-match by nine property types and 14 Florida markets, so a new listing can be matched to buyers in seconds.
Every deliverable is a formatted workbook ready to work from, and the pipeline writes 17 workbooks in all.
The deal dashboard design
A second-generation design for an interactive deal dashboard was written and put through a six-agent review.
What it achieved
- 1,446 free-text notes turned into structured intelligence profiles.
- 23,000 contacts de-duplicated from eight exports across 21 worksheets.
- Call status recovered from cell colors that no export carried.
- Five formatted Excel deliverables ready to work from: a call list, contact profiles, a deal tracker, a follow-up calendar and a buyer-matching database.
- About 3,170 lines of Python across eight scripts.
The problem it solves
Commercial real-estate brokers depend on relationships, but the record of those relationships is scattered: notes typed in shorthand, vendor exports with conflicting columns and duplicate people, and call results kept as colors in a spreadsheet. Nobody can scan 1,446 notes before deciding whom to call, and a CRM cannot search for "wants industrial under $10mm in Jacksonville" when that criterion lives in free text. This system reads the shorthand, merges the duplicates, rescues the color-coded history and hands the broker ranked, matched, dated lists.
How he built it
Maxwell directed AI agents to build the pipeline as separate scripts, one shared extraction engine and one script per deliverable, so each output could be checked against the source notes on its own. He kept the broker's judgment in the loop with explicit overrides that the scoring never overrules, and wrote the color recovery so it could only raise a contact's priority. The second-generation design went through a six-agent review of its own.