Block 1 - Contract Upload Webhook
- Type / Role
- n8n-nodes-base.webhook - webhook
- Config choices
- Version 2.1
How It Works This workflow automates end to end legal contract review and compliance governance for legal teams, contract managers, and risk officers. It solves the problem of manually reviewing up...
n8n-nodes-base.webhook, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.agent, @n8n/n8n-nodes-langchain.lmchatopenai, @n8n/n8n-nodes-langchain.memorybufferwindow, @n8n/n8n-nodes-langchain.outputparserstructured, @n8n/n8n-nodes-langchain.agenttool, n8n-nodes-base.httprequesttool
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Cheng Siong Chin.
Original n8n.io sourceThis workflow automates end-to-end legal contract review and compliance governance for legal teams, contract managers, and risk officers. It solves the problem of manually reviewing uploaded contracts for regulatory compliance, risk classification, and approval routing, a process that is time-consuming, inconsistent, and difficult to audit at scale. Contracts are ingested via a webhook upload trigger and text is extracted immediately. The extracted content is passed to a Legal Governance Agent backed by shared memory, which coordinates three specialist components: a Contract Review Agent (using a dedicated review model and memory), a Compliance Validation Agent (referencing a Regulatory Database Tool and compliance model), and a Slack Alert Tool with structured output parsing. The agent classifies each contract by risk level and routes accordingly, critical alerts, high-risk alerts, and standard reviews each follow distinct paths. All contracts generate an audit record. High and critical cases trigger contract review tracking, approval requirement checks, approval log preparation, and a final summary. Risk clauses are extracted in parallel, split, and stored for downstream reference.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
Showing the first 24 of 32 workflow blocks. Download the JSON for the full node graph.
| Workflow | Route legal contract risks with GPT-4o, Slack, Google Sheets and a regulatory API |
|---|---|
| Complexity | advanced |
| Nodes | 32 |
| Categories | Document Extraction, AI RAG |
| Author | Cheng Siong Chin |
| Published | 29 Mar 2026 |
Use the JSON export at /data/workflows/14434/14434.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
How It Works This workflow automates end to end legal contract review and compliance governance for legal teams, contract managers, and risk officers. It solves the problem of manually reviewing up...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI RAG use case.