This law firm client intake automation is for a small firm that receives new-matter inquiries through a web form. It checks supplied names against a party register, prepares an internal intake summary and asks staff to clear a consultation offer. The conflict check is a first-pass name match that a person must confirm.
Last updated: November 2026.
Quick Overview
This law firm client intake automation uses n8n Forms, Gemini 4 through OpenRouter, Google Sheets, Gmail and Google Calendar. It keeps a durable status register, alerts staff about near or past stated deadlines and sends a daily queue of overdue review or unbooked inquiries. The model never decides whether the firm can act or whether a claim has merit. Calendar times are suggestions only; staff confirm bookings after the prospect replies.
How it works
- Matter Form collects a stable Reference ID, contact information, other parties, matter text, deadline and consent. Config holds routing, thresholds and message text. Validate Intake and Valid Intake? reject incomplete or nonconsented submissions to Log Rejected and Alert Rejected.
- Read Intakes and Check Reference look for the same ID. New Reference? stops repeats at Skip Duplicate; Claim Intake records processing before further work. Deadline Near? and Alert Deadline notify the manager about a supplied date within the configured window, including past dates.
- Read Parties and Match Parties compare normalized prospect and other-party names against the register using edit distance and token overlap. Results are none, possible, likely or unverified for an empty register, with matching rows retained for staff.
- Classify Matter asks Gemini 4 for an allowed practice area, four neutral summary lines, literal dates and missing information. Parse Intake validates the JSON and uses a manual-review fallback if it cannot trust the structure. Log Review saves the result before Acknowledge Inquiry sends a neutral receipt.
- Request Clearance waits for a staff decision. Cleared By Human? treats only an explicit approval as clearance. Decline or timeout goes to Log Hold. Approval reads the routed attorney calendar through Read Calendar.
- Build Slot Offer finds weekday openings within business hours. Send Consultation Offer sends provisional times or a manual-scheduling notice when no verified slots exist. Log Offer saves offered or scheduling_needed.
- Daily Review, Read Review Queue and Summarize Queue produce a staff digest even when nothing is overdue. External calls retry three times; their error output reaches Prepare Failure, Log Failure and Alert Failure. A failed alert stays visible as a failed n8n execution.
Setup
- Connect Google Sheets OAuth2 on every Sheets node. In one spreadsheet create parties with party_id, party_name and role. Maintain both client and adverse-party names there. Create intakes with intake_id, created_at, email, name, deadline, status, conflict, practice_area, summary, matches, offered_at and slots.
- Connect Gmail OAuth2 on all mail nodes, Google Calendar OAuth2 on Read Calendar and OpenRouter on Gemini 4. Any OpenRouter model can be swapped in.
- In Config replace sheetId, managerEmail and every attorneys email/calendar mapping. Check partiesTab, intakesTab, practiceAreas, possibleThreshold, likelyThreshold, deadlineDays, slaHours, reviewHours, horizonDays, slotMinutes, businessStart, businessEnd, timezone, maxOffers and maxDescription. Edit ackText and offerText to approved firm wording. Keep practiceAreas aligned with attorneys; Other is the fallback.
- Set the workflow timezone to match Config. Serialize production executions using deployment-level concurrency of one: the Sheets reference check is durable but not an atomic lock.
- Update status manually to booked or closed after staff acts. Failed or held entries require investigation before replay. Limit access to execution data and Sheets and set retention suitable for your firm. This kit does not establish legal compliance or ethics-rule coverage.
Quick Answers
Does law firm client intake automation replace a conflict review?
No. The name match can miss aliases and non-Latin spellings. Staff must confirm it.
Will it give prospects legal advice?
No. AI output stays internal; prospects receive fixed acknowledgement and scheduling text.
Does it book a consultation automatically?
No. Times are provisional and staff confirm the final booking manually.
What happens to a bad AI response?
It falls back to Other and asks staff to classify it before clearing an offer.
Additional info
Built with n8n. Need an assessment on your business? Feel free to reach out at https://khmuhtadin.com/consultation/