Templates / Extract and classify legal documents with Claude Sonnet and Google Sheets

Extract and classify legal documents with Claude Sonnet and Google Sheets

Ready for 3.0

by Mychel Garzon ✓ · 64 views · created 2026-05-18 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 31 nodes and runs when an HTTP POST request hits its webhook URL (plus 1 other trigger). Along the way it connects Slack, Google Sheets and Anthropic Chat Model.

How it runs

Trigger: When an HTTP POST request hits its webhook URL (plus 1 other trigger).

  1. Workflow Config (model + settings) (Edit Fields (Set)): sets 1 field: claude_model
  2. Slack: uses Slack
  3. Validate Payload (Code): runs custom JavaScript code
  4. Deduplication Check (Code): runs custom JavaScript code
  5. Is Duplicate? (If): checks a condition and branches into true / false
  6. Respond 200 Duplicate (Respond to Webhook): sends the response back to the webhook caller
  7. Is Valid? (If): checks a condition and branches into true / false
  8. Respond 202 Accepted (Respond to Webhook): sends the response back to the webhook caller
  9. Respond 400 Bad Request (Respond to Webhook): sends the response back to the webhook caller
  10. Has URL? (If): checks a condition and branches into true / false

…plus 18 more steps. See the full node list below.

Services it uses

SlackGoogle SheetsAnthropic Chat Model

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Nodes used (13)

From the author

Stop treating document review as a manual task. Let AI extract, classify, and route every contract, invoice, and NDA automatically. Legal and financial document review is slow, inconsistent, and expensive when done by hand. This workflow accepts any document…

Excerpt from Mychel Garzon's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.