This workflow corresponds to n8n.io template #4592 — we link there as the canonical source.
This workflow follows the HTTP Request → OpenAI recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"meta": {
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "a2716342-fd64-4808-8413-df5b2c4cd378",
"name": "Salesforce Trigger",
"type": "n8n-nodes-base.salesforceTrigger",
"position": [
-640,
-380
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ee7e23c4-37e4-4951-a1c8-bd4b93d17533",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-340,
-300
],
"parameters": {},
"typeVersion": 3
},
{
"id": "4c902163-21d5-4a14-a8ac-82a6d4e70a50",
"name": "OpenAI",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
480,
-280
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "2e797451-b873-47b9-b816-8d4ccc039699",
"name": "Slack",
"type": "n8n-nodes-base.slack",
"position": [
1120,
-280
],
"parameters": {},
"typeVersion": 2.3
},
{
"id": "da48704d-415d-4536-b0f0-97a51ff7f90a",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
-60,
-280
],
"parameters": {},
"typeVersion": 4.2,
"alwaysOutputData": false
},
{
"id": "73a2cff6-59c5-45cd-9322-f05a09018325",
"name": "MASK DATA",
"type": "n8n-nodes-base.code",
"position": [
240,
-280
],
"parameters": {},
"typeVersion": 2
},
{
"id": "4f8bcdff-205d-4cc0-957b-75277acf411e",
"name": "UNMASK Data",
"type": "n8n-nodes-base.code",
"position": [
920,
-280
],
"parameters": {},
"typeVersion": 2
},
{
"id": "5fd7f55b-05b6-4eb2-8c24-14da1a3331eb",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
-580,
-560
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "4b819168-8ec0-4fd1-8030-739f081ad3e8",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-160,
-480
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "30e08fe9-bb7a-4f7c-a0cf-5bf5d58251bb",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
180,
-460
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "48b61bd7-cc1d-422a-9e31-d37dda7567c3",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
840,
-440
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"connections": {
"Slack": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"OpenAI": {
"main": [
[
{
"node": "UNMASK Data",
"type": "main",
"index": 0
}
]
]
},
"MASK DATA": {
"main": [
[
{
"node": "OpenAI",
"type": "main",
"index": 0
}
]
]
},
"UNMASK Data": {
"main": [
[
{
"node": "Slack",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "MASK DATA",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"Salesforce Trigger": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
}
}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Boost your sales team’s efficiency with an end-to-end, privacy-first lead-scoring engine—ready to drop straight into your n8n instance.
Source: https://n8n.io/workflows/4592/ — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This template is perfect for: Marketing Teams looking to automatically qualify inbound leads from campaigns Sales Teams wanting to prioritize high-value prospects instantly Agencies offering lead qual
This n8n workflow automates end-to-end lead generation, from scraping local businesses to qualifying and sending high-quality prospects directly into your CRM.
AI-Powered Lead Qualification & Routing System. Uses supabase, httpRequest, openAi, slack. Webhook trigger; 47 nodes.
It extracts key business information using AI, scores the lead based on your ideal customer profile, creates CRM records, notifies your team on Slack, and logs all activity—including failures—to Googl
AI Lead Qualifier. Uses httpRequest, openAi, salesforce, slack. Webhook trigger; 8 nodes.