Skip to main content

EmailTemplateCreateInput

No description

input EmailTemplateCreateInput {
contents: [LocalizedTemplateContentInput!]!
names: [LocalizedStringInput!]!
customQuery: String
queryVariables: String
subjects: [LocalizedStringInput!]!
from: EmailSenderInput!
tos: [EmailContactInput!]
ccs: [EmailContactInput!]
bccs: [EmailContactInput!]
}

Fields

EmailTemplateCreateInput.contents ● [LocalizedTemplateContentInput!]! non-null input

Uploaded handlebars template content, per given language

EmailTemplateCreateInput.names ● [LocalizedStringInput!]! non-null input

The name of the template per given language

EmailTemplateCreateInput.customQuery ● String scalar

GraphQL query to be executed before rendering the template to fetch additional data not in the original event payload.

EmailTemplateCreateInput.queryVariables ● String scalar

Variables that are use in the custom query, can use handlebars variables. Has to be a valid JSON string after rendering

EmailTemplateCreateInput.subjects ● [LocalizedStringInput!]! non-null input

Subject for the email per given language, supports handlebars variables

EmailTemplateCreateInput.from ● EmailSenderInput! non-null input

From EmailContact for the email

EmailTemplateCreateInput.tos ● [EmailContactInput!] list input

To EmailContacts for the email

EmailTemplateCreateInput.ccs ● [EmailContactInput!] list input

CC EmailContacts for the email

EmailTemplateCreateInput.bccs ● [EmailContactInput!] list input

BCC EmailContacts for the email

Member Of

emailTemplateCreate mutation