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 / Power Automate trying ...
Power Automate
Unanswered

Power Automate trying to convert from HTML to PDF

(0) ShareShare
ReportReport
Posted on by 1

I am trying to convert HTML files to PDF using Power Automate. I want an automated flow to trigger when a HTML file is created in a folder on Sharepoint and then convert that file to PDF and save in another folder in Sharepoint. My flow is as below:

 

Hurricane35_0-1687340037078.png

When I test the flow it always fails at the convert file step with the below error, any ideas what is causing the issue?

 

Hurricane35_1-1687340322733.png

 

  

Hurricane35_2-1687340363050.png

 

Categories:
I have the same question (0)
  • OneSleepyPanda Profile Picture
    17 on at

    Hey @Hurricane35 

     

    The OneDrive for Business connector is going to look for that document id in the OneDrive for the account selected under "My Connections" when you select the ellipsis on the action. Since the file is in sharepoint, the connector can't see it.  However, you can use the SharePoint copy file action to copy the file to a location in the OneDrive for the account you're using since OneDrive is just SharePoint Under the hood.

     

    When you configure the Copy File action, in the destination field, enter the url for the onedrive you want to use. Then use the "Convert file using path" action instead of "Convert File" and use the Name parameter from the copy file action. 

    OneSleepyPanda_0-1687357207500.png

     

    The rest of your flow should work as configured. 

     

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
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard