How to send a Slack alert when a Salesforce deal changes stage
Alert Slack on Salesforce opportunity stage changes. Compare Salesforce Flow, n8n, and Claude Code with setup steps and cost breakdowns.

This recipe includes a downloadable n8n template and Claude Code skill.
Workflow
Why alert on stage changes?
Most sales teams review their pipeline once or twice a week in Salesforce reports or dashboards. But stage changes happen daily — and when a $120K deal moves to Negotiation, the manager needs to know immediately, not at the next Friday standup. That 2-5 day information gap means missed coaching moments, unsupported negotiations, and leadership making decisions based on stale data.
Slack alerts close that gap. When an opportunity moves to a new stage, the right people know within seconds (with Flow Builder) or minutes (with n8n or the Claude Code skill). Managers can offer coaching while context is fresh, executives can engage on strategic deals, and the whole team gets ambient awareness of pipeline movement without checking Salesforce constantly.
Salesforce has an advantage over HubSpot here: stage names are stored as human-readable text (StageName), not internal IDs. This makes alerts simpler to build — you can reference "Negotiation/Review" directly instead of mapping IDs to labels.
🔄 Opportunity Stage Changed
Opportunity: Pinnacle Health Data Migration
Amount: $120,000
Stage: Discovery → Proposal/Price Quote
Owner: David Park
Account: Pinnacle Health Systems
Close Date: Apr 15, 2026
How it works
Regardless of which tool you use, every approach follows the same three-step pattern:
- Detect the change — monitor Salesforce for opportunities whose
StageNamechanged. Flow Builder uses record-triggered automation for instant detection. n8n polls the API on a schedule. The Claude Code skill queries on demand. - Gather context — pull in the opportunity name, amount, stage, account, owner, and build a direct link to the Salesforce record so anyone can click through.
- Alert the team — post a formatted message to a Slack channel with the deal details.
The approaches below differ in latency and setup complexity. Flow Builder gives you real-time alerts with zero external tools. n8n gives you a visual builder with more formatting control. The Claude Code skill gives you conversational flexibility for ad hoc queries.
What you'll need
- Salesforce org with API access (Enterprise, Unlimited, or Developer edition)
- Slack workspace with permissions to add apps or create incoming webhooks
- A clear list of which stage transitions matter (not every minor update)
Which approach should I use?
- Salesforce Flow — native Record-Triggered Flow with the Send Slack Message action. Real-time delivery, zero external tools, no cost. Best for teams who want the simplest setup entirely within Salesforce.
- n8n (Recommended) — visual workflow editor that polls Salesforce for changes. More formatting control than native Flow Builder (full Block Kit support). Self-hostable for free. Best for teams who want rich Slack messages and already use n8n.
- Claude Code — a guided Claude Code skill with workflow guidelines and API references. Ask Claude to check for stage changes conversationally. Best for on-demand checks during pipeline reviews — "what deals moved to Negotiation this week?"
Choose your approach
Select an approach below to see the full step-by-step guide.
Compare approaches
| Approach | Complexity | Cost | Latency | Code | Reliability |
|---|---|---|---|---|---|
Salesforce Flow | low | $0 (included) | real-time | none | 24/7 cloud |
n8n | low | $0-24/mo | polling | low | 24/7 cloud |
Claude Code | low | Usage-based | on-demand | none | On demand |
Salesforce Flow
lown8n
lowClaude Code
lowSalesforce Flow
lowRecord-Triggered Flow on Opportunity.StageName → native Send Slack Message action
n8n
lowSalesforce Trigger node → Filter stage change → Slack message with deal details
Claude Code
lowGuided Claude Code skill — ask Claude to check Salesforce stage changes and post alerts conversationally, or run via Cowork in the background
Related Recipes
How to notify Slack when a Salesforce opportunity over $50K is created
Salesforce + Slack
How to send a Slack alert when a Pipedrive deal changes stage
Pipedrive + Slack
How to send a Slack alert when a HubSpot deal changes stage
HubSpot + Slack
How to request discount approval in Slack for HubSpot deals
HubSpot + Slack
Frequently Asked Questions
Looking to scale your AI operations?
We build and optimize automation systems for mid-market businesses. Let's discuss the right approach for your team.