Agents Lookup

Recipes / Legal

Contract Renewal and Key-Dates Tracker Agent

An agent reads signed vendor and customer contracts, pulls out start and end dates, auto-renewal terms, notice periods, termination deadlines, price increase clauses and payment terms with the exact quoted clause and page, writes them to a tracker sheet for a person to verify, and drafts internal reminders before notice deadlines.

CategoryLegal
Steps9
Human sign-offs5

The problem

Small businesses sign a steady trickle of contracts: software subscriptions, equipment leases, IT and cleaning services, customer agreements, the office lease. Each has a few dates that matter, buried in clause 11 on page 7. The costliest is usually the notice deadline on an auto-renewing contract. Miss it by a week and the business is locked in for another year, often at a higher price. Without a legal team, nobody owns these dates. They live in a folder of signed PDFs and the memory of whoever signed the deal. This recipe adds a reading and tracking step. When a signed contract lands in your storage folder or e-signature account, the agent extracts the key terms with the exact wording and page number and adds them to a tracker. A person checks every term against the quoted clause before it counts. Verified dates then drive internal reminder drafts well ahead of each deadline. The agent gives no legal advice, does not interpret unclear wording and never sends a notice. Anything unclear is flagged for the owner or a lawyer.

Who it's for

Not a fit when

Tools

Google DriveWhere signed contract PDFs are stored and watched for new files; Dropbox or SharePoint work the same way with their own connectors
DocuSign or your e-signature toolOptional source of newly completed agreements, so contracts enter the workflow the moment all parties have signed
ZapierStarts the workflow on a new file or completed envelope, sends the PDF to the model, and writes results to the tracker; Make or n8n can do the same job
ClaudeReads each PDF and returns the key terms as structured fields, each with the exact quoted clause and page number, or NOT FOUND and UNCLEAR flags
Google SheetsThe contract tracker: one row per term, with verification status, reviewer name and reminder dates
GmailHolds reminder drafts addressed to your own team, which a person reviews and acts on
Google CalendarOptional calendar entries for confirmed notice deadlines, created only after a person verifies the date

Inputs you need first

Step-by-step build

  1. Gather and clean up the contract folder

    Create one folder, for example Contracts / Signed, and move every active signed contract into it. Name files by counterparty, contract type and signing date, and keep amendments and order forms next to the main agreement. Remove drafts and unsigned versions, because the agent treats whatever it reads as the signed deal. Check that each PDF has selectable text; scanned images extract poorly, so run OCR first or enter them by hand.

  2. Build the tracker sheet

    Create a Google Sheet with two tabs. Contracts has one row per agreement: contract_id, counterparty, contract_type, file_link, owner, status. Terms has one row per extracted term: contract_id, field, value, quoted_clause, page, agent_flag (OK, NOT FOUND, UNCLEAR), verified (Yes, No, Changed), verified_by, verified_at, reviewer_note. Add end_date, notice_deadline and next_reminder columns on Contracts that read only from verified rows, and lock the verified columns so only the reviewer edits them.

  3. Set the trigger

    In Zapier, start a Zap with the Google Drive New File in Folder trigger on your signed-contracts folder; Dropbox and SharePoint have similar triggers. For DocuSign, Zapier offers completed-envelope and envelope-status triggers, which need a paid DocuSign plan and can take around 15 minutes to poll. Make and n8n have equivalent modules. Filter to PDFs only and skip files already listed in the Contracts tab.

  4. Add the extraction step

    This is where the AI model sits. Send the PDF to Claude through Zapier's Anthropic (Claude) action, or a code or HTTP step that calls the API; the Claude API can return page-numbered citations for PDFs, which speeds up review. Use the prompt in this recipe and ask for JSON with one object per field: value, exact quote and page. Missing fields come back NOT FOUND; unclear or conflicting wording comes back UNCLEAR with both quotes.

  5. Write results to the tracker

    Write one row to the Contracts tab and one row per field to the Terms tab, with verified set to No. Never calculate deadlines from unverified values. Alert the reviewer with links to the new rows and the PDF, and mark UNCLEAR rows, plus any contract missing its notice period, renewal type or end date, for owner or lawyer review.

  6. Verify every extraction

    The reviewer opens the PDF beside the tracker and checks each row: is the quote on that page, and does the value match it? Mark Yes, Changed (with a note) or No. Check amendments and order forms too, since they often change price or term. The reviewer does not decide what unclear wording means. Cross-references to other documents, or conflicts between an order form and the master agreement, go to the owner or a lawyer with a short note.

  7. Draft reminders from verified dates

    Add a scheduled Zap that runs daily, reads the Contracts tab and looks for verified notice deadlines that hit 90, 60 or 30 days out. For each one, the agent drafts an internal email in Gmail to the contract owner. The draft lists the counterparty, the deadline, the quoted renewal and notice clauses with page numbers, the required notice method if the contract states one, and a link to the file. It ends with a plain question: renew, renegotiate or cancel? The draft is addressed to your team only. If a calendar entry helps, create it in Google Calendar from the verified date. When the owner decides to cancel or renegotiate, a person writes and sends the notice, ideally after a lawyer checks it, and records the date, method and delivery proof in the reviewer_note column.

  8. Test on contracts you already know

    Before going live, run 10 to 20 contracts whose key dates you already know, with reminders turned off. Count misses (NOT FOUND terms that exist), wrong values and wrong page numbers. Watch for renewal terms hidden in order forms, dates like 'the third anniversary of the Effective Date' and notice periods in business days. Adjust the prompt and field list, then rerun.

  9. Review the tracker each quarter

    Once a quarter, sort by notice_deadline and confirm every active contract has verified dates. Chase rows still marked No or UNCLEAR, archive ended contracts, and check the trigger still fires, since renamed folders or expired connections quietly stop new contracts from entering. Spot-check a few older rows against the PDF.

