Recently I found a way to dynamically update Microsoft Word text placeholders with PowerShell script. Because DOCX files are ZIP archive we can extract to a TEMP folder to update the internal XML document text. From there, bundling to a new ZIP archive and renaming DOCX enable us to deliver the final DOCX version to users.
Below is a demo with full source code. Cheers!