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 / Power Automate a Word ...
Power Automate
Answered

Power Automate a Word Template to PDF

(1) ShareShare
ReportReport
Posted on by

Inkedpowerautomate_PDF connector_LI.jpgInkedCapture_LI.jpg

I cannot get my flow to run properly.

 

I am trying to create an item in list-->populate a MS Word Template-->create file in SharePoint-->convert Word Document to PDF--> save to SharePoint.

 

My flow works until the PDF step. I am trying to use dynamic content in the word template, and save that word template as a PDF. (Error: Action 'Convert_Word_Document_to_PDF' failed Error Details: The selected file doesn't exist, please select a valid file and drive.)

 

I have attached a photo to my flow. Please help, i have tried every option for the file path. 

 

Categories:
I have the same question (0)
  • AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi @Anonymous 

     

    Try adding a delay between the "Create File" action and the "Convert Word Document to PDF".

     

    Let me know if that helps. 

     

  • Community Power Platform Member Profile Picture
    on at

    @AnthonyAmador I am still getting an error "The selected file doesn't exist, please select a valid file and drive" after adding the delay. I have attached another image of my flow. I appreciate your help 🙂 capture115.PNG

  • Paulie78 Profile Picture
    8,422 Moderator on at

    Your word document needs to be in OneDrive, not SharePoint.

  • OliverR-82 Profile Picture
    619 on at

    Hi @Paulie78 ,

    That is not true, the fill in word template and convert word to pdf actions work with files in both OneDrive and SharePoint.

     

    I've used those actions in a flow some time ago and I remember getting the same error. The solution was really simple. I'll look up my flow later and come back to this topic if someone else hasn't already offered the solution by then.

  • Community Power Platform Member Profile Picture
    on at

    @OliverR-82 Thanks so much! I am trying to stay in SharePoint if possible. I have been working on this flow for days and cannot figure out this error. Any help you can provide is appreciated. 

  • Verified answer
    AnthonyAmador Profile Picture
    2,553 Moderator on at

    Hi @Anonymous 

     

    I think the action should look like this. 

    AnthonyAmador_0-1636123813524.png

    In the file input, add the name of the file not the path. 

    Let me know if that works. 

     

    Kind regards. 

     

  • Community Power Platform Member Profile Picture
    on at

    Yay this worked!

  • DC-14111813-0 Profile Picture
    5 on at
    Thank you @AnthonyAmador!  I spent hours on chatGPT trying to resolve this before coming across your post.  I am eternally grateful.

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard