function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michelle ThomasMichelle Thomas 

Creating a Task Trigger to send an email

I wanted to create a workflow that would send an email whenever a First Meeting task was created. I have found out that that is not possible but also saw that you could create a trigger to do this. When I go to Setup --> Customize --> Activities --> Task Triggers, I do not see anything that allows me to create a New trigger. I am currently using Enterprise version of Salesforce. What is the code for the trigger to work in this scenario?? Any suggestions would be greatly appreciated.

Thanks!
logontokartiklogontokartik
I am not sure if you want to write apex code, if so there are many posts to write a trigger to send email.

But I would also suggest you to look at Visual Flows, which can help you to easily build something like this without writing code. 

Visual Flows
https://developer.salesforce.com/docs/atlas.en-us.salesforce_vpm_guide.meta/salesforce_vpm_guide/vpm_designer_elements_action_email_flow.htm

Task triggers

http://writeforce.blogspot.com/2012/10/sending-email-notification-when.html

https://success.salesforce.com/answers?id=90630000000hdMkAAI