I'm inserting records in to a custom object from apex and sending an email through workflow email alert, However whenever a update has been performed on the custom object I want to trigger the second email for the same inserted records. I'm planning to create a checkbox and update the field on the record after email is sent so that I can use the checkbox to trigger the email again on update. But I don't see a way to know if the email has already been sent.

Any suggestions are appreciated


2 Answers 2


When using Enhanced Email, sending an email is a triggerable event, but there are some considerations. See https://help.salesforce.com/articleView?id=emailadmin_enhanced_email_considerations.htm&type=5 for more information.


An email send is not a "triggerable" action, so the only way you can set your checkbox field is in your before insert trigger (or as a second item in your workflow rule). You have to assume that the first email was sent.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .