Send Email to Members/Users in the Public Group using Record Trigged Flow #inSalesforce

Send Email to Members/Users in the Public Group using Record Trigged Flow #inSalesforce

                                                                           Overall:



                     Create a text collection variable named Email Addresses to store the Email Address:


If the Case Subject contains Urgent and the Subject is changed, this flow should get triggered :


Get the Group Name (Don't Hardcode) :
Here DeveloperName equals EMEA_Group


Get the Group Members belonging to that Group :
GroupId equals {!getPGId.Id}


Get the Active Users :
IsActive equals True


Do a null check on the Group Members :
{!getGMs} isnull False


Loop Through Group Members :
{!getGMs}


Collection Filter -  {!getAllUsers} - If  - Id equals{!loopOnGMs.UserOrGroupId} :

Loop Through {!filterUsers}: 

Assignment:
Assign {!EmailAddresses} equals {!loopThroughCollection.Email}

Action: Send Email : 


Debug the Flow :









Comments