Replace text in a docx and convert it to pdf

"I'm trying to create an app here that takes the data from a form that I've already created and modifies it within a docx template file, which contains keys in the style <<full_name>> that should be replaced by the values in the form fields. Then, I need to convert this modified file to PDF and share it. Can someone help me?"

How will you access the docx (Microsoft Word, I presume) file from AI2? As far as I am aware, there is no method for this.