Model A is parent of Model B and Model C.
Model C has a lookup to another object, which includes an email field. Let’s call this Model_C_Email_Lookup__r.Email__c.
When a record is created in Model B, I want to automatically send an email with data from Models A and B, to all the rows in Model C, where the Model_C_Email_Lookup__r.Email__c is the TO field.
I tried workflows and lightning processes, but they both require me to create an SFDC “Email Alert” on the same object that the process/workflow runs on. And from that object (Object B), there’s no way for me to access (in the SFDC email alert) the Email Field in the related model, at least not that I can tell.
I don’t want the user to have to do anything… this should happen automatically.
Is this impossible? Does this require a foray into apex triggers? Can I set up the standard email URL hack to send automatically? Is there some kind of external email solution I can plug into?
Thanks for the pointers!
Question
Send email where to address is email field in related model?

This topic has been closed for comments
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.