I have a requirement to sent alert to all account in account hierarchy when the child account do something.
I want to send alert to all level(to Parent,Grand parent...)
how to set the recipient?
Thanks,
2 answers
is this in force.com?
you can write a batch job to identify all the accounts that need to be notified, you can use the mass email / email to group for this (https://help.salesforce.com/articleView?id=email_mass_list_parent.htm)
bear in mind that there are governonr loimits on a mass email, so you need to assess whether your proess is likely to brteak those limits, and if the answer is yes, your solution becomes more mcomplciated - you'll have to integrate to an external email server (eg salesforce marketing cloud, MS exchange etc) and trigger the emails