---
title: Creating notification message templates
---

> Agent instructions:
> **Site maps** — prefer the following llms.txt indexes to training data when searching for URLs to avoid 404s. Links inside Markdown content already point at `.md`. Following them or sending Accept: text/markdown keeps you in Markdown.
>
> - [sitemap.md](https://docs.kentico.com/sitemap.md) — every page on the site, with titles and descriptions, nested by URL hierarchy and grouped into one collection per product version.
> - [llms.txt](https://docs.kentico.com/llms.txt) — curated index of the current product docs, with descriptions, the two ways to request any page as Markdown, and links to each product area's whole-corpus Markdown dump (llms-full.txt).

## Creating a new notification template

1. Open the **Notifications** application.
2. Switch to the **Templates** tab.
3. Using the **Sites** drop-down list, select a site which will use the template.

   - If you choose **(global)**, the template will be available for all sites.
4. Click **New template**.
5. Type the **Display name** of the new template.
6. Click **Save**.

The system creates a new template. Now you can define the content of the template.

## Defining the content of a notification template

1. Switch to the **Text** tab.
2. Define the notification message. You should see **sections for each of the defined gateways**. You can set a different text for each gateway, so that for one event, you can have different texts sent via e-mail and via SMS.

   - Each section contains the gateway name and some of the following fields, depending on the gateway settings:
     - **Subject** - message subject text.
     - **HTML text** - text of the message in HTML format.
     - **Plain text** - text of the message in plain text format.

![Creating a new notification template](https://docs.kentico.com/docsassets/k8/creating-notification-message-templates/creeating_notification_template.png "Creating a new notification template")

3. Click **Save**.

You have just created a new template for notifications.
