Quick Overview
This workflow hosts an n8n intake form for a law firm, sends each submission to Anthropic Claude for classification and qualification, logs the result to Google Sheets, emails the intake team for qualified matters via Gmail, and returns a neutral confirmation page to the submitter.
How it works
- Receives a client intake submission through an n8n hosted form.
- Normalizes the submission into consistent fields (contact details, matter type, incident date, and narrative).
- Sends the normalized intake to Anthropic Claude to classify practice area, assess urgency and time sensitivity, flag conflict-check needs, and decide whether the matter is qualified.
- Parses Claude’s JSON response and merges the analysis back into the intake record.
- If the matter is qualified, sends an HTML alert email via Gmail to the intake team and appends the intake details to the “Qualified Intakes” tab in Google Sheets.
- If the matter is not qualified, appends the submission and decline reason to the “Declined Intakes” tab in Google Sheets.
- Returns a confirmation message to the submitter stating the intake was received and that no attorney-client relationship has been formed.
Setup
- Create an Anthropic HTTP Header Auth credential (header name
x-api-key) and attach it to the Claude HTTP request.
- Connect a Gmail account and replace the placeholder recipient email address in the intake alert step.
- Connect Google Sheets credentials, create a spreadsheet with “Qualified Intakes” and “Declined Intakes” tabs, and replace
REPLACE_WITH_YOUR_SHEET_ID in both append steps.
- Review and adjust the form fields (practice areas, questions, and disclaimers) and the Claude prompt rules to match your firm’s intake criteria.
- Activate the workflow and share the hosted form URL where clients submit intake requests.