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
sharma_ffdcsharma_ffdc 

Single Click reply to Approval Emails

Currently, to approve any salesforce record through email, you have to reply to approval email using Approved/Yes and it gets approve.

I just want to skip the step of writing "Approved/Yes" for approving records. Instead of this, I would like to create a HTML template and provide some button or link into that. When user will click the button or link, then it should approve that salesforce record ( make sure that button or link doesn't open a new salesforce window).

I don't know whether it's achievable or not, but I would like some positive response for this problem. Can anyone please suggest something ?
Sonam_SFDCSonam_SFDC
Hi,

Did you get a chance to explore Visualforce email template for this purpose - you can create two buttons - approve and reject on the template which can send an email in turn to the salesforce server with a Yes/No instead of the user responding to the approval email..

Worth giving a try!
Giorgio RiccioGiorgio Riccio
Were you able to achieve the single click solution?