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
MedhanieHabteMedhanieHabte 

Trigger for Opportunity ContactRole to notify Contact Owner of a new Opportunity

Greetings,

I am wondering if there is a way to create an Apex Trigger to notify a contact owner, when an opportunity is created with a primary contact populated in the contact role. We have a template available too, but worst case scenario, I can incorporate the message in Salesforce. 

Hope it helps.