The problem
Roofing jobs that use premium materials show up in public permit records, often before anyone in sales hears about them. But every city publishes permits in its own format, on its own platform, on its own schedule.
The opportunity
Read all of those sources the same way once a week, keep only the permits worth a call, and show reps which contractors are doing that kind of work.
My approach
- 01
One adapter per platform
Five adapters cover the open-data platforms cities use. Adding a city is one entry in a configuration file.
- 02
Classify, don't just search
A classifier decides whether a permit is a roofing or siding job that names a target material. Uncertain matches are kept for review but hidden by default.
- 03
Roll up by contractor
Permits are grouped by the contractor who filed them: how many jobs, in which cities, and the most recent one.
- 04
Route and follow up
Each lead is assigned to a rep by territory. Reps set a status, add notes, reassign, filter and export.
Architectural decisions
- “New” means new to us
- Cities post permits late, so “new this week” is based on when the job first saw a permit, not the date printed on it.
- A person's note is never overwritten
- A contractor summary written by a person is kept as is. Automated summaries only fill the gaps, and each one is labelled with where it came from.
- The job and the reps write different fields
- The weekly job never touches status, notes or owner, and the database rules let staff edit only those fields, so a re-run cannot undo a rep's work.
- Each source keeps its own bookmark
- Every source records how far it has been read and whether it is healthy, so one broken city feed does not stop the rest.
Capability status
Completed, experimental and planned capabilities, kept separate on purpose.
Beta5
- Weekly pull from about 94 open-data sources
- Permit classifier for target materials
- Contractor roll-up
- Territory assignment, status, notes and CSV export
- Run log and source health for admins
Experimental1
- AI-written contractor summaries · Built, with a rule-based line as the fallback
Planned1
- Match against existing CRM customers
Results & current status
- Built and tested end to end: every configured source pulled in test runs with no duplicate records.
- More than 80 automated tests cover the classifier, the adapters and the access rules.