---
title: "uptimeify_notification_template"
description: "Ressource uptimeify_notification_template: Beispiel, alle Attribute, Import."
---

<Callout>Die Beschreibungen auf dieser Seite kommen direkt aus dem Provider-Schema und sind deshalb englisch.</Callout>

The organization's default Incident Management notification chain (one per organization). It is copied to a user when their personal settings are first created; existing users keep theirs. Destroying switches the template off. Import with any id, e.g. `org`.

## Beispiel

```terraform
# One per organization: the chain new users start with. Existing users keep theirs.
resource "uptimeify_notification_template" "this" {
  rules = [
    { urgency = "high", delay_minutes = 0, channel = "push" },
    { urgency = "high", delay_minutes = 10, channel = "sms" },
    { urgency = "low", delay_minutes = 0, channel = "email" },
  ]
}
```

## Schema

### Pflichtfelder

- `rules` (Attributes Set) The default chain. (siehe [verschachteltes Schema](#verschachteltes-schema-für-rules))

### Optional

- `channels` (Map of Boolean) Delivery switches `push`, `sms`, `voice`, `email` for new users. Unset = on exactly for the channels the rules use.

### Nur lesbar

- `id` (String) Always `org`.
- `updated_at` (String) Last change of the template.

### Verschachteltes Schema für `rules`

Required:

- `channel` (String) `push`, `sms`, `voice` or `email`. `sms` and `voice` wait until the phone number is verified.
- `delay_minutes` (Number) Minutes after the page starts, 0 to 1440.
- `urgency` (String) `high` or `low`.

## Import

Import geht so:

Mit [`tofu import` bzw. `terraform import`](https://developer.hashicorp.com/terraform/cli/commands/import), zum Beispiel:

```shell
# Any id works: the template belongs to the token's organization.
terraform import uptimeify_notification_template.this org
```
