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
RAMANJINEYULU GOGULARAMANJINEYULU GOGULA 

Is there any way to send an email to the user after creating lead and if there is no activity up to 20 minutes under that lead??

Suraj PSuraj P
Create a workflow rule, that gets triggered when a lead is created, if the lastactivitydate field on the lead is blank. Set a time based action to fire after 20 minutes from the lead creation time. This will work if you are talking about closed activities. If you want the email to not be triggered, even if someone creates an open activity against the lead, use a process builder. 


 
Rakesh51Rakesh51
1. Create a Process on Lead object and trigger it only when Lead is created
2.For Criteria select None
3. Use Scheduled action (Minimum you can set 0 or 1hrs) after LastActivityDate. if you select 0 hr it means Process will fire within 5-10 mins
4. Then use email alert action