Loading
Manage Your Quotes with CPQ
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Up Advanced Approval Email Templates

          Set Up Advanced Approval Email Templates

          Create a Salesforce email template and link it with an Advanced Approvals email template record. Your advanced approval process sends this email in response to a request, rejection, recall, or approval. (Salesforce CPQ Managed Package)

          Required Editions

          Available in: Salesforce CPQ Summer ’16 and later with Advanced Approvals 3.1 and later

          Your approval rule contains lookup fields for request, approval, rejection, and recall emails. We recommend creating email templates for all four and assigning them to your approval rules. We’ll walk through setting up a request email, but you can follow the same steps for your rejection, recall, and approval. All you have to change are their names and the Salesforce email’s text.

          1. Create a Salesforce email request template.
            1. From Setup, in the Quick Find box, enter Communication Templates, and then select Classic Email Templates.
            2. Select New Template.
            3. Select Visualforce as the email template type, and then click Next.
            4. Enter your email template information. For this example, we’ll use “Request Template.”
            5. Choose the folder where you want to store your email template.
              Make sure that the folder is publicly accessible if you want your email template to be publicly accessible.
            6. Select Available For Use.
            7. Enter your email template name and template unique name.
            8. Choose your encoding, description, and email subject, and then set User as your recipient type.
            9. Set Related To Type to sbaa__Approval__c, and then save your changes.
            10. In your template, click Edit Template to add the text and any markup that you want to show in your approval email. The email template must contain a reference to the ID of your approval record. The reason ID must be at the top of the template.
              Because users don’t have to see this code, you can add style tags so that the text doesn’t appear on the approval email. We recommend styling the code’s text color as white, because most emails have a white background color. Write your code as follows: <p style="color:white"><apex:outputText value="{!relatedTo.ID}"/></p>
            11. Repeat this process for your rejection, approval, and recall templates.
          2. Create an Advanced Approval email template record.
            1. In your email templates object, click New.
            2. Enter your email template name.
              Because you’re connecting this approval template to the template you made in Step 1, you can name it “Approval Request Template.”
            3. In the Template ID field, enter the ID of the Salesforce request template you made in Step 1.
              You can find the ID by going to your Salesforce approval request template, finding the URL in your browser, and copying the string of numbers and letters after salesforce.com/.
            4. Click Save.
           
          Loading
          Salesforce Help | Article