SOLVD BLOG

How to Send Salesforce Bell Notifications via a Flow

Salesforce bell notifications are a powerful way to keep users informed and engaged directly within the platform. Triggering these notifications from Salesforce Flows can automate important alerts, keeping your business efficient and your users productive. This guide will show you how to set up bell notifications using a flow, specifically in a scenario where users attempt to update a closed Case.

Understanding the Scenario

Suppose you want to alert a Case owner every time someone tries to update a Case that has already been closed. Instead of relying on email or external messaging, using Salesforce’s built-in notification system ensures users receive timely updates within the Salesforce app.

Step-by-Step: Setting Up Bell Notifications in a Flow

1. Create a Custom Notification Type

  • Navigate to Setup.
  • Type Notification into the Quick Find box and select Custom Notifications.
  • Click New and provide a NameAPI Name, and select your notification channels (ensure “Bell” is selected).
  • Save your custom notification type. You’ll reference this in your flow.

2. Build Your Flow

  • Create a Record-Triggered Flow and choose the Update trigger.
  • Set the entry criteria to target Cases where the status is Closed. This ensures your flow only runs when someone updates a closed Case.

3. Query for the Notification Type

  • Add a Get Records element to retrieve the custom notification type you created. Use the API name as your filter.

4. Set Up Recipients

  • Create a variable to store recipient User IDs. For this scenario, assign the Case Owner’s ID to this variable.

5. Add the Custom Notification Action

  • In the Flow, search for the Send Custom Notification action and drag it into your canvas.
  • Fill out the following fields:
    • Notification Type ID: The ID from your earlier Get Records element.
    • Title and Body: Use text templates to personalize these fields—such as including the Case number.
    • Target ID: Set this as the Case ID so users can click the notification and be taken directly to the relevant Case.
    • Recipient IDs: The variable containing the owner’s User ID.

6. Test Your Flow

  • Activate the Flow.
  • Test by editing a closed Case and saving changes. The bell icon in Salesforce should display a new notification, which, when clicked, routes the user directly to the updated Case.

Benefits

Using Salesforce in-app notifications ensures users stay informed without having to leave the platform or rely on external emails. This helps keep workflows streamlined and increases productivity for your teams.

At SOLVD.cloud, we help clients unlock the full power of Salesforce automation. If you’re looking to enhance your Salesforce org and drive better processes, this method is a great starting point.

yellow cloud solvd logo
Testimonials

Our clients say

From my initial call with Spencer through project implementation with John and Evan, my experience with the SOLVD team was excellent. They were quick to understand our business needs, clear when explaining the reasoning behind proposed solutions, transparent when reporting on progress and timeline, and all around enjoyable to work with. Would highly recommend and looking forward to continue working with them in the future!

Veronica Wong Director of Operations at Pathstream

SOLVD was very straight forward with everything needed to complete the project. No surprises, no issues, and cost was aligned with the estimate. They made implementation easy and quick.

Matt Benzaquen Sr Manager, Sales Strategy at Instabug

As a rule, I'm pretty stingy with my recommendations. So it's a pleasure for me to recommend Solvd as a top-flight Salesforce consultancy. Solvd recently led our company's conversion to the Lightning interface and did it on time, on budget and made it easy for me and my team. I know I'll use their services again, and am confident they can do the same for you.

Tim Tuttle CFO at Relevate Health Group

HIGHEST RATED ON SALESFORCE