Extract Legal Contract Data & Send Alerts with VLM Run, Google Workspace & Slack

πŸ“œ AI-Powered Contract Management Pipeline (Google Drive + VLM Run + Sheets + Calendar + Slack)

βš™οΈ What This Workflow Does

This workflow automatically extracts, organizes, and tracks legal contract details from documents uploaded to Google Drive. Using VLM Run’s Execute Agent, it parses key metadata such as contract ID, parties, dates, and terms β€” then stores, alerts, and schedules reminders through Google Sheets, Calendar, and Slack.

🧩 Requirements Google Drive OAuth2** for monitoring and downloads
VLM Run API credentials** with Execute Agent access
Google Sheets OAuth2** for structured record storage
Google Calendar OAuth2** for key date reminders
Slack API credentials** for team notifications
A reachable Webhook URL (for receiving parsed contract data)

⚑Quick Setup

Configure Google Drive OAuth2 and create upload folder and folder for saving extracted images. Install the verified VLM Run node by searching for VLM Run in the node list, then click Install. Once installed, you can start using it in your workflows. Add VLM Run API credentials for document parsing. Configure Google Sheet and Calendar. For Google Sheet, from the document list, pick your Google Sheet (e.g., test). Then select the sheet inside it (e.g., Sheet1).

Set the operation to Append Row β€” this will add new contract details as new rows.

Turn on Map Each Column Manually. Match each contract field (like Contract ID, Title, Parties, Effective Date, Termination Date) to its corresponding column in your Google Sheet.

Configure Slack for notifications.

βš™οΈ How It Works

Monitor Contract Uploads – Watches a target Google Drive folder for new file uploads (PDFs, images, or scans).
Download Contract File – Automatically downloads new contracts for AI analysis.
VLM Run ContractParser – Sends the file to the VLM Run Execute Agent, which extracts structured contract data, including:
Contract ID
Title
Parties (with roles)
Property address
Effective date
Termination date
Rent, deposit, payment terms, and governing law
Receive Contract Data – The webhook endpoint receives the structured JSON response.
Format Contract Data – Normalizes fields, formats dates, and prepares for storage.
Save to Expense Database (Google Sheets) – Appends extracted data to a master Google Sheet for centralized contract tracking.
Notify via Slack – Posts a concise summary to a Slack channel, showing key contract details for visibility.
Create Calendar Events – Automatically schedules Google Calendar events for:
Effective Date
Termination Date
Renewal Reminder (60 days before termination)

πŸ’‘ Why Use This Workflow

Manual contract management is error-prone and time-consuming key details like renewal dates, payment terms, or termination clauses often get lost in email threads or folders. This workflow ensures:

Zero missed deadlines** automatic Google Calendar reminders keep your team on track.

Instant team visibility** - Slack notifications keep legal, finance, and operations aligned.

End-to-end automation** no need for manual parsing, data entry, or follow-ups.

🧠 Perfect For Legal teams automating contract intake and tracking
Real estate or lease management workflows
Finance or procurement teams needing expiration alerts
Organizations centralizing contract metadata in Sheets

πŸ› οΈ How to Customize

Modify Extraction Fields Edit the VLM Run Execute Agent schema to add fields like contract value, payment schedule, department, or contact email. Change Storage Swap Google Sheets for Airtable, Notion, or BigQuery if you manage large datasets or need relational tracking. Customize Notifications Send Slack alerts only for high-value or expiring contracts, and tag relevant teams (e.g., @legal, @finance). Add Calendar Events Auto-create events for reviews or payment milestones using extra date fields. Add Approvals or Signatures Insert a Google Form or Slack approval step, or trigger DocuSign for e-signature automation.

⚠️ Community Node Disclaimer

This workflow uses community nodes (VLM Run) that may need additional permissions and custom setup.

0
Downloads
0
Views
8.44
Quality Score
beginner
Complexity
Author:Shahrear(View Original β†’)
Created:10/15/2025
Updated:11/16/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments