[SalesForce] Trigger a field Update after email is sent

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

Best Answer

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.

Related Topic