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

Notifications

Announcements

Community site session details

Community site session details

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

Converting docx to pdf

(0) ShareShare
ReportReport
Posted on by

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
    68,697 Most Valuable Professional on at

    Can you show us the error you are getting?

  • Community Power Platform Member Profile Picture
    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
    68,697 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard