Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Word Template to File Content

My flow to send to an online fax service is coming together.  Of course for HIPAA reasons, I need to automate a cover sheet with details.


The action of Populate a Word Template works great and I can even email the file and it shows correctly.


But when I try to include the File Content in an https post it does not work.  As the Word doc output it comes as 17 pages of code.  When the file is saved and converted to .pdf again the file looks right, but the File Content sent is a blank page.


I feel I need to mimic the 'include attachment' when dealing with emails, but don't know how to get to that level for the JSON post.  Any guidance would be appreciated. @SamPo 


Re: Word Template to File Content

I would love to help but would need to see your flow to visulize what you are trying to do and where you are having the problem.  If you could include scrrenshots that would help alot.   thank you

Level: Powered On

Re: Word Template to File Content


Inputs are primarily collected at trigger and used to Populate this Word Template.

WordtoPDF flow.jpgFlow to Populate Word, create file and Convert to PDFPDF in JSON.jpgJSON where file is refereneced and when run successfully identifies it as PDF.

But the properties of the file indicates no Producer.  Not sure how to make it truly a PDF.  Have also tried simply uploading a .docx and not populating one with the same results.

Level: Powered On

Re: Word Template to File Content

I located this link to make the change more on properties.


Although it creates a file with more Adobe properties, it still faxes blank within the flow that created it.


What's interesting is if I use the same fax service to send simply the .pdf that was built as a pick it up and send it the file goes through correctly.  The JSON looks exactly the same for faxing the file content, when it's the built file and when it's the selected file and yet the results vary.  Thoughts?


Cover_Correct.jpgCorrectly sends imageCover_Blank.jpgImage is blank

Helpful resources


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,796)