Pulling Key Clauses Out of a Vendor Contract With AI: A Structured Prompt Walkthrough

Rows of books on a library shelf, representing reference documents and contracts

Pulling key clauses out of a vendor contract with AI works best as two separate prompts, not one: first extracting candidate clauses into a structured table with verbatim text and page references, then separately flagging which of those clauses deviate from your organization’s standard terms. Running both steps at once tends to produce a summary that sounds authoritative but can’t be checked against the source, which is the opposite of what you want from a contract review aid. This isn’t legal advice, and nothing here replaces a lawyer’s review of a contract you’re actually about to sign — it’s a way to get a faster, more checkable first pass before that review happens, so the lawyer’s time goes toward judgment calls rather than locating clauses.

Rows of books on a library shelf, representing reference documents and contracts
Image: public domain (CC0), via Wikimedia Commons.

Which clauses to ask for, and why these specifically

Rather than asking a model to “summarize the important parts” or “point out anything concerning,” name the specific clause categories you want extracted up front, before the model ever sees the contract text. Morgan Lewis’s own curated list of contractual provisions sourcing teams shouldn’t ignore and UpCounsel’s overview of vendor contract types and clauses both point to the same recurring set worth extracting from any vendor agreement: term and auto-renewal conditions, termination rights and required notice periods, limitation-of-liability caps, indemnification obligations, service-level commitments and remedies for missing them, data handling and confidentiality terms, and the governing law and dispute-resolution clause. Naming these explicitly in the prompt, rather than asking for “key terms” generically, is what makes the output checkable: a reviewer can confirm whether the model actually found a termination clause and under what notice period, instead of having to re-read the whole contract to see if “key terms” quietly skipped it.

Step 1: Extract with page references and verbatim text, not paraphrase

The extraction prompt itself should ask for a fixed table: clause category, the exact verbatim text (or close to verbatim for unusually long clauses), and a page or section reference, with an explicit instruction not to paraphrase or interpret anything at this stage. For example: “For each of the following clause categories — termination, auto-renewal, limitation of liability, indemnification, SLA remedies, data handling, governing law — find the relevant text in this contract. Quote it directly and cite the section number. If a category isn’t addressed anywhere in the document, say so explicitly rather than omitting it.” That last instruction matters specifically because an AI summary that silently skips a clause category the contract doesn’t address looks identical to one that missed a clause that is present — our own piece on where AI summaries of terms-of-service documents drop the clause that mattered covers exactly this failure mode, and the fix is the same here: force an explicit “not found” rather than letting an absence go unstated.

Step 2: Flag deviations from your standard terms, separately

Once the extraction table exists and has been spot-checked against the actual document, a second, separate prompt compares each extracted clause against your organization’s own standard position — which you supply directly, rather than asking the model to guess at what’s “normal” for your industry. For example: “Our standard position caps liability at 12 months of fees paid and requires 90 days’ notice for termination for convenience. Compare each extracted clause against this standard and flag any that are less favorable to us, more favorable, or materially different in structure.” This step is where a model is actually useful for judgment, not just extraction — but it only works well because step one already gave it a clean, verbatim, checkable set of clauses to compare, rather than asking it to extract and judge in the same breath, which tends to blend “what the contract says” with “what the model thinks about what it says” into a single paragraph that’s hard to audit afterward.

Why two prompts beat one “review this contract” prompt

A single combined prompt asking a model to “review this contract and flag any concerns” produces something that reads like genuinely useful analysis but is much harder to check afterward, because the extraction and the judgment are tangled together in the same block of output. If the model’s risk flag on a limitation-of-liability clause turns out to be wrong, a reviewer reading a combined summary has to go back to the source contract to even figure out what clause is being discussed, since the summary may have paraphrased it. With the two-step version, the reviewer can check step one’s table against the actual contract text in minutes (it’s a direct quote-and-locate exercise), and only then spend their judgment time on step two’s flagged deviations — which mirrors the same reasoning behind chaining separate prompts for a purchase approval rather than asking one model call to both route and approve a request.

Treating the output like a draft that needs a production check

Before this workflow becomes something your team runs routinely on every new vendor contract, rather than as a one-off experiment, it’s worth running it through the same kind of pre-production review our prompt production-readiness piece describes: test it against a contract where you already know the right answers (an old, already-reviewed agreement works well for this), confirm the “not found” instruction actually triggers when a clause category is genuinely absent rather than the model quietly inventing a plausible-sounding one, and decide who signs off on the comparison step’s flags before any deviation gets escalated to legal for a final decision. None of this replaces legal review of an actual contract you’re about to sign; it’s meant to make that review faster by handing the lawyer a checkable starting table instead of a blank contract to read cold.

A worked example, with a sample clause

Here’s what step one’s output should look like on a single clause, using fictional sample contract language written for this piece rather than a real agreement. Suppose Section 8.2 of a sample vendor contract reads: “Either party may terminate this Agreement for convenience upon one hundred twenty (120) days’ prior written notice to the other party.” A correctly extracted row for this would read: Category — Termination; Verbatim text — the full sentence quoted above, word for word; Reference — Section 8.2. What it should not do is compress that into “can terminate with notice,” because that paraphrase drops the specific 120-day figure that’s the entire point of reviewing the clause in the first place — a reviewer comparing this against a 90-day standard position needs the exact number sitting in the table, not a vague gesture toward it. This is the same discipline our own fact-checking checklist applies to any AI-generated content with specific numbers: a figure that matters gets quoted exactly or it doesn’t get trusted.

Handling a contract too long for one pass

A long master services agreement with multiple exhibits, schedules, and amendments can easily exceed what’s comfortable to process reliably in a single prompt, and a model running up against its context limits tends to quietly lose track of earlier sections rather than failing loudly or flagging that it ran out of room. If your contract is long enough to worry about this, split it by document section (main body, each exhibit, each amendment) and run the extraction prompt separately against each piece, then merge the resulting tables and specifically check whether any amendment changes a clause already extracted from the main body — auto-renewal terms and pricing exhibits are common places where an amendment silently supersedes the original clause, and a split-by-section extraction needs an explicit merge step to catch that rather than assuming the two tables simply stack. Our guide to context windows and how to budget them covers the underlying mechanics of why this matters and how to think about chunking a long document generally.

One detail worth clarifying: Can this workflow replace having a lawyer review the contract? No. This is a drafting and triage aid for getting a faster, checkable first pass over a contract’s key terms, not a substitute for legal advice. Nothing in this piece should be treated as legal guidance, and a contract with meaningful dollar value or liability exposure should still go through your organization’s normal legal review before signature, regardless of how clean the AI-generated extraction table looks or how confident the second step’s deviation flags sound.

A natural follow-up: What if the model extracts a clause that doesn’t actually exist in the contract? This is exactly what the page/section reference requirement in step one is meant to catch: if a reviewer can’t locate the cited section when they check it against the actual document, that’s a fabricated or misattributed extraction, and the whole table should be treated as unverified until every citation has been spot-checked at least once against the source contract. Spot-checking a sample rather than every row is reasonable once you’ve run the workflow enough times to trust it on a given contract type, but a brand-new contract template or a brand-new counterparty is worth checking in full the first time through.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top