Salesforce + Slack

Connect Salesforce and Slack to Keep Your Revenue Team in Sync

Automatically surface CRM insights, deal alerts, and pipeline updates directly in Slack so your team can act faster without switching tabs.

Why integrate Salesforce and Slack?

Salesforce and Slack are two of the most widely used platforms in modern sales organizations, yet critical deal data too often stays locked inside Salesforce while teams collaborate in Slack. Bridging these two platforms means your reps, managers, and cross-functional stakeholders get real-time CRM context right where conversations are already happening. With tray.ai, you can build flexible automations that keep Salesforce data flowing into Slack — and Slack actions flowing back into Salesforce.

Automate & integrate Salesforce & Slack

Use case

Real-Time Deal Alert Notifications

When a Salesforce opportunity reaches a new stage — Proposal Sent, Negotiation, or Closed Won — tray.ai automatically posts a formatted Slack message to the relevant channel or deal room. Sales managers get instant visibility into pipeline momentum without running manual reports. Reps get timely nudges to take the next best action while the deal is hot.

Use case

Instant New Lead Assignment Notifications

The moment a new lead is created or reassigned in Salesforce, tray.ai sends a direct Slack message to the assigned rep with full lead context — company, source, score, and contact details. This removes the lag between lead capture and first outreach, giving reps a speed-to-lead advantage. You can even include a deep link directly to the Salesforce record for one-click access.

Use case

Churn Risk and At-Risk Account Alerts

When a Salesforce account health score drops, a renewal opportunity goes past due, or a support case escalates, tray.ai can immediately alert the account owner and customer success manager in a dedicated Slack channel. This proactive notification loop gives teams enough runway to intervene before a customer churns. Configurable thresholds mean only the most actionable signals create noise.

Use case

Slack-to-Salesforce Activity Logging

Sales reps often share deal updates, competitive intelligence, or customer feedback in Slack but forget to log any of it in Salesforce. tray.ai can capture specific Slack messages — triggered by emoji reactions, keywords, or slash commands — and automatically create a Salesforce activity, note, or task on the relevant record. The CRM stays accurate without adding extra steps for reps.

Use case

Daily Pipeline Digest and Sales Briefings

tray.ai can aggregate Salesforce opportunity data on a schedule and deliver a formatted daily or weekly pipeline digest to a Slack channel of your choosing. Sales leaders see a snapshot of deals by stage, changes since the last period, and deals needing immediate attention — all without logging into Salesforce. Distributed and remote teams stay on the same page with minimal effort.

Use case

Approval Request and Deal Desk Workflows

When an opportunity needs a discount approval, legal review, or executive sign-off, tray.ai can trigger a structured Slack message to the right approver with all relevant deal details and a direct link to the Salesforce record. Approvers respond via Slack, and tray.ai writes the outcome back to the Salesforce opportunity, updating the record status automatically. No more email chains, no more slow approval cycles.

Use case

New Account and Contact Creation Alerts for Account-Based Teams

When a net-new account or strategic contact is added to Salesforce — particularly those matching an Ideal Customer Profile — tray.ai can notify the account-based marketing or sales team in a dedicated Slack channel. This lets marketing and sales coordinate on outreach strategy before anyone loses the first-mover advantage. Teams can attach enrichment data or intent signals directly to the Slack message for added context.

Get started with Salesforce & Slack integration today

Salesforce & Slack Challenges

What challenges are there when working with Salesforce & Slack and how will using Tray.ai help?

Challenge

Mapping Salesforce Users to Slack Users Reliably

Salesforce and Slack maintain separate user directories, and matching a Salesforce record owner to the correct Slack user ID gets messy at scale — especially when email addresses differ or employees have multiple accounts. Without accurate user mapping, notifications reach the wrong person or fail entirely.

How Tray.ai Can Help:

tray.ai has a flexible data mapping layer that can look up Slack users by email, display name, or a custom lookup table you maintain. You can build a dynamic user resolution step into any workflow that handles mismatches gracefully and falls back to a team channel or manager notification when a direct match isn't found.

Challenge

Avoiding Notification Fatigue from High-Volume CRM Events

Salesforce generates a massive volume of field changes, record updates, and new entries every day. Routing every event to Slack without intelligent filtering quickly overwhelms sales teams and causes important signals to get lost in the noise.

How Tray.ai Can Help:

tray.ai's conditional logic and filtering let you define precise rules about which Salesforce events are worth a Slack notification — filtering by record type, field values, opportunity size, territory, owner, or any combination of criteria. You control the signal-to-noise ratio without writing custom code.

Challenge

Keeping Slack Messages Formatted and Actionable

Raw Salesforce data piped into Slack as plain text is hard to read and easy to ignore. Building rich, interactive Slack messages using Block Kit — with deal context, action buttons, and deep links — requires structured data transformation that goes well beyond simple field mapping.

