Templates / Review PDF contract risks with a form, Google Gemini, Sheets, and Slack

Review PDF contract risks with a form, Google Gemini, Sheets, and Slack

Ready for 3.0

by Oka Hironobu ✓ · 184 views · created 2026-02-24 · 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-10-19.

What this workflow does

This AI workflow has 8 nodes and runs when someone submits an n8n form (“Contract Review Upload”). Along the way it connects Google Gemini Chat Model, Google Sheets and Slack.

How it runs

Trigger: When someone submits an n8n form (“Contract Review Upload”).

  1. Extract PDF Text (Code): runs custom JavaScript code
  2. Analyze Contract (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Chat Model
  3. Parse Risk Results (Code): runs custom JavaScript code
  4. Log Review to Sheets (Google Sheets): append or update
  5. Check Risk Level (If): checks a condition and branches into true / false
  6. Send Risk Alert (Slack): uses Slack

Services it uses

Google Gemini Chat ModelGoogle SheetsSlack

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.

Nodes used (7)

From the author

Who is this for Legal teams, operations managers, and freelancers who review contracts regularly and want to catch risky clauses before signing. Ideal for small teams without dedicated legal counsel. What this workflow does This workflow automates contract…

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