Skip to content

EngagementTemplateInput

An engagement template to save.

input EngagementTemplateInput {
code: String!
components: [TemplateComponentInput!]
copiedFromTemplateId: Guid
id: Guid
medium: EngagementMedium!
name: String!
owningEngagementId: Guid
variant: String
}

The template’s code.

The template’s content, one entry for each component.

The template that this one is a copy of. Its attachments are copied too.

The item to update. Omitted: a new item is created.

The medium that the template is for.

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.

marketing.templates.saveEngagementTemplate mutation