DocumentTemplateCreateInput
Document template creation data with document-specific configuration.
Extends base template functionality with document-specific fields including file naming patterns, default template designations for automated document generation workflows.
input DocumentTemplateCreateInput {
contents: [LocalizedTemplateContentInput!]!
names: [LocalizedStringInput!]!
customQuery: String
queryVariables: String
fileNames: [LocalizedStringInput!]!
isDefaultOrderPdf: Boolean!
isDefaultQuotePdf: Boolean!
}
Fields
DocumentTemplateCreateInput.contents ● [LocalizedTemplateContentInput!]! non-null input
Handlebars template content for each supported language.
The actual template markup using Handlebars syntax for dynamic content generation, stored per language for localization support.
Validation: Array must not be empty, must contain unique language entries.
DocumentTemplateCreateInput.names ● [LocalizedStringInput!]! non-null input
Localized template names for different languages.
Human-readable names for the template in various languages, used for template identification and management in multilingual environments.
Validation: Array must not be empty, must contain unique language entries.
DocumentTemplateCreateInput.customQuery ● String scalar
GraphQL query for additional data enrichment.
Custom query executed before template rendering to fetch supplementary data not included in the original event payload, enabling rich template content with external data sources.