Library / Documents, PDF & OCR
Documents, PDF & OCR
Track contract renewals from Drive with LlamaParse, OpenAI and Slack alerts
Parses contract PDFs dropped into Google Drive, extracts renewal dates and notice periods into a Google Sheets register, and sends Slack reminders before each notice deadline.
What it does
## 📑 Contract Obligation & Renewal Tracker For small legal, finance and ops teams who keep contracts in Drive and only notice an auto-renewal after the notice window has closed. A missed notice can lock you into another year of a vendor you meant to drop. ### How it works Drop a contract PDF into a Drive folder. LlamaParse converts it to markdown and GPT-4o-mini extracts the parties, dates, auto-renewal terms, notice period and obligations. Everything lands in a Google Sheets register, and the team gets a Slack summary. Every morning the register is checked. At 90, 60 and 30 days before the notice deadline, Slack gets a message with one-click Renew and Terminate links. Renewals are confirmed. Terminations get an AI-drafted notice saved in Gmail for review. Obligations due within a week go out in a daily digest. ### Setup steps 1. Create a Google Sheet with Contracts and Obligations tabs, and a Drive folder for incoming contracts. 2. Connect Google Drive, Google Sheets, Gmail, Slack and OpenAI. Add your LlamaCloud API key as Header Auth (Authorization: Bearer …). 3. Replace the REPLACE_WITH_… placeholders: folder ID, sheet ID, Slack channel ID, and your n8n base URL in Find Due Renewal Milestones. 4. Upload a sample contract, check the register and Slack, then activate.
The steps
- New Contract in Drive
- Daily 9 AM Check
- Is PDF?
- Read Contract Register
- Download Contract PDF
- Find Due Renewal Milestones
- Ask Renew or Terminate in Slack
- Upload PDF to LlamaParse
- Mark Milestone Sent
- Wait 15s for Parsing
- Check LlamaParse Job Status
- Route by Parse Status
- Alert Slack: Parsing Failed
- Get Parsed Markdown
35 steps in total.
Similar automations
Documents, PDF & OCRTrack contract renewals from Drive PDFs with Gemini, Sheets, Gmail and Slack43 stepsTasks & Project ManagementScore contract renewal risk and route approvals from webhook intake14 stepsCalendar & SchedulingTrack Japanese business-day contract deadlines with Claude, Sheets and Slack18 stepsDocuments, PDF & OCRNotify Legal from Contract Documents and Send to SAP4 steps