Creating an e-mail template for use with approval assignments

When building approval processes for records in Salesforce CRM, it is necessary to specify the users that are to approve the record at each step of the approval process.

To notify these users that an approval request has been assigned to them, an e-mail is sent by the system. Here, you can specify a custom e-mail template to be used when notifying an approver.

In this recipe, we will create an e-mail template that will be used to notify users that an opportunity is at or above a certain amount and at a specified stage and that the record requires their approval to continue through the sales process.

How to do it...

Carry out the following steps to create an e-mail template for use with approval assignments:

  1. Navigate to the new e-mail template creation page, by going to Your Name | Setup | Email | My Templates.
  2. Select the folder My Personal Email Templates.
  3. Click on the New Template button as shown in the following screenshot:
    How to do it...

    Note

    Here, we are presented with the Step 1. Email Template: New Template page.

  4. Choose the Text option and click on the Next button.

    Note

    Here, we are presented with the Step 2. Text Email Template: New Template page.

  5. Choose the Folder option Unfiled Public Email Templates (as shown in the upcoming screenshot).
  6. Select the checkbox Available For Use.
  7. Enter the name of the e-mail template in the Email Template Name field. For this recipe, type the text 100k Deal Review.
  8. Accept the default text X100k_Deal_Review that is automatically set in the Template Unique Name field.
  9. Optionally, enter a description in the Description field.
  10. Enter the subject for the e-mail in the Subject field. For this recipe, type the text 100k Deal Review.
  11. In the Email Body field, enter the following code:
    {!Today}
    
    
    The opportunity, {!Opportunity.Name} for the account {!Opportunity.Account.Name} has an amount > 100k.
    
    The opportunity is pending your review and approval as it is now at stage {!Opportunity.StageName}.
    How to do it...
  12. Click on Save.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.117.158.165