Review PDF contract risks with a form, Google Gemini, Sheets, and Slack
Ready for 3.0What 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”).
- Extract PDF Text (Code): runs custom JavaScript code
- Analyze Contract (Basic LLM Chain): sends a prompt to an LLM, with model: Gemini Chat Model
- Parse Risk Results (Code): runs custom JavaScript code
- Log Review to Sheets (Google Sheets): append or update
- Check Risk Level (If): checks a condition and branches into true / false
- Send Risk Alert (Slack): uses Slack
Services it uses
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)
- n8n Form Trigger
n8n-nodes-base.formTrigger - Code
n8n-nodes-base.code - Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm - Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - Google Sheets
n8n-nodes-base.googleSheets - If
n8n-nodes-base.if - Slack
n8n-nodes-base.slack
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…