Templates / Assess contract risk from Google Drive with Groq, Salesforce and Slack

Assess contract risk from Google Drive with Groq, Salesforce and Slack

Ready for 3.0

by WeblineIndia ✓ · 21 views · created 2026-08-12 · 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-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 22 nodes and runs on Google Drive events (file created). Along the way it connects Google Drive, Groq Chat Model, Salesforce and Slack.

How it runs

Trigger: On Google Drive events (file created).

  1. Validate File is PDF (If): checks a condition and branches into true / false
  2. Download Contract File (Google Drive): download
  3. Extract Contract Name (Edit Fields (Set)): sets 1 field: contract_name
  4. Extract Text from PDF (Extract from File): extracts data from a file (pdf)
  5. Find Contract in Salesforce (Salesforce): work with search
  6. Clean Contract Text (Edit Fields (Set)): sets 1 field: contract_text
  7. Check If Contract Exists (If): checks a condition and branches into true / false
  8. Split Contract into Chunks (Code): runs custom JavaScript code
  9. Merge: merges the data from its input branches
  10. Create Contract Record (Salesforce): work with custom object

…plus 8 more steps. See the full node list below.

Services it uses

Google DriveGroq Chat ModelSalesforceSlack

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.

Check at runtime on n8n 3.0
  • Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Informational: a static scan can't see the data, so test these on your own instance. Status above is unchanged.

Nodes used (11)

From the author

Quick overview This workflow monitors a Google Drive folder for new PDF contracts, extracts and cleans the text, uses Groq-hosted LLMs to extract clauses and assess risk, then writes the final risk summary to a Salesforce custom object and posts a…

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