Updated on 2024-10-12 GMT+08:00

Configuring Notification Templates as an Administrator

A tenant administrator can configure notification templates to reference when sending common notifications.

Before deleting an SMS or email notification template, ensure that the template is not used by other businesses. Otherwise, the configured businesses will become invalid.

Determine the notification template application scenario based on the actual business configuration. The involved scenarios are as follows:

Context

  • Variables can be inserted into notification templates. You can configure some variables in advance. For details about how to configure variables, see Configuring Variables.
  • An administrator can directly reference configured notification templates when sending notifications.

Procedure

  1. Sign in to the AICC as a tenant administrator and choose Configuration Center > Workbench Configuration > Notification Template.

    Figure 1 Notification Template

  2. Create an SMS notification template.

    1. Click New. The Creating a Notification Template page is displayed.
      Figure 2 Creating a Notification Template - SMS
    2. Configure basic information.
      • Channel Type (mandatory): Select a notification sending type.
      • Template Name (mandatory): Enter a customized notification template name. The value can contain a maximum of 200 characters and cannot contain special characters. The template name must be unique.
      • Notification Type (mandatory): Select a notification template type. The options are Internal Notification and External Notification.
      • Home Organization: Select the OU to which a notification template belongs.
    3. Configure the notification content.
      • Recipient: Select recipients. The value can contain a maximum of 4000 characters.
      • Template Type: Select an SMS notification template type. The options are HUAWEI CLOUD SMS Messages and SMS Gateway.
      • HUAWEI CLOUD Template ID, Signature Name, and Signature Channel ID: Set these parameters when Template Type is set to HUAWEI CLOUD SMS Messages. You need to enable and log in to Huawei Cloud, enable the SMS message sending service, and obtain the Huawei Cloud template ID, signature name, and signature channel ID.
      • Number of Variables: Enter a value ranging from 1 to 10. Set this parameter when Template Type is set to HUAWEI CLOUD SMS Messages.
      • Set Variable: Click to add a variable and set the following parameters:
        • No.: Enter a variable No. The value is a positive integer.
        • Type: Select a variable type. The options are PHONE, DATETIME, CHARDIGIT, and MONEYTEXT.
        • Description: Enter a variable description. The value can contain a maximum of 50 characters.
        • Default Value: Enter a default variable value.
          • For the PHONE type, the value is a number of 1 to 15 digits.
          • For the DATETIME type, the date format is yyyy-MM-dd, and the time format is HH:mm:ss.
          • For the CHARDIGIT type, the value is a string of 1 to 20 digits and letters.
          • For the MONEY type, the value is a number of 1 to 20 digits. Only digits and decimal points that can properly express the amount can be passed.
          • For the TEXT type, the value is a string of 1 to 20 characters and cannot contain the following special characters: .{}

  3. Create an email notification template.

    1. Click New. The Creating a Notification Template page is displayed.
      Figure 3 Creating a Notification Template - Email
    2. Configure basic information.
      • Channel Type (mandatory): Select a notification sending type.
      • Template Name (mandatory): Enter a customized notification template name. The value can contain a maximum of 200 characters and cannot contain special characters. The template name must be unique.
      • Notification Type (mandatory): Select a notification template type. The value can only be Internal Notification.
      • Home Organization: Select the OU to which the notification template belongs.
    3. Configure the notification content.
      • Recipient, Cc, and Bcc: Select recipients, Cc recipients, and Bcc recipients.
      • Title: Enter a notification template title. The value can contain a maximum of 200 characters.
      • Attachment: Click and select a local file to add it to the email as an attachment. The file must be a DOC, DOCX, XLS, XLSX, TXT, PNG, JPG, XML, JSON, CSV, BMP, ZIP, PPT, or PPTX file whose size is less than 10 MB. A maximum of 10 files can be uploaded.
      • Template Content: Enter the notification content.

  4. Create an internal message notification template.

    1. Click New. The Creating a Notification Template page is displayed.
      Figure 4 Creating a Notification Template - Internal Message
    2. Configure basic information.
      • Channel Type (mandatory): Select a notification sending type.
      • Template Name (mandatory): Enter a customized notification template name. The value can contain a maximum of 200 characters and cannot contain special characters. The template name must be unique.
      • Notification Type (mandatory): Select a notification template type. The value can only be Internal Notification.
      • Home Organization: Select the OU to which the notification template belongs.
    3. Configure the notification content.
      • Recipient: Select recipients.
      • Title: Enter a notification template title. The value can contain a maximum of 200 characters.
      • Template Content: Enter the notification content.

  5. Click Save.