EngagementTemplateInput
An engagement template to save.
input EngagementTemplateInput { code: String! components: [TemplateComponentInput!] copiedFromTemplateId: Guid id: Guid medium: EngagementMedium! name: String! owningEngagementId: Guid variant: String}Fields
Section titled “Fields”code ● String!non-nullscalar
Section titled “code ● String! ”The template’s code.
components ● [TemplateComponentInput!]listinput
Section titled “components ● [TemplateComponentInput!] ”The template’s content, one entry for each component.
The template that this one is a copy of. Its attachments are copied too.
id ● Guidscalar
Section titled “id ● Guid ”The item to update. Omitted: a new item is created.
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.
The copy variant: the kind of message the template is. Generate Copy opens on it.

