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
AB003AB003 

Trigger for Escalating Lead and sending an email

Hi All,

 

I want to write a trigger for future run. Whenver lead is created and if it is not followed up for 24 hours, a triggers should fire sending an email to certain users that lead is not followed up with a template.

 

Condition:

 

when lead owner is not changed from the queue to a user when lead age is more than 24 hours and less than 36 hours,a email needs to fire.

 

Can anyone have any kind of sample code? This trigger will fire in future.

 

Thanks

Abhishek

Abi V 4Abi V 4
Even i am looking for the same solution.Please post me if there are any ideas