TemplateRenderInput
Input data for template rendering operations.
Contains the dynamic data payload that will be merged with template content to generate personalized messages, documents, or other output formats.
input TemplateRenderInput {
data: JSON!
}
Fields
TemplateRenderInput.data ● JSON! non-null scalar
Dynamic data payload for template variable substitution.
JSON object whose keys are exposed to the template under data: { "name": "World" } renders {{data.name}} as World. The legacy shape that wraps the object in a data key ({ "data": { "name": "World" } }) renders identically, so a top-level data object is always read as that wrapper. When the template has a custom query, its result is exposed under custom.
Validation: Must be a JSON object.
Member Of
documentTemplateRenderToPDF mutation ● emailTemplateRenderAndSend mutation ● templateRenderToHTML mutation