

How to Send New Lead Notifications with Pipedream
Auto-post to #sales-leads when a new lead is created in Salesforce with source, company, title, and phone for instant rep action.
Steps and UI details are based on platform versions at time of writing — check each platform for the latest interface.
Slack for Salesforce exists as a native integration, but it limited to record notifications without custom logic. This guide uses an automation platform for full control. View native option →
Best for
Sales teams who need instant Slack alerts with rich lead context when prospects hit Salesforce.
Not ideal for
Teams who want digest summaries or need two-way sync between Salesforce and Slack.
Sync type
real-timeUse case type
notificationReal-World Example
A 25-person B2B SaaS company uses this to alert their #sales-leads channel within 30 seconds of a new Salesforce lead. Before automation, reps checked Salesforce every hour and missed hot inbound leads for up to 3 hours. Now the first rep to react gets first dibs on the lead.
What Will This Cost?
Drag the slider to your expected monthly volume.
Each platform counts differently — Zapier: 1 task per trigger. Make: 1 operation per module per record. n8n: 1 execution per run.





Prices shown for annual billing. Based on published pricing as of April 2026.
Estimated ROI
1000
min saved/mo
$583
labor value/mo
Free
no platform cost
Based on ~2 min manual effort per operation at $35/hr fully loaded labor cost.
Implementation
Import this workflow directly into Pipedream
Copy the pre-built Pipedream blueprint and paste it straight into Pipedream. All modules, filters, and field mappings are already configured — you just need to connect your accounts.
Before You Start
Make sure you have everything ready.
Field Mapping
Map these fields between your apps.
| Field | API Name | |
|---|---|---|
| Required | ||
| Lead Name | Name | |
| Company | Company | |
6 optional fields▸ show
| Title | Title |
| Phone | Phone |
Email | |
| Lead Source | LeadSource |
| Industry | Industry |
| Lead Status | Status |
Step-by-Step Setup
Pipedream Dashboard > New Workflow
Create New Workflow
Go to pipedream.com and click 'New Workflow' in the top right. You'll see the workflow builder with an empty canvas. This is where you'll add your Salesforce trigger and Slack action steps.
- 1Click 'New Workflow' button
- 2Name your workflow 'Salesforce Lead to Slack Notifications'
- 3Click 'Create Workflow'
Workflow > Add a trigger > Salesforce
Add Salesforce Trigger
Click 'Add a trigger' and search for Salesforce. Select the 'New Record (Instant)' trigger which uses webhooks for real-time notifications. This trigger fires immediately when a new lead is created in your Salesforce org.
- 1Click 'Add a trigger'
- 2Search and select 'Salesforce'
- 3Choose 'New Record (Instant)' trigger
- 4Click 'Continue'
Salesforce Trigger > Connect New Account
Connect Salesforce Account
Click 'Connect New Account' to authenticate with Salesforce. You'll be redirected to Salesforce login where you'll need to grant Pipedream access to your org. Make sure you're logging in as a user with API access and permission to view leads.
- 1Click 'Connect New Account'
- 2Log into your Salesforce org
- 3Click 'Allow' to grant Pipedream permissions
- 4Return to Pipedream workflow
Salesforce Trigger > Configuration
Configure Lead Object
Set the 'Object Type' to 'Lead' since you want to trigger on new leads specifically. Leave 'Created or Updated' set to 'Created' so it only fires for brand new leads, not updates to existing ones.
- 1Set 'Object Type' to 'Lead'
- 2Set 'Created or Updated' to 'Created'
- 3Click 'Save and Continue'
Salesforce Trigger > Test
Test Salesforce Trigger
Create a test lead in Salesforce to verify the webhook works. Go to your Salesforce org, create a new lead with fake data, then return to Pipedream. The trigger should capture the new lead data within 30 seconds.
- 1Go to Salesforce and create a test lead
- 2Return to Pipedream workflow
- 3Click 'Test' on the trigger step
- 4Wait for the test data to appear
Workflow > Add Step > Slack
Add Slack Action Step
Click the + button below your Salesforce trigger to add a new step. Search for Slack and select 'Send Message to Channel' action. This will post formatted lead notifications to your chosen Slack channel.
- 1Click the + button to add a step
- 2Search and select 'Slack'
- 3Choose 'Send Message to Channel'
- 4Click 'Continue'
Slack Step > Connect New Account
Connect Slack Workspace
Click 'Connect New Account' to authenticate with your Slack workspace. You'll be redirected to Slack to authorize Pipedream. The Pipedream app needs permission to post messages to channels in your workspace.
- 1Click 'Connect New Account'
- 2Select your Slack workspace
- 3Click 'Allow' to grant permissions
- 4Return to Pipedream
Slack Step > Configuration
Configure Slack Message
Set the channel to '#sales-leads' or your preferred channel name. In the message field, create a formatted notification using the Salesforce lead data. Reference fields from the trigger step using the data picker on the right side.
- 1Set 'Channel' to '#sales-leads'
- 2Click in the 'Text' field
- 3Use the data picker to select lead fields
- 4Format your message with lead details
Workflow > Test
Test Complete Workflow
Click 'Test' at the top of the workflow to run the entire sequence. This will use your test Salesforce lead data and send an actual message to your Slack channel. Check your Slack channel to verify the message format and content.
- 1Click 'Test' at the workflow level
- 2Watch each step execute
- 3Check your Slack channel for the message
- 4Verify all lead data appears correctly
Workflow > Deploy
Deploy Workflow
Click 'Deploy' in the top right to activate your workflow. This enables the Salesforce webhook and makes your automation live. From now on, every new lead in Salesforce will trigger a Slack notification within 30 seconds.
- 1Click 'Deploy' button
- 2Confirm deployment in the popup
- 3Wait for 'Active' status to appear
Add this Node.js code step between Salesforce and Slack to enrich notifications with urgency scoring based on title and company size. Paste this in a new Code step after your Salesforce trigger.
JavaScript — Code Stepexport default defineComponent({▸ Show code
export default defineComponent({
async run({ steps, $ }) {
const lead = steps.trigger.event;... expand to see full code
export default defineComponent({
async run({ steps, $ }) {
const lead = steps.trigger.event;
// Score urgency based on title keywords
const highValueTitles = ['ceo', 'cto', 'vp', 'director', 'head of', 'chief'];
const titleScore = highValueTitles.some(title =>
lead.Title?.toLowerCase().includes(title)) ? 2 : 1;
// Company size indicator (rough estimate from domain)
let companySizeScore = 1;
if (lead.Company?.includes('Inc') || lead.Company?.includes('Corp')) {
companySizeScore = 2;
}
const urgencyScore = titleScore + companySizeScore;
let urgencyEmoji = '📝';
let urgencyText = 'Standard';
if (urgencyScore >= 4) {
urgencyEmoji = '🚨';
urgencyText = 'HIGH PRIORITY';
} else if (urgencyScore >= 3) {
urgencyEmoji = '⚡';
urgencyText = 'Priority';
}
return {
...lead,
urgency_emoji: urgencyEmoji,
urgency_text: urgencyText,
urgency_score: urgencyScore
};
}
});Going live
Production Checklist
Before you turn this on for real, confirm each item.
Troubleshooting
Common errors and how to fix them.
Frequently Asked Questions
Common questions about this workflow.
Analysis
Use Pipedream for this if you need instant lead notifications with custom formatting and don't mind writing a bit of code. Pipedream's webhook processing is genuinely instant - leads appear in Slack within 30 seconds of hitting Salesforce. The Node.js code steps let you build smart lead scoring and conditional formatting that Zapier can't match. Skip Pipedream if your team wants zero-code setup and basic notifications work fine - Zapier handles this in 3 clicks.
This costs about 1 credit per lead notification. At 200 new leads per month, you'll use 200 credits monthly. Pipedream's free tier includes 10,000 credits, so this workflow is free unless you're processing 10,000+ leads monthly. Zapier charges $20/month for the same volume on their Starter plan, making Pipedream significantly cheaper for most sales teams.
Make has better visual conditional logic if you need complex lead routing rules without code. Zapier wins on pure simplicity - their Salesforce to Slack integration takes 5 minutes with zero configuration. N8N gives you more control over the message formatting with their visual data transformation, plus it's self-hosted. Power Automate integrates better if you're already using Dynamics 365. But Pipedream's instant webhook processing beats everyone on speed, and the code flexibility handles edge cases the others miss.
You'll hit Salesforce API limits if you're creating 1000+ leads daily - the webhook can overwhelm your org's API quota. Lead data sometimes arrives incomplete if Salesforce validation rules are still running when the webhook fires. Slack rate limits kick in at 1 message per second, so high-volume periods might delay notifications by a few minutes. The webhook URL changes every time you redeploy the workflow, breaking the Salesforce connection until you test again.
Ideas for what to build next
- →Add Lead Assignment — Route leads to specific reps based on territory or lead source using conditional logic in Pipedream.
- →Create Digest Mode — Build a scheduled workflow that sends hourly lead summaries instead of individual notifications for high-volume periods.
- →Enable Two-Way Updates — Add a reverse workflow so reps can update lead status from Slack using slash commands or reaction emojis.
Related guides
How to Share Notion Meeting Notes to Slack with Pipedream
~15 min setup
How to Share Notion Meeting Notes to Slack with Power Automate
~15 min setup
How to Share Notion Meeting Notes to Slack with n8n
~20 min setup
How to Send Notion Meeting Notes to Slack with Zapier
~8 min setup
How to Share Notion Meeting Notes to Slack with Make
~12 min setup
How to Create Notion Tasks from Slack with Pipedream
~15 min setup