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
HasmikHasmik 

email alerts through flow

Hi, 
I'm new to Salesforce and i need to send email alerts to all selected Custom Object email adresses from list view. I created a Button that will run a flow that send email alert but i have an issue. The email alert should be selected by the user before sending it to the email adresses but in flows I need to manually select the alert template when i create the alert. Is it possible to create alerts based on templates specified by user with flow screen? 
Best Answer chosen by Hasmik
VinayVinay (Salesforce Developers) 
Hi Hasmik,

Below are 2 options for sending emails from a flow.

> Email Alert element
https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_emailalert.htm&type=5

> Send Email element
https://help.salesforce.com/s/articleView?id=sf.flow_ref_elements_actions_sendemail.htm&type=5

I dont think you can create alerts based on templates mentioned by user.

Check below examples and modify as per your requirement.
https://salesforce-flowsome.com/flow-how-to-send-emails/
https://www.codekiat.com/2022/04/salesforce-lightning-flow-email-alert.html

Please mark as Best Answer if above information was helpful.

Thanks,