---
schema_version: "1"
id: 8f875da844ca041f5d9e5ff8c3afba05d36eec309f132628d78139aa8c81a1b6
title: Create an Email Template for Appointment Cancellations
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/appointment_self_service_email_cancel.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.appointment_self_service_email_cancel.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0568f2de990202ef867c844a32226b4d4409d1f9541cbeed649e6f7d241bbc46
description: Use a template for consistent messaging when notifying patients about appointment cancellations. Use merge fields to include patient and appointment data.
products:
  - Health
release: "264"
---
# Create an Email Template for Appointment Cancellations

Use a template for consistent messaging when notifying patients about appointment cancellations. Use merge fields to include patient and appointment data.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available in: Lightning Experience</p>
              <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions with Health
                Cloud</p>
            </td>

          </tr>
        </tbody>
      </table> <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d35526e66">User
              Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d35526e66 ">To use self-service appointment scheduling:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d35526e66 ">
              <p>OmniStudio in Lightning Experience Patient</p>
              <p>AND</p>
              <p style="margin-bottom:0;">AppointmentScheduling on Health Cloud</p>
            </td>

          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter Email Templates, then select **Classic Email Templates**.
2. Click **New**.
3. Give your template a name. For example, Appointment Cancellation.
4. Click **Edit HTML Version** and create the content for the email, then save.
    
    Here's an example:
    
    ```javascript
    <html>
          <head>
             <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
             <style type="text/css">
                a{
                    color: #5e5e5e;
                 }
    
                *{
                    font-family: Verdana, Geneva, sans-serif;
                    font-size: 16px;
                 }
             </style>
         </head>
    
         <body leftmargin="0.5" topmargin="0" marginwidth="0" marginheight="0">
             <p style="font-size: 16px; margin: 1em 0 0;">Dear {!ServiceAppointment.CreatedBy},</p>
             <p style="font-size: 16px; margin: 1em 2 0;">We're confirming that you have canceled your appointment scheduled for {!ServiceAppointment.SchedStartTime}. <br/></p>
             <p style="font-size: 16px; margin: 1em 0 0;">Thanks,<br/>Salesforce Health Cloud<p>
             <p> 
                 <img width="100" src="https://seekvectorlogo.com/wp-content/uploads/2017/12/salesforce-vector-logo-small.png"  style="width: 12%"/>
             </p>
         </body>
    </html>
    ```