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 / Renaming Multiple PDF ...
Power Automate
Answered

Renaming Multiple PDF files based

(0) ShareShare
ReportReport
Posted on by 22

I am brand new to POWER AUTOMATE and excited to give it a try!

 

I have a folder of PDF files and they all have a system name, I want to rename all 167 pdf files based on the Name field inside the pdf.  Do I have to open the PDF, copy the name and then save as or is there an easier process to rename multiple files?  I did create an AI form processor that identifies the name I need from the PDF file, how can I implement that?

I have the same question (0)
  • UK_Mike Profile Picture
    on at

    No you dont have to open each file.

    Just extract the text from the pdf, look at the output, if the name field is always in the same position, easy peasy, if not I would recommend regex.

  • PKDonna Profile Picture
    22 on at

    Thanks for your response.  Yes the name is always in the same location.  When I add extract Text from PDF, I do not see where it asks me what to extract...how does it know what field I need from the PDF?  how do I look at the output?

    This is what I have so farCapture.JPG

  • UK_Mike Profile Picture
    on at

    Its in the %extractedpdftext% on the variable pane to the right, double click to view output...

  • PKDonna Profile Picture
    22 on at

    Okay.. I need more help than that.  I need it to extract just a certain field (Name) and use that to rename the PDF file.  As I said, I am BRAND new and this is too simplistic of an answer.  Can you recommend a tutorial that may be able to help?

  • UK_Mike Profile Picture
    on at

    This

     

     

    Screenshot 2022-03-04 200150.png

  • UK_Mike Profile Picture
    on at

    Ps... If you have the same name twice, you cant have 2 exact filenames in the same folder, will need an invoice number or something else to distinguish...

  • PKDonna Profile Picture
    22 on at

    I am not pulling information from invoices... Thanks for the information, but I will continue searching for online help... I don't understand 

  • UK_Mike Profile Picture
    on at

    You quite clearly said the info you required was inside the pdf ?

    I and everyone else are here to help...

    My output from double clicking on the variable I told you about earlier...

     

    Screenshot 2022-03-04 201426.png

  • PKDonna Profile Picture
    22 on at

    Yes, I appreciate your patience.  So from the extracted PDF Text I need information that is on line 134 and that is the data I need to rename the file.   How do I pull that name on line 134 into a variable and use it to rename my file?

  • UK_Mike Profile Picture
    on at

    Split %ExtractedPDFText% like below, the output will be %TextList% , the info you require will be on the line stated within this variable.

     

     

    Screenshot 2022-03-04 203109.png

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 589

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 284 Super User 2026 Season 1

Last 30 days Overall leaderboard