Skip to main content

Classify contracts and track renewals with easybits, Google Drive and Sheets

Workflow preview

Workflow preview
100%
Classify contracts and track renewals with easybits, Google Drive and Sheets preview
Open on n8n.io

1. Workflow Overview

What this workflow does Drop a contract (PDF, JPG, PNG) into a watched Google Drive folder. easybits Extractor classifies it (SaaS / Lease / Service / Insurance / Other) and pulls every renewal rel...

Best for

  • Document Extraction automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@easybits/n8n-nodes-extractor.easybitsextractor, n8n-nodes-base.if, n8n-nodes-base.googlesheets, n8n-nodes-base.googledrivetrigger, n8n-nodes-base.googledrive, n8n-nodes-base.set, n8n-nodes-base.noop, n8n-nodes-base.switch

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Felix.

Original n8n.io source

1.1 Workflow description

Title
Classify contracts and track renewals with easybits, Google Drive and Sheets
Workflow name
Classify contracts and track renewals with easybits, Google Drive and Sheets

What this workflow does

Drop a contract (PDF, JPG, PNG) into a watched Google Drive folder. easybits Extractor classifies it (SaaS / Lease / Service / Insurance / Other) and pulls every renewal-relevant field in a single call. A Set node calculates the contract's end date and the cancellation deadline. The classified contract is appended to the matching tab in a single Google Sheet – your source of truth for every renewal in the company.


Setup guide

1. Install the easybits Extractor node

  • n8n Cloud: Already available, no install needed.
  • Self-hosted: Settings → Community Nodes → install @easybits/n8n-nodes-extractor.

2. Create your easybits pipeline Go to extractor.easybits.tech and create a pipeline with these fields:

  • contract_class (string) – enum: saas_subscription, lease_agreement, service_contract, insurance_policy, other. Returns null if not a contract.
  • client_name (string)
  • provider_name (string)
  • start_date (string, ISO format YYYY-MM-DD)
  • initial_term_months (number)
  • renewal_term_months (number)
  • auto_renew (string – "true"/"false")
  • notice_period_days (number)
  • contract_value (number)
  • client_signatory_name (string)
  • provider_signatory_name (string)

Paste your Pipeline ID and connect your credentials in the easybits: Classify & Extract Contract node.

3. Create your Google Drive folder Create a folder (e.g. "Incoming Contracts") and paste its ID into the Watch Contract Folder node.

4. Create your Google Sheet Create one Google Sheet with five tabs: SaaS, Leases, Services, Insurance, Other.

Header row on every tab: Start Date | Client Name | Provider Name | Contract Value | Initial Term Months | Renewal Term Months | Auto Renew | Notice Period Days | End Date | Cancellation Deadline | Contract Class | Client Signatory Name | Provider Signatory Name

Paste the Sheet ID into all 5 Google Sheets nodes.

5. Connect credentials

  • easybits Extractor → your easybits API key
  • Google Drive → OAuth (used by both trigger and download)
  • Google Sheets → OAuth

6. Activate and test Turn the workflow on, drop a contract PDF into the watched folder, and watch the correct tab fill up.


Field notes

  • auto_renew stays as a string ("true"/"false") because the easybits Extractor doesn't yet expose a boolean type. Part 2 handles the conversion.
  • notice_period_days is critical – without it, the cancellation deadline defaults to the end date, which is usually too late for contracts with 60–90 day notice clauses.
  • Supports PDF, JPG, and PNG only. Dropping other file types (Word, ODS, etc.) will error – add a mime-type filter before the Extractor if that's a real concern for your setup.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - easybits: Classify & Extract Contract

Type / Role
@easybits/n8n-nodes-extractor.easybitsExtractor - easybitsExtractor
Config choices
Version 1

Block 2 - IF: Is Contract?

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2

Block 3 - Log SaaS Contract

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 4 - Log Lease Contract

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 5 - Log Service Contract

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 6 - Log Insurance Contract

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 7 - Log Other Contract

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4

Block 8 - Watch Contract Folder

Type / Role
n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
Config choices
Version 1

Block 9 - Download Uploaded Contract File

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 10 - Calculate End Date & Deadline

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 11 - Skip: Not a Contract

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 12 - Route by Contract Class

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3

Block 13 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 15 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Classify contracts and track renewals with easybits, Google Drive and Sheets
Complexity advanced
Nodes 19
Categories Document Extraction, AI Summarization
Author Felix
Published 22 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15230/15230.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Classify contracts and track renewals with easybits, Google Drive and Sheets do?

What this workflow does Drop a contract (PDF, JPG, PNG) into a watched Google Drive folder. easybits Extractor classifies it (SaaS / Lease / Service / Insurance / Other) and pulls every renewal rel...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Document Extraction, AI Summarization use case.