You are here:
Set Up Email Service for Advanced Approvals
Set up an email service and email service address for Advanced Approvals. When an approver replies to an approval email, your org’s email service allows Advanced Approvals to apply their response to a record. (Salesforce CPQ Managed Package)
Required Editions
| Available in: Salesforce CPQ Summer ‘16 and later with Advanced Approvals 3.1 and later |
- From Setup, enter Email Administration, and then select Deliverability.
-
Make sure that the Access picklist has a value of All email.
This value ensures that approvers always receive approval requests.
-
Define an email service.
- From Setup, enter Email Services, and then select Email Services.
- Click New Email Service.
- For the email service name, enter Approval Services.
- In Apex Class, search for ApprovalEmailHandler, and then select ApprovalEmailHandler.
- In the Accept Email From field, enter the email domains that you want to use, with multiple domains separated by a comma and a space. For example, you could enter gmail.com, yahoo.com.
- Select the Active field.
- In the Failure Response Settings section, select a value of Bounce message for all the action fields.
- Select Enable Error Routing.
- From the Route Error Emails to This Email Address field, enter the email of the Salesforce admin who handles this advanced approvals package.
- Click Save.
-
Next, define an email address to use with your email service.
- From the Email Service: Approval Services page, click New Email Address.
- Provide a name for your email address.
- In the Email Address field, enter a unique name, such as approval_services.
- Select the Active field.
- In the Accept Email From field, enter the email domains that you want to use. We recommend that you enter the same domains that you provided in your email service record.
- Click Save.
-
Connect the email service to Advanced Approvals.
- From the Email Service: Approval Services page, go to your new address and copy the value in the Email Address field.
- From Setup, enter Installed Packages, and then select Installed Packages.
- Find the Advanced Approvals package and click Configure.
- Paste the email address into the Inbound Approval Email (Long) field, then save your changes.
Did this article solve your issue?
Let us know so we can improve!

