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
salesforce sfdxsalesforce sfdx 

Hi Team, Need one suggestion for public group users

Hi Team 
1.Added 3 users say user1, user2, user3.
2. created a record Trigger flow.
3.How to use the public group users add to recipients to send the email in Send Email action.
Please suggest any links or references
Thanks 
Prathusya Reddy
VinayVinay (Salesforce Developers) 
It depends on your requirement on how do you want to use public group users.   You can create group and add users to public group list and use in custom build logic.

Check details on Public Group Considerations below.
https://help.salesforce.com/s/articleView?id=sf.user_groups_considerations.htm&type=5

Please mark as Best Answer if above information was helpful.

Thanks,
Shri RajShri Raj

Create a public group in Salesforce that includes the users you want to add as recipients (user1, user2, user3).
In your flow, add a Send Email action to the desired point in the flow.
In the To field of the Send Email action, select the "Add dynamic recipient" option.
In the "Add dynamic recipient" window, select the "Group" option and select the public group that you created in step 1.
Continue configuring the rest of the Send Email action as desired, such as setting the subject, body, and any attachments.

 

https://help.salesforce.com/articleView?id=flows_defining_flow_email_actions.htm&type=5