Example agent instructions

Adapt this to your business. Placeholders in braces are filled by your automation tool.

You are a contract key-terms extraction assistant for {business_name}. You read one signed contract at a time and pull out specific terms exactly as written. You are not a lawyer. You do not give legal advice, interpret ambiguous wording, recommend whether to renew or cancel, or draft notices to the other party.

Contract file name: {file_name}
Related documents (amendments, order forms): {related_documents}
Fields to extract: {field_list}

For each field in {field_list}, return:
- field: the field name
- value: the term as stated, in plain words (for dates, also give YYYY-MM-DD only if the date is stated explicitly)
- quoted_clause: the exact sentence or sentences from the contract, copied word for word
- page: the page number where the quote appears
- flag: OK, NOT FOUND or UNCLEAR

Rules:
1. Quote only text that appears in the document. Never paraphrase inside quoted_clause.
2. If a field does not appear, set flag to NOT FOUND and leave value empty. Do not guess or fill in common defaults.
3. If a date must be calculated (for example 'three years after the Effective Date'), give the wording, set flag to UNCLEAR, and state what a person needs to confirm. Do not calculate it yourself.
4. If two clauses conflict, or a clause refers to another document you do not have, set flag to UNCLEAR and quote both.
5. For auto-renewal, report the renewal length, the notice period, the notice method and the notice address only as written.
6. For price increases, quote the clause and note any cap or index named. Do not estimate amounts.
7. Do not include personal data beyond party names and notice addresses stated in the contract.

Return JSON: {"contract": "{file_name}", "parties": [], "terms": [ ... ], "needs_lawyer_review": true or false, "review_reason": ""}

Human sign-off points

Guardrails

Expected time saved

Estimate: if you have about 60 active contracts and finding and recording the key dates takes about 20 minutes each by hand, the first pass takes about 20 hours. Verifying quoted extractions might take 5 to 8 minutes each, or roughly 5 to 8 hours in total, and new contracts then take minutes each. This assumes text-based PDFs and a reviewer who checks every row. Fewer missed notice deadlines is the bigger benefit, and it is not counted here. Your results depend on contract length and quality.

How to tell it's working

FAQ

Can the agent tell me whether I can get out of a contract?

No. It can show you exactly what the contract says about renewal, notice and termination, with the clause and page, so you can read it quickly. Whether a notice is valid, what a vague clause means, or whether local law changes the outcome is a question for a lawyer. The agent flags those cases instead of answering them.

What happens with scanned contracts or contracts with handwritten changes?

They often extract poorly, and page citations may be missing or wrong. Run scans through OCR and check the result, or enter those contracts by hand. Flag any handwritten or initialed change for the reviewer, since it may change the deal.

Is it safe to send contracts to an AI model?

It depends on your provider's terms and your contracts. Check whether the provider stores or trains on business data, use a business or API plan with clear retention terms, and limit who can access the folder and sheet. Some contracts forbid sharing their contents with third parties, so check confidentiality clauses and ask a lawyer if unsure.

Want this set up for you?

Build it yourself with the steps above, or tell us what you need. We scope the work with you and send a written quote before anything starts.

Request a quote

Sources

Written by Agents Lookup. Official pages for the tools this recipe uses: