web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Converting docx to pdf
Power Automate
Answered

Converting docx to pdf

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Trying to create a flow that is triggered when a docx file is created in the path "/Documents/power_automate/email_test/docx" on OneDrive. I want to take that docx file, convert it to a pdf, and move it to the "/Documents/power_automate/email_test/pdf" path on OneDrive, then delete the original docx file. Below is a screenshot of the flow I've created. The flow runs all the way up until the "Create File 2" action. Any help would be much appreciated, thanks.

 

bdupey_0-1680099745866.png

bdupey_1-1680099767970.png

 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,383 Most Valuable Professional on at

    Can you show us the error you are getting?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    I'm not getting any kind of error. The flow ran successfully, but the folder where the PDF is supposed to have been created is empty. See screenshots below. So no errors, but the file isn't converting or, if it is, it isn't being saved to the correct location. 

     

    bdupey_0-1680104445689.png

    bdupey_1-1680104464690.png

     

  • Verified answer
    Pstork1 Profile Picture
    69,383 Most Valuable Professional on at

    The Convert file simply converts the file in memory.  The Create File 2 action is what then saves the new PDF to OneDrive.  I would double check that the file contents for that are actually the ones coming from the convert file 2 action.  Also double check that you are deleting the correct file when you are done.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 641

#2
Vish WR Profile Picture

Vish WR 640

#3
Haque Profile Picture

Haque 495

Last 30 days Overall leaderboard