Templates / Track contract renewals from Drive PDFs with Gemini, Sheets, Gmail and Slack

Track contract renewals from Drive PDFs with Gemini, Sheets, Gmail and Slack

Ready for 3.0

by Ali Abdullah ✓ · 0 views · created 2026-10-20 · Document Extraction, AI Summarization

Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 43 nodes and runs on a schedule (every week) (plus 1 other trigger). Along the way it connects Google Drive, Google Sheets, Gmail and Slack.

How it runs

Trigger: On a schedule (every week) (plus 1 other trigger).

  1. Workflow Configuration (Edit Fields (Set)): sets 11 fields: geminiApiKey, driveFolderId, registrySheetId…
  2. List Contract PDFs (Google Drive): search (file folder)
  3. Load Contract Registry (Google Sheets): read (sheet within document)
  4. Identify New Or Changed Contracts (Code): runs custom JavaScript code
  5. Is New Or Changed Contract? (If): checks a condition and branches into true / false
  6. Download Contract PDF (Google Drive): download (file)
  7. Combine All Contracts (Merge): merges the data from its input branches
  8. Extract PDF Text (Extract from File): extracts data from a file (pdf)
  9. Compute Renewal Urgency (Code): runs custom JavaScript code
  10. Extract Contract Terms (Code): runs custom JavaScript code

…plus 30 more steps. See the full node list below.

Services it uses

Google DriveGoogle SheetsGmailSlack

Before you upgrade to n8n 3.0

Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (14)

From the author

Quick overview This workflow scans a Google Drive folder of contract PDFs on a weekly schedule, extracts key renewal terms from new documents using the Gemini API, stores and updates a contract registry in Google Sheets, and sends renewal alerts via Gmail and…

Excerpt from Ali Abdullah'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.