Configure email and comment notifications

  • Release version: Xanadu
  • Updated August 8, 2024
  • 1 minute to read
  • As an admin, you can add a script to notification and reply templates so that the activity shown in the thread matches the value set in [number_of_activities_in_notification].

    Before you begin

    Role required: admin

    About this task

    You can use the script to update the number of activities shown in any notification and reply template. The case.commented.for.customer and reply-recieved templates are only two examples.

    Procedure

    1. To update comment notifications, do the following:
      1. Navigate to All > System Notifications > Notifications.
      2. In the Email template column, enter case.commented.for.customer.
      3. In the case.commented.for.customer template, add the following script to the Message HTML field: ${mail_script:get_emails_comments_activity_history}, and save.
    2. To update email notifications, do the following:
      1. Navigate to All > Email client templates > Reply.
      2. In the reply-recieved template, add the following script to the Body HTML field: ${mail_script:get_emails_comments_activity_history}, and save.

    Result

    Emails and comments match the value set in [number_of_activities_in_notification].