AI for Lawyers and Legal Teams.
Not just an answer — research, draft, get the work done. A practical playbook for solo practitioners, law firms and in-house legal teams: define the problem, pick the right AI tool and walk through it step by step.
Where to use AI
Seven high-leverage areas for a law firm
Each card shows the problem, the AI solution and a per-tool how-to: Claude Code, Claude, ChatGPT, Gemini, Perplexity and n8n. Open any card to see the steps and copyable prompts.
Contract Review & Risk Analysis
Reading long contracts clause by clause to flag risky terms and gaps takes hours.
Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers.
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "Contract Review & Risk Analysis" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "Contract Review & Risk Analysis" end-to-end with AI. Context: - Problem to solve: Reading long contracts clause by clause to flag risky terms and gaps takes hours. - Expected AI outcome: Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers. - Available tools: Claude, ChatGPT, Claude Code, n8n Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers. Context (problem): Reading long contracts clause by clause to flag risky terms and gaps takes hours. Subject area: Contract Review & Risk Analysis Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "Contract Review & Risk Analysis" process. Expected outcome: Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers. Context: - Current problem: Reading long contracts clause by clause to flag risky terms and gaps takes hours. - Available tools: Claude, ChatGPT, Claude Code, n8n Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "Contract Review & Risk Analysis" process: Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers. Problem: Reading long contracts clause by clause to flag risky terms and gaps takes hours. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: Contract Review & Risk Analysis Sector context: Legal What I need: Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers. Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - Contract Review & Risk Analysis
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: Upload the contract; the AI flags risky clauses, missing terms, unbalanced provisions and negotiation points with clause numbers.
Context: Reading long contracts clause by clause to flag risky terms and gaps takes hours.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]Statute & Case-Law Research
Surveying current statutes, case law and academic views on a question can burn half a day.
On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary.
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "Statute & Case-Law Research" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "Statute & Case-Law Research" end-to-end with AI. Context: - Problem to solve: Surveying current statutes, case law and academic views on a question can burn half a day. - Expected AI outcome: On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary. - Available tools: Perplexity, Claude, Gemini Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary. Context (problem): Surveying current statutes, case law and academic views on a question can burn half a day. Subject area: Statute & Case-Law Research Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "Statute & Case-Law Research" process. Expected outcome: On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary. Context: - Current problem: Surveying current statutes, case law and academic views on a question can burn half a day. - Available tools: Perplexity, Claude, Gemini Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "Statute & Case-Law Research" process: On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary. Problem: Surveying current statutes, case law and academic views on a question can burn half a day. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: Statute & Case-Law Research Sector context: Legal What I need: On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary. Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - Statute & Case-Law Research
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: On any question, get cited summaries of relevant statute sections, recent higher-court decisions and academic commentary.
Context: Surveying current statutes, case law and academic views on a question can burn half a day.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]Drafting Pleadings & Briefs
Starting every brief from a blank page and rebuilding procedural boilerplate costs time.
Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief).
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "Drafting Pleadings & Briefs" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "Drafting Pleadings & Briefs" end-to-end with AI. Context: - Problem to solve: Starting every brief from a blank page and rebuilding procedural boilerplate costs time. - Expected AI outcome: Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief). - Available tools: Claude, ChatGPT, Claude Code Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief). Context (problem): Starting every brief from a blank page and rebuilding procedural boilerplate costs time. Subject area: Drafting Pleadings & Briefs Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "Drafting Pleadings & Briefs" process. Expected outcome: Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief). Context: - Current problem: Starting every brief from a blank page and rebuilding procedural boilerplate costs time. - Available tools: Claude, ChatGPT, Claude Code Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "Drafting Pleadings & Briefs" process: Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief). Problem: Starting every brief from a blank page and rebuilding procedural boilerplate costs time. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: Drafting Pleadings & Briefs Sector context: Legal What I need: Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief). Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - Drafting Pleadings & Briefs
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: Give a fact pattern and relief sought; receive a procedurally-correct draft (heading, facts, legal basis, prayer for relief).
Context: Starting every brief from a blank page and rebuilding procedural boilerplate costs time.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]GDPR / Privacy Compliance
Every new internal process needs a privacy notice, consent form and processing register entry.
Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft.
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "GDPR / Privacy Compliance" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "GDPR / Privacy Compliance" end-to-end with AI. Context: - Problem to solve: Every new internal process needs a privacy notice, consent form and processing register entry. - Expected AI outcome: Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft. - Available tools: Claude, ChatGPT Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft. Context (problem): Every new internal process needs a privacy notice, consent form and processing register entry. Subject area: GDPR / Privacy Compliance Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "GDPR / Privacy Compliance" process. Expected outcome: Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft. Context: - Current problem: Every new internal process needs a privacy notice, consent form and processing register entry. - Available tools: Claude, ChatGPT Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "GDPR / Privacy Compliance" process: Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft. Problem: Every new internal process needs a privacy notice, consent form and processing register entry. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: GDPR / Privacy Compliance Sector context: Legal What I need: Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft. Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - GDPR / Privacy Compliance
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: Given the process, generate a GDPR-compliant privacy notice + consent template + processing-register draft.
Context: Every new internal process needs a privacy notice, consent form and processing register entry.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]Client Communication & Briefings
Translating complex matters into plain language for clients and writing regular status updates is tiring.
From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client.
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "Client Communication & Briefings" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "Client Communication & Briefings" end-to-end with AI. Context: - Problem to solve: Translating complex matters into plain language for clients and writing regular status updates is tiring. - Expected AI outcome: From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client. - Available tools: Claude, ChatGPT Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client. Context (problem): Translating complex matters into plain language for clients and writing regular status updates is tiring. Subject area: Client Communication & Briefings Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "Client Communication & Briefings" process. Expected outcome: From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client. Context: - Current problem: Translating complex matters into plain language for clients and writing regular status updates is tiring. - Available tools: Claude, ChatGPT Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "Client Communication & Briefings" process: From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client. Problem: Translating complex matters into plain language for clients and writing regular status updates is tiring. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: Client Communication & Briefings Sector context: Legal What I need: From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client. Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - Client Communication & Briefings
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: From the lawyer's notes, produce a plain-language status briefing, a next-steps list and an FAQ for the client.
Context: Translating complex matters into plain language for clients and writing regular status updates is tiring.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]Document Translation & Terminology
Translating foreign documents (contracts, judgments) with proper legal terminology is slow and expensive.
Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary.
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "Document Translation & Terminology" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "Document Translation & Terminology" end-to-end with AI. Context: - Problem to solve: Translating foreign documents (contracts, judgments) with proper legal terminology is slow and expensive. - Expected AI outcome: Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary. - Available tools: Claude, Gemini, DeepL Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary. Context (problem): Translating foreign documents (contracts, judgments) with proper legal terminology is slow and expensive. Subject area: Document Translation & Terminology Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "Document Translation & Terminology" process. Expected outcome: Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary. Context: - Current problem: Translating foreign documents (contracts, judgments) with proper legal terminology is slow and expensive. - Available tools: Claude, Gemini, DeepL Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "Document Translation & Terminology" process: Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary. Problem: Translating foreign documents (contracts, judgments) with proper legal terminology is slow and expensive. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: Document Translation & Terminology Sector context: Legal What I need: Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary. Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - Document Translation & Terminology
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: Faithful, terminology-correct EN ↔ TR (or any pair) translation plus an output glossary.
Context: Translating foreign documents (contracts, judgments) with proper legal terminology is slow and expensive.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]Matter Management & Calendaring
Tracking dozens of matters, hearing dates and client comms by hand is error-prone.
Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries.
How to do it with each AI tool
Best for: Building end-to-end code / n8n flows / templates that automate the whole process.
Instead of doing "Matter Management & Calendaring" by hand at a Legal firm, give Claude Code the goal and let it scaffold an n8n flow or a small TypeScript module. The process becomes source code — repeatable, reviewable, version-controlled.
- 1Open a terminal in your project and start Claude Code with the 'claude' command.
- 2Paste the prompt below; approve the plan, then let it generate the code.
- 3Run the flow with a small anonymised test input first.
- 4Add a human-approval step (e.g. a Slack 'Approve' button) for sensitive data.
- 5Migrate the working flow into n8n and put it on a 24/7 schedule.
You are an automation engineer helping a team in the Legal sector. Goal: automate "Matter Management & Calendaring" end-to-end with AI. Context: - Problem to solve: Tracking dozens of matters, hearing dates and client comms by hand is error-prone. - Expected AI outcome: Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries. - Available tools: n8n, Claude, Claude Code Your task: 1. Break the process into steps (trigger → processing → output) and propose a flow. 2. Build a working prototype using the tools above: - Define the input data and its format. - Implement each step as a module/function (TypeScript or n8n nodes). - Write the AI prompts tailored to the Legal context. 3. Mask sensitive / client data; add human approval at critical steps. 4. Add error handling, logging and a small test sample. 5. Write setup and run commands into a README. Show the plan first; on approval, generate the code step by step.
Best for: Long-document analysis, careful reasoning and precise legal/technical writing.
Claude (claude.ai) reads long documents (contracts, briefs, statutes) carefully and reasons about them with citations. Strong on precise writing where every word matters in Legal. Projects let you keep firm templates in one place and reuse them.
- 1Create a Project on claude.ai for this sector (e.g. 'Our Law Firm').
- 2Upload firm templates, brand voice notes and example documents into Project Knowledge.
- 3Paste the prompt below and attach the relevant files/text.
- 4Refine with follow-ups: 'shorter', 'add counter-argument', 'plain-language client version'.
- 5Save the approved final version into the firm archive.
You are a senior expert with 15+ years in Legal. Task: Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries. Context (problem): Tracking dozens of matters, hearing dates and client comms by hand is error-prone. Subject area: Matter Management & Calendaring Please: 1) Summarise the matter in your own words first; ask for missing info if any. 2) Then structure the output as: - Summary (3-5 bullets) - Detailed analysis / text - Risks or watch-outs - Recommended next steps 3) Use legal/technical terms correctly; also explain in plain language where useful. 4) Cite the source document or article number for any reference you give. Write in clear, professional English.
Best for: Wide adoption for fast drafts, general research and easy team sharing.
ChatGPT is fast for first drafts, broad research and format transforms (bullets, tables, email tone). Widely adopted across Legal teams. Custom GPTs let you build firm-specific assistants with shared instructions.
- 1In ChatGPT, create a Custom GPT for this process (Settings → Create a GPT).
- 2In the instructions, write the firm's brand voice and the legal/sector limits.
- 3Use the prompt below as the starting point.
- 4Shape the output with follow-ups: 'make it a table', 'turn into a client email', 'shorten'.
- 5Share approved templates with the team as Saved Prompts.
Role: You are a professional assistant for the Legal sector. Task: help with the "Matter Management & Calendaring" process. Expected outcome: Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries. Context: - Current problem: Tracking dozens of matters, hearing dates and client comms by hand is error-prone. - Available tools: n8n, Claude, Claude Code Output: 1. Start with a 3-5 step plan. 2. Then produce the requested document / text / list. 3. End with "Recommended next steps" — 3 concrete suggestions. 4. Use placeholders ([client name], [amount], [date]) for any sensitive data. Language: clear, professional English.
Best for: Working alongside Google Drive/Docs/Gmail and multilingual content.
Gemini's real strength is deep Google Workspace integration (Drive, Docs, Gmail, Sheets) and multimodal reading (PDF, image, audio). If your Legal firm lives in Google, point it at a Drive folder and converse with your documents.
- 1Sign in to gemini.google.com (Workspace account).
- 2Use '@Drive' to attach the relevant folder / file (contracts, statute archive…).
- 3Paste the prompt below.
- 4Use Workspace actions: 'save to Docs', 'export table to Sheets', 'draft a Gmail reply'.
- 5Save the approved output back to Drive.
You are a Google Workspace assistant for the Legal sector. Task: produce this outcome for the "Matter Management & Calendaring" process: Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries. Problem: Tracking dozens of matters, hearing dates and client comms by hand is error-prone. Requests: 1) Scan the Drive folder / file I attached and reference the relevant documents. 2) Deliver the output in Google Docs format with proper headings (H1, H2, bullets). 3) Structure any tabular data so it can be exported to Google Sheets. 4) Also propose a Gmail draft to send to the client / counterparty as a follow-up. 5) Use placeholders for sensitive fields. Write in clear, professional English.
Best for: Cited research, statutes and case-law searches with verifiable sources.
Perplexity cites every answer — the fastest and most trustworthy way to search statutes, case law and official publications in Legal. 'Pro Search' plus domain filters lets you restrict the search to official sources only.
- 1Open perplexity.ai and switch to 'Pro Search'.
- 2Configure domain filters (e.g. official gazette, supreme court, legislative database).
- 3Ask the structured question below.
- 4Open the cited sources (the blue numbers) and verify each one.
- 5Pass the verified synthesis to Claude to produce a final brief.
Topic: Matter Management & Calendaring Sector context: Legal What I need: Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries. Please: 1) List the relevant statutes and article numbers in the applicable jurisdiction. 2) Summarise 3-5 important higher-court decisions from the last 5 years (with case references). 3) Mention key academic papers or doctrinal views if any. 4) Always cite the source for every claim. 5) End with a "Practical Takeaway" section in 3-5 bullets.
Best for: Turning a one-off task into a 24/7 automated flow connecting multiple tools.
n8n turns this from a one-off task into a 24/7 automated flow. In a Legal firm, repetitive tasks (contract review, hearing reminders, client updates) chain together as Trigger → AI → Notification.
- 1Open n8n (cloud or self-hosted) and start a new workflow.
- 2Pick a trigger: Gmail / Drive / Webhook / Schedule.
- 3Add an AI Agent node connected to OpenAI or Anthropic.
- 4Use the template below as the system message.
- 5Send the output to the target service (Slack, Notion, Gmail, Postgres) and activate the workflow.
Workflow name: Legal - Matter Management & Calendaring
[Trigger]
↓
[AI Agent - System Message]
"You are an assistant for the Legal sector.
Task: Pulling data from court portals, sending hearing reminders, auto-updating clients and producing case summaries.
Context: Tracking dozens of matters, hearing dates and client comms by hand is error-prone.
Output rules:
- Return structured JSON: { summary, risk_level (low/medium/high), key_points[], recommended_actions[] }
- Mask sensitive fields.
- If confidence is low, set risk_level=high and 'human_review_required: true'."
↓
[IF risk_level == high]
→ [Slack: request lawyer approval]
→ [Wait for approval]
↓
[Notion / Gmail / Postgres: save the result]
↓
[Wire up to the Error Trigger workflow]Automations
Three automations every law firm should have
Inbound Contract Auto-Triage
A contract attached to an incoming email is automatically risk-scored and a summary is posted to Slack for the lawyer.
Hearing Reminders & Client Updates
Two days before each hearing, the client receives a tailored update and the lawyer gets a one-page summary.
Internal Legal RAG Assistant
A Slack/WhatsApp Q&A assistant grounded in the firm's archive of pleadings, contracts and memos.
End-to-end workflows
Three workflows you can ship this week
End-to-End Contract Risk Analysis
From a contract file all the way to a client-ready preliminary report.
- 1n8n: Gmail attachment trigger captures the PDF
- 2Claude: clause-by-clause analysis with risk scores
- 3Claude: client summary + negotiation notes
- 4n8n: Slack notification + archive PDF
Question → Statutes & Case-Law Brief
From a legal question to a one-page cited brief.
- 1Perplexity: surface relevant statutes and case law
- 2Claude: synthesise sources, write the legal framework
- 3Claude: add counter-arguments and exceptions
Pleading Draft Generation
From a fact narrative to a procedurally-correct draft.
- 1Claude: structure facts from the narrative
- 2Claude: add legal basis and supporting articles
- 3Claude: produce a draft (heading → relief sought)
- 4Claude Code: turn the template into firm-style automation
Ethics & Responsibility
The lawyer stays accountable
AI works alongside a lawyer, not instead of one. Every output is subject to lawyer review; legal responsibility always remains with the lawyer. For sensitive client data, use enterprise plans (where data is not used for training) or a self-hosted RAG setup so data never leaves your environment.
Frequently asked questions
Can I use AI-generated pleadings or contract analysis directly?
No. AI output is a draft. It must always be reviewed by a lawyer; legal responsibility remains with the lawyer. AI saves time, it does not replace judgment.
Does sending client data to AI break confidentiality?
Free tiers may use your data for training. Use enterprise plans (OpenAI Team / Claude Enterprise) or a self-hosted RAG (n8n + Postgres pgvector) so data stays with you.
How well does the model know my jurisdiction?
Generalist models know basic statutes and landmark cases but may be out of date. Use Perplexity for cited research, Claude/ChatGPT for deep analysis, and a RAG (n8n learning path Chapter 10) for your firm's own archive.
What is the monthly cost for a small firm?
Per lawyer: ~$40-60 (Claude Pro + ChatGPT Plus + Perplexity Pro). Add ~$5/month for self-hosted n8n. The time recovered is many times this cost.
Can I integrate this with my case-management system?
Most jurisdictions don't expose an official API, but n8n can sync matter lists from Excel/Notion and run hearing reminders and client updates around them.
Want the full automation stack?
Pair this playbook with the n8n learning path to put your firm workflows on a 24/7 automated foundation.