function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ragnar Lothbrok 7Ragnar Lothbrok 7 

How to send BELL notification and LINK to opportunity ?

Hello there.

Does anyone have an idea that how can we send the bell notification in Salesforce along with the record link in that. If it is possible please guide me how to do that, if not then why.

Requirements : Oppotunity  Account Owner logs into SF
Received a bell notification with the link to the Opportunity.

Thanks.
SwethaSwetha (Salesforce Developers) 
HI Ragnar,
You can go with custom apex code as mentioned in https://salesforce.stackexchange.com/a/318068/80089

Also see 
https://sfdclesson.com/2021/04/11/trigger_bell_notification_from_apex_code/ But as the ask is whenever a user logins these notifications should trigger ,I believe you have to go with login flow and add an apex invocable method and add the custom notification from it.

If this information helps, please mark the answer as best. Thank you