← All Workflows

AI Document Review Assistant

n8n Legal legalcontractsdocument-reviewaiclause-analysisrisk-assessmentdue-diligence

Automated contract and document review. AI summarizes key clauses, flags risks, identifies missing provisions, and generates review memos.

Speed up document review by 10x with this AI-powered workflow. Upload contracts, agreements, or legal documents, and the AI performs a comprehensive first-pass review identifying key clauses, potential risks, unusual terms, and missing standard provisions. The workflow accepts documents via webhook upload or email attachment monitoring. Documents are converted to text (with OCR for scanned PDFs), then analyzed by GPT-4 with legal-specific prompting. The AI identifies and categorizes clauses like indemnification, limitation of liability, termination rights, non-compete, IP assignment, confidentiality, and governing law. Each identified clause is scored on a risk scale from 1-5, with specific notes on why certain provisions deviate from standard terms. The output is a structured review memo in your firm's format, ready for attorney sign-off. Attorneys report saving 2-4 hours per contract review, allowing them to focus on high-value legal strategy rather than initial clause identification.
2Downloads
2Views
25 hours/weekTime Saved
n8nPlatform

Template Preview

{ "name": "AI Document Review Assistant", "nodes": [ { "id": "trigger", "type": "n8n-nodes-base.webhook", "name": "Document Upload", "position": [ 250, 300 ], "parameters": { "path": "doc-review", "method": "POST", "binaryData": true } }, { "id": "extractText", "type": "n8n-nodes-base.httpRequest", "name": "OCR / Text Extract", "position": [ 450, 300 ], "parameters": { "url": "={{$env.DOC_PARSER_URL}}/extract", "method": "POST", "sendBinaryData": true } }, { "id": "splitChunks", "type": "n8n-nodes-base.code", "name": "Split into Chunks", "position": [ 650, 300 ], "parameters": { "language": "javascript", "code": "const text = $json.text;\nconst chunks = [];\nfor (let i = 0; i < text.length; i += 4000) {\n chunks.push({ json: { chunk: text.slice(i, i+4000), index: chunks.length } });\n}\nreturn chunks;" } }, { "id": "analyzeChunk", "type": "n8n-nodes-base.openAi", "name": "AI Analyze Clauses", "position": [ 850, ... truncated (194 lines total)
Download Workflow JSON

Recommended Tools & Services

These tools work great with this workflow.

OpenAI API

GPT-4 for intelligent clause identification and risk analysis.

Learn more →

DocParser

Document parsing and OCR for scanned legal documents.

Learn more →

Tags

legalcontractsdocument-reviewaiclause-analysisrisk-assessmentdue-diligence