Back to work

CHP Report Automation

How I automated traffic collision report retrieval for PI law firms

The Problem

PI law firms need CHP traffic collision reports to build cases. Getting them means navigating a clunky government portal, calling offices to get missing data fields (crash time, officer ID, NCIC codes), and waiting days. Firms were losing time on every single case.

The Approach

I built a complete pipeline: email intake monitors incoming requests from law firms, AI identifies what data is missing, voice AI (VAPI) calls the correct CHP office out of 101 statewide to gather missing fields, Playwright automates the portal form submission, and the report is delivered back to the firm.

Key Technical Decisions

  1. 1.Data provenance tracking: law firm data is tagged as unverified, CHP officer data as authoritative. The system never confuses the two.
  2. 2.Cumulative data model: every interaction carries all confirmed data forward. Nothing gets lost between calls.
  3. 3.Office rotation: never call the same CHP office twice in one day to avoid suspicion.
  4. 4.Human-in-the-loop: any confusion or edge case escalates to a human supervisor immediately. The system never lies about being AI.

Results

2

Law firms

21

Active users

80+

Reports processed

Minutes

vs. days

Stack

Next.jsConvexPlaywrightVAPITwilioVercelFly.io
Visit site →