Templates / Review contracts and generate legal PDF reports with Google Drive, OpenAI, and Slack

Review contracts and generate legal PDF reports with Google Drive, OpenAI, and Slack

Unknown

by Intuz ✓ · 12 views · created 2026-08-14 · Document Extraction, AI Summarization

Unknown. This template uses community nodes we can't verify statically. Uses community nodes that can't be verified statically (unverified community packages are off by default in 3.0). Static check, last run 2026-10-19.

What this workflow does

This AI workflow has 11 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, Slack, OpenAI and Htmlcsstopdf (community).

How it runs

Trigger: On Google Drive events (file created).

  1. Download Contract File (Google Drive): download
  2. Extract Text from PDF (Extract from File): extracts data from a file (pdf)
  3. Query OpenAI Model (OpenAI): uses OpenAI
  4. Parse AI Analysis (Code): runs custom JavaScript code
  5. Generate Attorney Insights (OpenAI): uses OpenAI
  6. Prepare Attorney Report (Code): runs custom JavaScript code
  7. Convert to PDF (Htmlcsstopdf): uses Htmlcsstopdf
  8. Save Report to Drive (Google Drive): uses Google Drive
  9. Move Report File (Google Drive): move
  10. Send Slack Notification (Slack): uses Slack

Services it uses

Google DriveSlackOpenAIHtmlcsstopdf (community)

Before you upgrade to n8n 3.0

We can't fully verify this one: it relies on 1 community package, and n8n 3.0 turns unverified community packages off by default (N8N_UNVERIFIED_PACKAGES_ENABLED=false).

  • Check that n8n-nodes-htmlcsstopdf is verified or supports 3.0 (used in Convert to PDF).

Nodes used (7)

From the author

Quick overview This workflow monitors a Google Drive folder for new contract files, extracts text from uploaded PDFs, analyzes key clauses and risks with OpenAI, generates an attorney-ready PDF report via HTML-to-PDF conversion, saves the report back to…

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