Replace data in word template with a text extracted from a pdf

I had a template of a word, and a pdf, the two files have the same structure,
i want to put the pdf data into the world one.

i tryed the following code:

here is the template:

Hello @abdel

You can create bookmark in the word template and the use the Word activities to write to the particular position. Refer to the below video.