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

Community site session details

Session Id :
Power Automate - Building Flows
Suggested answer

Converting Word to PDF - Dynamic ID not working

(0) ShareShare
ReportReport
Posted on by
Hi, 
I am creating a flow that takes names out of a spreadsheet, populates them into a word template, saves the template in SharePoint, converts the word document to a pdf and then send the pdf in an email to the respective person. 
 
I am having difficulty with the conversion to PDF step. I tried using the dynamic id and dynamic path and continue to get an error stating the selected file doesn't exist. 

I have tried the following trouble shooting: 
  • I tried composing a path using this code: 
concat('/', join(skip(split(outputs('Create_file')?['body/Path'], '/'), 2), '/'))
  • Adding a delay in between the certificate file being created and the pdf conversion
  • Building a file path using the dynamic naming of the document
  • Adding the Get file command and flow 
The only thing I can think of is that the create a file step allowed me to go to the file folder, while the convert to word option only allowed me to select the general library, but either way, I would think the dynamic id would provide that information. 
 
Any ideas are great! 
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    50,678 Super User 2025 Season 2 on at
    Converting Word to PDF - Dynamic ID not working
     
    2 things
     
    1. Create File in SharePoint can take up to 10 minutes
    2.  use the identifier dynamic property not id
     

    If these suggestions help resolve your issue, Please consider Marking the answer as such and also maybe a like.

    Thank you!
    Sincerely, Michael Gernaey
  • Suggested answer
    chiaraalina Profile Picture
    646 on at
    Converting Word to PDF - Dynamic ID not working
     
    You can use:

     
    /@{outputs('Create_file')?['body/DisplayName']}
     
    Make sure Document Library and Folder etc. are the same as in your Create file action.
     
    Let me know if it worked!

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Tom Macfarlan – Community Spotlight

We are honored to recognize Tom Macfarlan as our Community Spotlight for October…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 741 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 504 Moderator

#3
developerAJ Profile Picture

developerAJ 374

Last 30 days Overall leaderboard