Templates / Verify contract extraction and flag hallucinated fields with Judgment API

Verify contract extraction and flag hallucinated fields with Judgment API

Unknown

by Greg Evseev ✓ · 1 views · created 2026-09-18 · Document Extraction, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects Judgment (community).

How it runs

Trigger: Manually, when you click “Execute workflow”.

  1. Source Document (Edit Fields (Set)): sets 7 fields: record, source_text, counterparty…
  2. Fabricated Extraction (Edit Fields (Set)): sets 7 fields: record, source_text, counterparty…
  3. Two Records (Merge): merges the data from its input branches
  4. Verify Extract (Judgment): evaluate (evaluation)
  5. Reshape Checks (Edit Fields (Set)): sets 6 fields: record, field, check…
  6. Is the Field in Doubt? (If): checks a condition and branches into true / false
  7. Explain the Flag (Edit Fields (Set)): sets 1 field: reviewReason

Services it uses

Judgment (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-judgment is verified or supports 3.0 (used in Verify Extract).

Nodes used (6)

From the author

Quick Overview This workflow runs manually to verify extracted contract terms against the original contract text using Judgment, then routes any suspicious or conflicting fields to a review queue while treating the remaining fields as confirmed. How it works…

Excerpt from Greg Evseev'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.