Unlock Hidden Value: Salesforce Integration for Slack Alerts |
Streamline your workflow with Salesforce integration for Slack alerts. Learn how to set up real-time notifications, automate updates, and keep your team instantly informed for faster decision-making.
Salesforce, integration, Slack, alerts
54696
wp-singular,post-template-default,single,single-post,postid-54696,single-format-standard,wp-theme-capri,qode-core-2.1.2,select-core-2.1.2,ajax_fade,page_not_loaded,,capri-ver-3.4, vertical_menu_with_scroll,smooth_scroll,grid_1300,blog_installed,wpb-js-composer js-comp-ver-8.7.2,vc_responsive

Unlock Hidden Value: Salesforce Integration for Slack Alerts

In the same spirit as our blog on maximizing AI features you’re already paying for, we’re continuing our series on leveraging tools you may already be paying for but not utilizing in your Salesforce instance.  There is an out-of-the-box Salesforce to Slack integration for automated notifications.  This automation allows you to send real-time Salesforce alerts directly to specific Slack channels.  Best of all, this automation can be set up without writing a single line of code.

Getting Started: What You Need

This feature is available with Salesforce Enterprise or Unlimited Editions.  The user setting up the automations will need Salesforce System Administrator permissions and Slack Workspace Admin permissions.

Setting Up Salesforce in Slack: The Easy Way

Start in Slack:

  1. Open the Slack App Directory
  2. Search for Salesforce for Slack
  3. click Add, and then select Add to Slack
  4. After confirming the necessary permissions, click Allow, and you’re set.
  5. To connect Salesforce, click Connect
  6. Log in with your Salesforce credentials
  7. Finished with the connection set-up!

Now that Salesforce and Slack are best friends, it’s time to put them to work with a real-world use case.

Creating a Slack Notification for Web Leads
  1. Start by making sure your Slack channel exists—let’s say #salesforce_web_leads. 
  2. Invite the Salesforce Slack integration by typing /Invite @Salesforce for Slack (Alternatively, head to the Channel Setup, go to Integrations, and add it there).
  3. Jump into Salesforce Setup and find Flows
  4. Click New Flow, choose Record-Triggered Flow, and get started. 
  5. Select Lead as the object and set the trigger to fire when a record is created. 
  6. Define your conditions so it only triggers when the Lead Source is set to “Website.” 
  7. Optimize the flow for Actions and Related Records
  8. Make sure to check the box for Include a Run Asynchronously path so Salesforce knows it needs to communicate with Slack.

Now, let’s create the actual Slack message. 

  1. Open the Toolbox
  2. Create a Text Template
  3. Give it a name like New_Web_Lead_Notification. 
  4. Format it to display key details:

If you want to add a link to the record, you need to include the 18 character ID in the the URL. You can do that with a new formula field on the lead and reference it in your URL string. Something like this: Link to record:

With that done, it’s time to tell Salesforce to send this message to Slack. 

  1. In the Run Asynchronously path, 
  2. Click Add Element
  3. Search for “Slack,” and select Send Slack Message
  4. Name it something like New Web Lead Notification and select your workspace. 
  5. In the Slack Message field, add the text template you just created. 
  6. Save the flow—but hold off on activating it.

Testing and Activating Your Flow

Before flipping the switch, let’s make sure everything works. 

  1. Click Debug
  2. Change Path for Debug Run to Run Asynchronously
  3. Select Skip Start Condition Requirements so you can manually test it. 
  4. Pick an existing lead and run the test.

If it posts in Slack, congratulations! Now you can activate your flow and start capturing new web leads in real-time.

Taking It Further

This is just the tip of the iceberg with Salesforce and Slack integration. You can do much more—creating records, updating them, triggering approvals, and automating workflows. The possibilities are endless, and the best part? You don’t need a developer to set it up.

If you want to explore even more ways to optimize your Salesforce investment, EpiGrowth is here to help. We specialize in helping businesses like yours unlock powerful, built-in Salesforce features that streamline operations and boost productivity. Reach out today and let’s make Salesforce work better for you!