Skip to main content

Fill Properties (Word)

Overview

The Fill Properties (Word) node replaces placeholder tokens embedded in a Word (.docx) document with values from the current iteration's workflow properties. The document's formatting, styles, tables, and structure are preserved; only the placeholder text is replaced.

Purpose

Use this node to generate personalized or data-driven Word documents from a template.

Configuration

This node has no configuration fields. Simply connect a Word file as input. At runtime, the node:

  1. Opens the incoming .docx file.
  2. Scans all paragraphs, tables, headers, and footers for placeholder tokens in the format ${propertyName}.
  3. Replaces each token with the current value of the corresponding workflow property.
  4. Emits the updated Word document as output.

Inputs

InputData TypeInput TypeDescription
inputNodeFileNodeFileSingleA NodeFile containing a .docx Word document.

Outputs

OutputData TypeCollectionDescription
outputNodeFileNodeFileFalseA NodeFile containing the updated .docx document with placeholders replaced.

Processing Logic

The node prepares the Word document for variable replacement, builds a variable map from the current iteration and node properties, replaces matching placeholders in the main document and headers/footers, and saves the updated file with the original computed filename.

Placeholder Format

Placeholders follow the same syntax as workflow property expressions:

${PROPERTY_NAME}

For example, a paragraph containing Invoice Date: ${INVOICE_DATE} would become Invoice Date: 2024-06-01 at runtime.

Examples

  • Generating personalized letters or contracts from a Word template
  • Filling in report headers, dates, and reference numbers
  • Creating individual documents per customer or transaction from a single template

Notes / Limitations

  • The input file must be a .docx document.
  • Only placeholders that match available workflow properties are replaced.
  • The node does not provide configuration fields beyond the template file input.
NodeUse When
Fill Properties (Excel)Template is an .xlsx Excel workbook
Fill Properties (PowerPoint)Template is a .pptx presentation