Templates / Detect and escalate Salesforce bottlenecks with Gemini, Slack, Gmail

Detect and escalate Salesforce bottlenecks with Gemini, Slack, Gmail

Ready for 3.0

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

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This AI workflow has 17 nodes and runs on a schedule (every day at 09:00). Along the way it connects Salesforce, Google Gemini Chat Model, Slack and Gmail and 1 more.

How it runs

Trigger: On a schedule (every day at 09:00).

  1. Fetch Opportunity Tasks (SOQL) (Salesforce): work with search
  2. Fetch Open Opportunities (Salesforce): work with search
  3. Merge: merges the data from its input branches
  4. Detect Bottlenecks and SLA Breaches (Code): runs custom JavaScript code
  5. Check Bottleneck Found (If): checks a condition and branches into true / false
  6. Prepare Bottleneck Fields (Edit Fields (Set)): sets 15 fields: opportunity_id, task_id, opportunity_name…
  7. Generate Bottleneck Summary (AI) (Basic LLM Chain): sends a prompt to an LLM, with model: Google Gemini Chat Model
  8. Merge: merges the data from its input branches
  9. Parse AI Output (Code): runs custom JavaScript code
  10. Prepare Notification and Update Fields (Edit Fields (Set)): sets 3 fields: salesforce_update_note, bottleneck_status, last_bottleneck_check

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

Services it uses

SalesforceGoogle Gemini Chat ModelSlackGmailGoogle 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 (12)

From the author

Quick overview This workflow runs daily to scan open Salesforce opportunities and related tasks, detect overdue or high-priority internal dependencies, generate an AI-written escalation summary with Google Gemini, and then notify stakeholders via Slack and…

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.