Skip to main content
transform.template, Fill a DOCX template with data. Use list_templates tool to get template IDs and their placeholder schemas.

Configuration

Configuration goes inside the step’s with: block.
templateId
string
required
ID of the template from templates table
data
record<string, unknown>
required
Data object to merge into template. Each key must be explicitly defined - cannot pass a whole object as single expression
outputFilename
string
Output filename - supports {{field}} syntax
highlightNotFound
boolean
default:"true"
Highlight missing variables with red-colored text in the output document
notFoundText
string
default:"NOT FOUND"
Text to display for missing variables when highlightNotFound is enabled

Output

File ID from files table