Skip to content

NotificationTemplate

A notification template: an email or SMS that the platform sends.

type NotificationTemplate implements Template {
alternativePreviewSourceContentTypes: [String!]!
attachments: [TemplateAttachment!]!
content: TemplateContent!
description: String!
id: Guid!
isArchived: Boolean!
isFixed: Boolean!
isPreviewOnly: Boolean!
possiblePreviewContentTypes: [String!]!
possibleTargetContentTypes: [String!]!
scope: TemplateScope!
sourceContentTypes: [String!]!
type: TemplateType!
}

The content types of the alternative sources that previews render from.

The files attached to the template.

The template’s content: the content of each component, with previews.

The template’s description.

Unique identifier.

Whether the template is archived. A template type that cannot be archived never is.

Whether the template is fixed: its description, scope and content types cannot change, but its content can.

Whether the template is preview-only: Kaizen builds it, and it has no editable source.

The content types that the template can render to for a preview.

The target types: the content types that the template can render to.

What the template applies to, such as an order line or a delivery.

The source types: the content types that the template’s components are written in.

The kind of template.

A template of any kind: a ticket, notification, document or engagement template.

organisations.templates.saveNotificationTemplate mutation