AI-powered lead scoring with Salesforce, GPT-4o, and Slack with data masking
Ready for 3.0What 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.
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- HTTP Request: calls an HTTP API
- MASK DATA (Code): runs custom JavaScript code
- OpenAI: uses OpenAI
- UNMASK Data (Code): runs custom JavaScript code
- Slack: uses Slack
Services it uses
Other OpenAI + Slack templates (979) · Other Salesforce + Slack templates (31) · Other Salesforce + OpenAI templates (24)
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.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (6)
- Salesforce Trigger
n8n-nodes-base.salesforceTrigger - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - OpenAI
@n8n/n8n-nodes-langchain.openAi - Slack
n8n-nodes-base.slack - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code
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…