For example, we are scheduling an appointment with a customer. When we send an appointment date and time in the email, the email should display approve and reject button along with the email content. If a customer clicks on the approve button, it means the customer is ready for appointment and it should display approved in the salesforce record and vice versa for the reject button. Is it possible?
Email should display buttons similar to the screenshot as attached, along with the email content.
#Sales Cloud
,
An mid-level way, but faster implementation, is you would have to create a record-triggered flow, classic email using Visualforce, apex controller, Visualforce page and site (to house the visualforce page). Create both buttons in the Visualforce email template and have a redirect link to a site with the Visualforce page. The redirect link to the site should include and pass your recordID and field value you want to update (May also want to consider creating a new text field with a randomly generated Id to pass for security purposes also). Once the user clicks the button, they will be redirected to the site which through the visualforce page/ controller should update the record.
With this way, you'll have to play with the permissions a little bit and work on the site styling also, but should be possible. Let me know your thoughts