Every contract gets a first-pass legal read the moment it's submitted — before it sits in someone's inbox for a week. A webhook receives the full contract text, Claude flags the risky clauses and scores overall risk 0–100, and the result is archived and returned immediately.
Claude reads the full contract text and checks it against five clause categories: liability & indemnification, termination & renewal terms, data handling & IP, SLA remedies, and dispute resolution/venue. The risk score is a strict cutoff on how many of those categories carry real one-sided exposure.
One straight path from intake to review, then a three-way fork on the result. All three land in the same archive and response.
contracts_reviewed Data Table.The contracts below are made-up test agreements, not real deals. The risk scores, flagged clauses, and drafted actions are genuine, unscripted output — each one is what Claude actually produced from running that contract text through the live workflow.
The same AI call that scores the contract also drafts what happens next, matched to the tier: high risk gets an internal Slack/email escalation to legal, medium risk gets a negotiation email addressed to the counterparty, and low risk gets a brief internal approval note. Nothing is left as a bare score — even the cleanest contract above got a real drafted note.
contracts_reviewed? It's a Data Table — a lightweight database built directly into this n8n workspace, not a separate external system. It lives inside this n8n project, viewable in n8n's own Data Tables screen and reachable by any other workflow in the same project. It isn't exposed to the public internet on its own — the only way anything outside n8n sees this data is through what a workflow deliberately sends back out, like the drafted actions above.
| contract_name | counterparty | risk_score | risk_tier | flagged_clauses | reasoning |
|---|---|---|---|---|---|
| DataVault Cloud Storage Services Agreement | DataVault Systems Inc | 97 | high | 6 | $0 liability cap, data sale rights, one-sided indemnification, asymmetric termination. |
| Sentinel Security Monitoring MSA | Sentinel Security Corp | 93 | high | 6 | Perpetual lock-in, unilateral 25% fee increases, total liability shield. |
| Pinecrest Facilities Maintenance Services Agreement | Pinecrest Facilities Group | 65 | medium | 4 | Customer indemnifies vendor's own negligence, effectively uncapped exposure. |
| Ridgeline IT Helpdesk Support Agreement | Ridgeline IT Services | 52 | medium | 3 | Vendor-controlled SLA classification leaves most tickets with no guarantee. |
| Cedarline Office Cleaning Services Agreement | Cedarline Cleaning Co | 38 | low | 2 | Balanced agreement; one property-damage sub-cap worth a light ask. |
| Juniper Consulting Statement of Work | Juniper Consulting LLC | 18 | low | 2 | Well-balanced, standard terms; nothing above low severity. |
Nothing here runs on a manual trigger in production. A real contract has to enter this pipeline the moment it's received, and the result has to land somewhere a person actually sees it — usually a CLM or shared drive.
Tools like Ironclad and DocuSign CLM now ship their own AI-assisted clause review, and at a company that already has one configured well, this workflow isn't a replacement for it.
Where a custom pipeline like this earns its place: native CLM review is often gated behind an enterprise pricing tier, it's tuned to generic playbooks rather than a specific risk rubric, it typically flags clauses without drafting the actual next message, and it doesn't give you a queryable, structured archive you fully own. This build is the shape you reach for when a native reviewer isn't available at your tier, doesn't exist for your document system, or needs rubric logic and messaging specific to your business that an off-the-shelf reviewer can't give you.