EngagementTemplate
An engagement template: the content that an engagement sends, for one medium.
type EngagementTemplate { code: String! componentNames: [String!]! created: Instant! editorDocument: String! id: Guid! isArchived: Boolean! isFixed: Boolean! medium: EngagementMedium! name: String! owningEngagementId: Guid updated: Instant! variant: String}Fields
Section titled “Fields”code ● String!non-nullscalar
Section titled “code ● String! ”The template’s code.
The names of the template’s components, such as Subject and Body.
created ● Instant!non-nullscalar
Section titled “created ● Instant! ”When the template was created.
editorDocument ● String!non-nullscalar
Section titled “editorDocument ● String! ”The whole email for the builder to edit. The skin, logo and footer are always current.
id ● Guid!non-nullscalar
Section titled “id ● Guid! ”Unique identifier.
isArchived ● Boolean!non-nullscalar
Section titled “isArchived ● Boolean! ”Whether the template is archived.
isFixed ● Boolean!non-nullscalar
Section titled “isFixed ● Boolean! ”Whether the template is Kaizen’s own, so it is read only. Copy it to change it.
The medium that the template is for.
name ● String!non-nullscalar
Section titled “name ● String! ”The template’s name.
The engagement that this template is a customised copy for. Null: a library template. It is set only when the template is created.
updated ● Instant!non-nullscalar
Section titled “updated ● Instant! ”When the template was last changed.
The copy variant: the kind of message the template is. Generate Copy opens on it.
Returned By
Section titled “Returned By”marketing.templates.engagementTemplate query ● marketing.templates.saveEngagementTemplate mutation ● marketing.templates.toggleArchiveEngagementTemplate mutation

