The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "Extract Contract Clause Data",
"nodes": [
{
"parameters": {
"content": "## Extract Contract Clause Data\n\nLegal teams and contract management platforms use this recipe to automate contract review. Upload a contract and receive structured JSON with involved parties, key dates, and individual clauses \u2014 ready for a compliance check, risk analysis, or contract database.\n\n**Note:** This workflow uses the Iteration Layer community node (`n8n-nodes-iterationlayer`). Install it via Settings > Community Nodes on self-hosted n8n, or add it directly on n8n Cloud with Verified Community Nodes enabled.",
"height": 280,
"width": 500,
"color": 2
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
200,
40
],
"id": "6e40f220-51d4-4a97-ad58-88b23de638e5",
"name": "Overview"
},
{
"parameters": {
"content": "### Step 1: Extract Data\nResource: **Document Extraction**\n\nConfigure the Document Extraction parameters below, then connect your credentials.",
"height": 160,
"width": 300,
"color": 6
},
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
475,
100
],
"id": "bf59c222-8e4c-4369-86ab-6be21dce4a57",
"name": "Step 1 Note"
},
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [
250,
300
],
"id": "e5f6a7b8-c9d0-1234-efab-345678901234",
"name": "Manual Trigger"
},
{
"parameters": {
"resource": "documentExtraction",
"schemaInputMode": "rawJson",
"schemaJson": "{\"fields\":[{\"name\":\"parties\",\"type\":\"ARRAY\",\"description\":\"Parties involved in the contract\",\"fields\":[{\"name\":\"name\",\"type\":\"TEXT\",\"description\":\"Name of the party\"},{\"name\":\"role\",\"type\":\"TEXT\",\"description\":\"Role of the party (e.g. client, provider)\"}]},{\"name\":\"effective_date\",\"type\":\"DATE\",\"description\":\"Date the contract takes effect\"},{\"name\":\"termination_date\",\"type\":\"DATE\",\"description\":\"Date the contract expires or terminates\"},{\"name\":\"clauses\",\"type\":\"ARRAY\",\"description\":\"Individual contract clauses\",\"fields\":[{\"name\":\"title\",\"type\":\"TEXT\",\"description\":\"Clause heading or title\"},{\"name\":\"content\",\"type\":\"TEXTAREA\",\"description\":\"Full text of the clause\"}]}]}",
"files": {
"fileValues": [
{
"fileInputMode": "url",
"fileName": "contract.pdf",
"fileUrl": "https://example.com/contracts/service-agreement.pdf"
}
]
}
},
"type": "n8n-nodes-iterationlayer.iterationLayer",
"typeVersion": 1,
"position": [
500,
300
],
"id": "f6a7b8c9-d0e1-2345-fabc-456789012345",
"name": "Extract Data",
"credentials": {
"iterationLayerApi": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Manual Trigger": {
"main": [
[
{
"node": "Extract Data",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
iterationLayerApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Extract Contract Clause Data. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.
Source: https://github.com/iterationlayer/n8n-nodes-iterationlayer/blob/main/templates/extract-contract-clause-data.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Extract KPIs and generate client report in Iteration Layer. Uses n8n-nodes-iterationlayer. Event-driven trigger; 6 nodes.
Generate Shipping Label. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.
Generate Restaurant Menu. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.
Extract Public Registry Page. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.
Generate A+ Content Banner. Uses n8n-nodes-iterationlayer. Event-driven trigger; 4 nodes.