I started with a WFR on the custom object, but have found that the email alert only goes out after both the Opportunity record is marked closed and the custom object record is edited (in any way). Is there a more appropriate declarative automation that I might use here? I started working on a PB but didn't get very far.
1 resposta
There are a couple ways you could do this. I would invoke an autolaunched flow when an Opportunity Closes. In flow, you can query the related Record and send out email alerts to anyone who needs them.
What is the purpose of your custom object? Another route you could take is use Process Builder to update a custom field on the related object, designating the stage of the Opportunity. Then, build a Process Builder on the custom object this is trigged when the record created is edited or edited. Your criteria would be Custom Field = Closed Won or Custom Field = Closed Lost, with the immediate action to send an email alert.