How to: Add images to a Word Template using MS Flow
Step 1: Get the bas64 content for the image (while uploading a file in a manual trigger, it by default is of the base64 form and so can be used directly)
Step 2: Initialize a variable of type Object and construct the binary stream for the picture. The content type should be “image/png”.
Step 3: Populate the Word Template: reference the variable to the picture control in the word template and fill up all the other fields as needed.
Step 4: Create a file from the template and save it in the document library. (ensure the “.docx” extension for the filename).
The catch here is the image type content control accepts a jpg/png type file content only and the content needs to be constructed that way in order add the image to that control.
I hope you found this interesting and it helped you.