Templates / AI-powered lead scoring with Salesforce, GPT-4o, and Slack with data masking

AI-powered lead scoring with Salesforce, GPT-4o, and Slack with data masking

Ready for 3.0

by Le Nguyen ✓ · 747 views · created 2025-06-02 · Lead Generation, 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 7 nodes and runs on Salesforce events. Along the way it connects Salesforce, OpenAI and Slack.

How it runs

Trigger: On Salesforce events.

  1. Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
  2. HTTP Request: calls an HTTP API
  3. MASK DATA (Code): runs custom JavaScript code
  4. OpenAI: uses OpenAI
  5. UNMASK Data (Code): runs custom JavaScript code
  6. Slack: uses Slack

Services it uses

SalesforceOpenAISlack

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

From the author

Boost your sales team’s efficiency with an end-to-end, privacy-first lead-scoring engine—ready to drop straight into your n8n instance. 🔹 What it does Salesforce Trigger watches for new or updated Leads every hour. HTTP Request fetches the full record so you…

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