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.
Related Templates
Restore your workflows from GitHub
This workflow restores all n8n instance workflows from GitHub backups using the n8n API node. It complements the Backup ...
Verify Linkedin Company Page by Domain with Airtop
Automating LinkedIn Company URL Verification Use Case This automation verifies that a given LinkedIn URL actually belo...
USDT And TRC20 Wallet Tracker API Workflow for n8n
Overview This n8n workflow is specifically designed to monitor USDT TRC20 transactions within a specified wallet. It u...
π Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments