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 / Convert word doc to PDF
Power Automate
Answered

Convert word doc to PDF

(0) ShareShare
ReportReport
Posted on by 12
Hey,
 
I had a previous working from where my flow is triggered by an app, this flow basically fills out a word template, saves it to Sharepoint then converts to PDF to then send as an email attachment. I've previously had this working fine, but I've had to change the save location of the file and now i'm struggling to get this working again.
 
The flow is failing at the convert word doc to PDF function. I've tried getting file properties and using several bits of dynamic content, such as path, file identifier, I've also tried using the dynamic content from the create file but struggling to get this working. I previously had this working with just the 'File name' dynamic content from 'get file properties'. Also tried get file content from path which does seem to get the file content but that throws the error 'the provided workflow action input is not valid'

I'm getting a mix of errors, mainly, the provided workflow action input is not valid or the file isn't found. Does anyone have any ideas to help me here? I really want to avoid using one drive if possible but I've had a solution working consistently on one driver just seems to be a few nuances on Sharepoint I'm struggling to figure out.
 
Thanks
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,757 Most Valuable Professional on at
     
    Can you share a screenshot of your current setup? This will help the troubleshooting.
     
     
    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, LinkedIn, Bluesky profile or Youtube Channel
  • BT-01121050-0 Profile Picture
    12 on at
    Hey sure, screenshot below. The part following the delay of getting file content is the main part II've been playing with experimenting, with getting file properties, getting the content from the file properties etc. Thanks

  • Verified answer
    BT-01121050-0 Profile Picture
    12 on at
     
    My file was nested within a few folders on Sharepoint, i thought i'd tried pulling the dynamic content with the file path but maybe i'd included a space. On the convert to word doc, under the file section my solution now shows:

    /folderA/FolderB/FolderC/>This is where you would insert your dynamic content 'body/Name' from the create file outputs<
     
    Hopefully this helps someone in the future as i've spent more time on this than i care to admit 

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 250 Super User 2026 Season 1

#2
Expiscornovus Profile Picture

Expiscornovus 222 Most Valuable Professional

#3
Haque Profile Picture

Haque 174

Last 30 days Overall leaderboard