Templates / Predict deal close dates and update Salesforce with Groq and Google Sheets

Predict deal close dates and update Salesforce with Groq and Google Sheets

Ready for 3.0

by WeblineIndia ✓ · 28 views · created 2026-04-15 · CRM, 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 17 nodes and runs on a schedule (every day). Along the way it connects Groq Chat Model, Gmail, Salesforce and Google Sheets.

How it runs

Trigger: On a schedule (every day).

  1. Set Lookback Timeframe (Edit Fields (Set)): sets 1 field: lastruntime
  2. Fetch Historical Won Deals (Salesforce): work with search
  3. Fetch Recent Active Deals (Salesforce): work with search
  4. Process Opportunities (Loop Over Items (Split in Batches)): loops over the items in batches
  5. Fetch Deal Details (Salesforce): get (opportunity)
  6. Deal Task History (Salesforce): work with search
  7. Is Deal Valid & Active? (If): checks a condition and branches into true / false
  8. Calculate Deal Risk & Velocity (Code): runs custom JavaScript code
  9. AI Deal Timeline Predictor (AI Agent): runs an AI agent, with model: Insights
  10. Parse AI Output (Code): runs custom JavaScript code

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

Services it uses

Groq Chat ModelGmailSalesforceGoogle Sheets

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 (10)

From the author

AI-Powered Smart Deal Close Prediction and Salesforce CRM Auto-Update Workflow This workflow acts as an automated, intelligent sales operations assistant. It continuously monitors your Salesforce account for newly updated opportunities, compares them against…

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.