Templates / Assess Salesforce deal risk with Gmail, Outlook, OpenAI and Slack alerts

Assess Salesforce deal risk with Gmail, Outlook, OpenAI and Slack alerts

Ready for 3.0

by WeblineIndia ✓ · 39 views · created 2026-06-17 · 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 27 nodes and runs on a schedule (every 6 hours). Along the way it connects Slack, Salesforce, Gmail and Microsoft Outlook and 1 more.

How it runs

Trigger: On a schedule (every 6 hours).

  1. Fetch Open Deals from Salesforce (HTTP Request): calls an HTTP API
  2. Check: Salesforce API Error (If): checks a condition and branches into true / false
  3. Slack: uses Slack
  4. Transform Salesforce Data → Deal List (Code): runs custom JavaScript code
  5. Clean & Prepare Deal Data (Code): runs custom JavaScript code
  6. Standardize Deal Fields (Set Node) (Edit Fields (Set)): sets 19 fields: workflowRunId, opportunityId, opportunityName…
  7. Check for Missing Deal Information (If): checks a condition and branches into true / false
  8. Send Incomplete Deals for Manual Review (Code): runs custom JavaScript code
  9. Filter Important Deals (Risky / High Value) (If): checks a condition and branches into true / false
  10. Alert Slack on Incomplete Deal Data (Slack): uses Slack

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

Services it uses

SlackSalesforceGmailMicrosoft OutlookOpenAI

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

From the author

Quick Overview This workflow runs every six hours to pull open Salesforce opportunities, enriches selected deals with Gmail and Microsoft Outlook email context, uses OpenAI to score deal risk, writes the assessment back to Salesforce, and notifies teams in…

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.