US legal marketing Casefront Legal Marketing
Case-intake triage for 9 personal-injury firms
An n8n and Claude tool-use agent that classified web leads by case type, flagged adverse-party names and incident dates as structured JSON, and put every AI-drafted follow-up in front of a person.
- Client
- Personal-injury law firm marketing agency, Texas, US
- Role
- AI Automation Engineer, contract, sole engineer
- Period
- Oct 2024 to May 2025
- Scope
- 9 personal-injury firms opted into AI triage
from 25 to 8 min
Intake screening time per lead
Before and after pre-filled flags for adverse-party names and incident dates.
Under 3%
Leads misclassified
Leads later re-tagged to a different case type by firm staff, out of 3,200.
84%
AI drafts approved unedited
Share of 2,100 AI-drafted follow-ups that intake staff sent without edits.
Before
Where it started.
Intake staff at each firm screened every web lead themselves. Screening took 25 minutes per lead.
System
How the pieces fit.
Intake
- Web leads9 personal-injury firms
Triage agent
- Classify case typeMotor vehicle, trucking, premises
- Flag as structured JSONAdverse-party names, incident dates
- Draft follow-upClaude, via n8n
Human review
- Firm conflict checkUses the name flags
- Slack approval queueClient-firm intake staff
Reporting
- PostgreSQL intake databaseRead-only role
- Python MCP serverRead-only
- Claude DesktopAccount managers
- Input
- Automation
- Claude
- People
- System
Build order
What I shipped, in order.
Oct to Dec 2024
Triage agent
An n8n and Claude tool-use agent automated case-intake triage for 9 personal-injury firms. Over 8 months it classified 3,200 web leads by case type (motor vehicle, trucking, premises), misclassifying under 3%.
Jan 2025
Name and incident-date flags
The agent flagged adverse-party names for each firm's conflict check and incident dates nearing Texas's two-year statute of limitations, as structured JSON. Lead screening dropped from 25 to 8 minutes.
From Jan 2025
Slack approval queue
Every AI-drafted follow-up was routed through a Slack approval queue for client-firm intake staff. 84% of 2,100 drafts passed unedited.
Feb to Apr 2025
The agency's first MCP server
Shipped as sole engineer: a read-only Python MCP server over the PostgreSQL intake database. Account managers used it from Claude Desktop, and were onboarded with a plain-language guide.
Safeguards
What keeps it safe to run.
- Every AI-drafted follow-up waited in a Slack approval queue for intake staff.
- Name flags fed each firm's own conflict check. The decision stayed with the firm.
- The MCP server was read-only and connected with a read-only database role.
- Flags were returned as structured JSON, so staff saw the same fields on every lead.
Stack
Built with.
- n8n
- Claude API (tool use)
- Python
- MCP
- PostgreSQL
- Slack
- Claude Desktop
- REST APIs