How Tray.ai Can Help:

tray.ai has native Slack Block Kit support and a built-in data transformation layer, so you can craft highly formatted, interactive Slack messages with dynamic content pulled from Salesforce. No custom middleware or developer time required — just configure your message template in the workflow builder.

Challenge

Writing Slack Actions Back to Salesforce Without Losing Context

Bidirectional workflows — logging a Slack conversation back to Salesforce or capturing an approval decision — require maintaining context between the initial Salesforce event, the Slack interaction, and the write-back step. Losing that context mid-workflow means broken automations or orphaned records.

How Tray.ai Can Help:

tray.ai persists workflow state and payload data across multi-step, asynchronous workflows, so the Salesforce record ID and deal context captured at the start of a workflow are still available when a Slack response arrives minutes or hours later. Reliable bidirectional sync between Salesforce and Slack is straightforward to build and maintain.

Challenge

Handling Salesforce API Rate Limits at Scale

High-frequency Salesforce automations — polling for pipeline changes or querying large datasets for daily digests — can burn through Salesforce API call limits fast, especially in orgs with many active integrations. Hitting those limits causes workflows to fail or delivers stale data to Slack.

How Tray.ai Can Help:

tray.ai manages Salesforce API consumption intelligently by supporting both polling and event-driven triggers via Salesforce Platform Events and Change Data Capture, which cuts unnecessary API calls significantly. Built-in retry logic and rate limit handling keep your Salesforce-to-Slack workflows reliable even in high-volume enterprise environments.

Start using our pre-built Salesforce & Slack templates today

Start from scratch or use one of our pre-built Salesforce & Slack templates to quickly solve your most common use cases.

Salesforce & Slack Templates

Find pre-built Salesforce & Slack solutions for common use cases

Browse all templates

Template

Salesforce Opportunity Stage Change → Slack Channel Notification

Automatically posts a rich Slack notification to a designated channel whenever a Salesforce opportunity moves to a new pipeline stage, including deal name, owner, value, and account details.

Steps:

  • Monitor Salesforce opportunities for stage field changes using a tray.ai trigger
  • Fetch full opportunity and account details from Salesforce via API
  • Format and post a rich Slack message to the appropriate channel with deal context and a CRM deep link

Connectors Used: Salesforce, Slack

Template

New Salesforce Lead → Slack Direct Message to Assigned Rep

Sends an instant Slack DM to the assigned sales rep the moment a new lead is created in Salesforce, including lead score, source, company size, and a one-click link to the record.

Steps:

  • Trigger on new lead creation or lead reassignment event in Salesforce
  • Look up the assigned rep's Slack user ID by matching their email address
  • Send a formatted Slack direct message to the rep with full lead details and a Salesforce record link

Connectors Used: Salesforce, Slack

Template

Slack Emoji Reaction → Salesforce Activity Log

When a sales rep reacts to a Slack message with a designated emoji, tray.ai captures the message content and automatically logs it as a note or activity against the relevant Salesforce record.

Steps:

  • Listen for a specific emoji reaction event on messages in designated Slack channels
  • Parse the message content and extract the Salesforce record identifier from context or a linked URL
  • Create a new activity note or task on the matched Salesforce record with the Slack message content and timestamp

Connectors Used: Slack, Salesforce

Template

Scheduled Daily Pipeline Digest → Slack Sales Channel

Pulls a live Salesforce opportunity report on a schedule and delivers a formatted pipeline summary — including stage breakdown, total pipeline value, and deals closing this week — to a Slack channel.

Steps:

  • Run a tray.ai scheduled trigger each morning at a configured time
  • Query Salesforce Reports API or SOQL for current pipeline data grouped by stage and close date
  • Format the results into a structured Slack Block Kit message and post to the designated sales channel

Connectors Used: Salesforce, Slack

Template

Salesforce Approval Required → Slack Approval Workflow with Write-Back

Routes deal desk or discount approval requests from Salesforce to the right Slack approver, captures their response, and writes the approval decision back to the Salesforce opportunity record.

Steps:

  • Trigger when a Salesforce opportunity approval status changes to Pending Approval
  • Send an interactive Slack message with deal details and Approve/Reject buttons to the designated approver
  • Capture the Slack button response and update the Salesforce opportunity approval status and field values accordingly

Connectors Used: Salesforce, Slack

Template

Salesforce At-Risk Account → Slack Customer Success Alert

Monitors Salesforce accounts and renewal opportunities for risk indicators and sends a proactive Slack alert to the customer success manager and account owner when thresholds are breached.

Steps:

  • Poll Salesforce on a schedule for accounts where health score drops below a defined threshold or renewal date is within a set window
  • Identify the account owner and CSM from Salesforce record ownership and custom fields
  • Post an urgent Slack message to a customer success channel and send DMs to both the owner and CSM with account details and recommended actions

Connectors Used: Salesforce, Slack