Automatyzacja n8n · Weryfikacja umow
Kompleksowa analiza ryzyka umowy: weryfikacja dokumentu, abuzywność klauzul i tezy prawne w jednym uruchomieniu z raportem na Telegram.
Przebieg
Te same kroki co w edytorze n8n, opisane po polsku. Kroki w jednym rzędzie działają równolegle.
Kliknij krok, żeby zobaczyć, co robi.
Workflow rusza, gdy inny system (formularz, CRM, skrypt) wyśle żądanie na adres webhooka.
Węzeł w n8n: Webhook
Uruchomienie
Potrzebujesz instancji n8n (w chmurze albo na własnym serwerze) i konta Gaius-Lex.
curl -X POST "https://<twoja-instancja-n8n>/webhook/analiza-ryzyka" \
-H "Content-Type: application/json" \
-d '{ "contractText": "…", "chatId": "…" }'Zastąp adres swoją instancją n8n, a wielokropki danymi ze sprawy.
n8n-nodes-gaius.{
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "analiza-ryzyka",
"responseMode": "responseNode",
"options": {}
},
"id": "g8a",
"name": "Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
-800,
200
]
},
{
"parameters": {
"keepOnlySet": true,
"values": {
"string": [
{
"name": "contractText",
"value": "={{$json.body.contractText}}"
},
{
"name": "chatId",
"value": "={{$json.body.chatId || ''}}"
}
]
},
"options": {}
},
"id": "g8b",
"name": "Extract",
"type": "n8n-nodes-base.set",
"typeVersion": 2,
"position": [
-560,
200
]
},
{
"parameters": {
"operation": "docVerificationPollCreate",
"text": "={{$json.contractText}}",
"checkJudiciary": true,
"checkInterpretations": true,
"checkActs": true,
"checkKio": true
},
"id": "g8c",
"name": "Verify Doc",
"type": "n8n-nodes-gaius.gaiusLex",
"typeVersion": 1,
"position": [
-320,
80
],
"credentials": {
"gaiusLexApi": {
"name": "Gaius-Lex account"
}
}
},
{
"parameters": {
"operation": "abusivityPollCreate",
"text": "={{$('Extract').item.json.contractText}}"
},
"id": "g8d",
"name": "Abusivity",
"type": "n8n-nodes-gaius.gaiusLex",
"typeVersion": 1,
"position": [
-320,
200
],
"credentials": {
"gaiusLexApi": {
"name": "Gaius-Lex account"
}
}
},
{
"parameters": {
"operation": "thesesAnalysisPollCreate",
"text": "={{$('Extract').item.json.contractText}}"
},
"id": "g8e",
"name": "Theses",
"type": "n8n-nodes-gaius.gaiusLex",
"typeVersion": 1,
"position": [
-320,
320
],
"credentials": {
"gaiusLexApi": {
"name": "Gaius-Lex account"
}
}
},
{
"parameters": {
"amount": 12,
"unit": "seconds"
},
"id": "g8f",
"name": "Wait All",
"type": "n8n-nodes-base.wait",
"typeVersion": 1.1,
"position": [
-60,
200
]
},
{
"parameters": {
"operation": "docVerificationPollGet",
"requestId": "={{$('Verify Doc').item.json.request_id}}"
},
"id": "g8g",
"name": "Get Verify",
"type": "n8n-nodes-gaius.gaiusLex",
"typeVersion": 1,
"position": [
180,
80
],
"credentials": {
"gaiusLexApi": {
"name": "Gaius-Lex account"
}
}
},
{
"parameters": {
"operation": "abusivityPollGet",
"requestId": "={{$('Abusivity').item.json.request_id}}"
},
"id": "g8h",
"name": "Get Abusivity",
"type": "n8n-nodes-gaius.gaiusLex",
"typeVersion": 1,
"position": [
180,
200
],
"credentials": {
"gaiusLexApi": {
"name": "Gaius-Lex account"
}
}
},
{
"parameters": {
"operation": "thesesAnalysisPollGet",
"requestId": "={{$('Theses').item.json.request_id}}"
},
"id": "g8i",
"name": "Get Theses",
"type": "n8n-nodes-gaius.gaiusLex",
"typeVersion": 1,
"position": [
180,
320
],
"credentials": {
"gaiusLexApi": {
"name": "Gaius-Lex account"
}
}
},
{
"parameters": {
"mode": "append",
"options": {}
},
"id": "g8j",
"name": "Merge",
"type": "n8n-nodes-base.merge",
"typeVersion": 3,
"position": [
420,
200
]
},
{
"parameters": {
"resource": "message",
"operation": "sendMessage",
"chatId": "={{$('Extract').item.json.chatId}}",
"text": "Raport ryzyka umowy gotowy. Weryfikacja, abuzywnosc i tezy sprawdzone.",
"additionalFields": {}
},
"id": "g8k",
"name": "Telegram",
"type": "n8n-nodes-base.telegram",
"typeVersion": 1.2,
"position": [
660,
200
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ JSON.stringify({ verification: $('Get Verify').item.json, abusivity: $('Get Abusivity').item.json, theses: $('Get Theses').item.json }) }}",
"options": {}
},
"id": "g8l",
"name": "Respond",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1,
"position": [
900,
200
]
}
],
"connections": {
"Webhook": {
"main": [
[
{
"node": "Extract",
"type": "main",
"index": 0
}
]
]
},
"Extract": {
"main": [
[
{
"node": "Verify Doc",
"type": "main",
"index": 0
},
{
"node": "Abusivity",
"type": "main",
"index": 0
},
{
"node": "Theses",
"type": "main",
"index": 0
}
]
]
},
"Verify Doc": {
"main": [
[
{
"node": "Wait All",
"type": "main",
"index": 0
}
]
]
},
"Abusivity": {
"main": [
[
{
"node": "Wait All",
"type": "main",
"index": 0
}
]
]
},
"Theses": {
"main": [
[
{
"node": "Wait All",
"type": "main",
"index": 0
}
]
]
},
"Wait All": {
"main": [
[
{
"node": "Get Verify",
"type": "main",
"index": 0
},
{
"node": "Get Abusivity",
"type": "main",
"index": 0
},
{
"node": "Get Theses",
"type": "main",
"index": 0
}
]
]
},
"Get Verify": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 0
}
]
]
},
"Get Abusivity": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 1
}
]
]
},
"Get Theses": {
"main": [
[
{
"node": "Merge",
"type": "main",
"index": 2
}
]
]
},
"Merge": {
"main": [
[
{
"node": "Telegram",
"type": "main",
"index": 0
}
]
]
},
"Telegram": {
"main": [
[
{
"node": "Respond",
"type": "main",
"index": 0
}
]
]
}
},
"meta": {
"templateCredsSetupCompleted": true
}
}Plik nie zawiera identyfikatorów poświadczeń; po imporcie n8n poprosi o podłączenie własnych kont.
Od autora
Janusz Marszałek · aktualizacja 10 maja 2026
Automatyzacja przyjmuje tekst umowy. Równolegle uruchamia weryfikacje dokumentu (sprawdzenie źródeł), analizę abuzywności klauzul i analizę tez prawnych. Wyniki są agregowane i wysyłane jako raport ryzyka na Telegram i webhook response.
Dodać powiadomienie email, zmienić zakres sprawdzanych źródeł, lub dołączyć alignment check.
Weryfikacja umow
Sprawdza alignment dokumentu z regułami i wysyła wynik przez Telegram. Mobilne compliance.
Analizuje abuzywność klauzul umownych i powiadamia zespół na Slack o wykrytych ryzykach.
Analizuje tezy prawne w tekście i wysyła szczegółowy raport z teza, antyteza i dowodami na email.
Analiza Ryzyka Umowy
Załóż konto Gaius-Lex, podłącz je w n8n i sprawdź wynik na prawdziwej sprawie. Wdrożenie automatyzacji w zespole omówimy na rozmowie.