beginner25 minutes3 min read

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.

How to send a Slack alert when a Salesforce deal changes stage

This recipe includes a downloadable n8n template and Claude Code skill.

Workflow

Opportunity stage changes
Filter relevant stages
Post Slack alert

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.

What you'll get
#sales-alerts
Salesforce Botapp9:41 AM

🔄 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

View in Salesforce →

How it works

Regardless of which tool you use, every approach follows the same three-step pattern:

  1. Detect the change — monitor Salesforce for opportunities whose StageName changed. Flow Builder uses record-triggered automation for instant detection. n8n polls the API on a schedule. The Claude Code skill queries on demand.
  2. 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.
  3. 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

Prerequisites
  • 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

Salesforce Flow

low
Cost: $0 (included)
Latency: real-time
Code: none
Reliability: 24/7 cloud

n8n

low
Cost: $0-24/mo
Latency: polling
Code: low
Reliability: 24/7 cloud

Claude Code

low
Cost: Usage-based
Latency: on-demand
Code: none
Reliability: On demand

Salesforce Flow

low

Record-Triggered Flow on Opportunity.StageName → native Send Slack Message action

Cost: $0 (included)View guide

n8n

low

Salesforce Trigger node → Filter stage change → Slack message with deal details

Downloadable templateView guide

Claude Code

low

Guided Claude Code skill — ask Claude to check Salesforce stage changes and post alerts conversationally, or run via Cowork in the background

Downloadable skillView guide

Related Recipes

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.