Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

Cannot convert word to pdf.

(0) ShareShare
ReportReport
Posted on by 34

Hi,

 

I am using word template stored in OneDrive and populating the word template with dynamics data.

But I am not able to convert this to PDF either by using convert file or Convert word to pdf actions.

 

The output generated consists of logical names from the template(not the dynamic data)

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Cannot convert word to pdf.

    Hi @PowerAppsUser2 

     

    Were you able to resolve this?

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Cannot convert word to pdf.

    Hey @PowerAppsUser2 

     

    So I see in your screenshot that Create the converted PDF has the 'FileName' (from dynamic selector) and the 12345.pdf. Can you please remove the 12345.pdf and try this. (The reason is, the FileName from the dynamic selector already has the .pdf extension). 

     

    Can you check this and see if you continue to face the same issue?

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • PowerAppsUser2 Profile Picture
    34 on at
    Re: Cannot convert word to pdf.

    Thanks for your prompt response.

     

    Issue is not with the file name. It is with file content.

    File name I am pulling from the ConvertFile action.

     

    As this convert file is not giving me pdf i used another connector just to test.

    pdf3.PNG

     

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Cannot convert word to pdf.

    Hey @PowerAppsUser2 

     

    Can yo share details on: 

    1. Create the converted PDF Action: In the fileName, which dynamic data are you selecting? If you are selecting from the convert PDF action, then you do not need to add the other text over there '123.pdf' as the filename will already be the 'Fornavn_today1.pdf' if it is from the previous action. 

    2. what document are you converting in the 'Coevrt word document to pdf action'?

     

    This is what I was referring to earlier that if it is the same file that is created on the word template then these two actions are simply duplicating and the file name convention is inappropraite as it will have the .pdf.123.pdf(in the point 1)

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • PowerAppsUser2 Profile Picture
    34 on at
    Re: Cannot convert word to pdf.

    posted pictures with points.

  • PowerAppsUser2 Profile Picture
    34 on at
    Re: Cannot convert word to pdf.

    pdf1.PNGpdf2.PNG

  • PowerAppsUser2 Profile Picture
    34 on at
    Re: Cannot convert word to pdf.

    I am not creating the pdf twice. I am using different actions to get the output.

    This is the same flow I used but it is giving me schemanames only

  • v-litu-msft Profile Picture
    on at
    Re: Cannot convert word to pdf.

    Hi @PowerAppsUser2,

     

    Could you please confirm the File name of action Create file 3 whether the output of action Create file 1.0?

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • yashag2255 Profile Picture
    24,442 Super User 2024 Season 1 on at
    Re: Cannot convert word to pdf.

    Hi @PowerAppsUser2 

     

    Please take a look at the screenshot below: 

     

    hdh.PNG

    Note that you do not have to create the PDF file twice. You can replicate the smilar flow in your flow by removing the extra action and get rid of the .pdf from the create file 2 action (the convert to pdf will have the dnamic output for the filename along with the extension)

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • PowerAppsUser2 Profile Picture
    34 on at
    Re: Cannot convert word to pdf.

    Images got upside down. I am able to pouplate word template.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,522 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,890 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow