Salesforce: Add Approve/Reject Link in Email template for approval
Sometimes we need to customize the email that goes out to an approver with the record approve link, Where can approver find the link to approve or reject the record.
We can use the Merge field {!ApprovalRequest.External_URL}
or {!ApprovalRequest.Internal_URL}
to add approve link in email template.
Follow below steps:
- In the Available Merge Fields select Field Type as Approval Fields.
- Select Field as Internal Approval URL or External Approval URL.
- Copy and paste the merge field value into your template.
Note: Approval process merge fields can be used in email templates, but not mail merge templates. Because email notifications to a queue aren’t intended for an external audience, any instances of the merge field {!ApprovalRequest.External_URL}
in the email template are sent as the equivalent internal URL.