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 / How to extract text fr...
Power Automate
Unanswered

How to extract text from PDF and replace the file name as extracted?

(0) ShareShare
ReportReport
Posted on by 2

Hi,

How i can automate the tasks by open the PDF file, read the text from a fixed location and rename the PDF file name?

Categories:
I have the same question (0)
  • powercorner Profile Picture
    477 on at

    Hi @Wendy_2021  

     

    you have two questions in your last post. 

     

    The first about reading the text:

    You could use the AI Builder to extract the text from the PDF.
    Like here: Extract text from images or PDF documents using AI Builder Text Recognition | Microsoft Power Automate

     

    The second one about changing the file name:
    There are a lot of ways to do it. You could create a new file based on the old pdf content or you could simply use a http request to change the pdfs name if its in the SharePoint. It really depends on where your file is located? Do you want to upload it when starting the flow?

     

    Tell me more about your purpose.

     

    With regards
    Kevin

  • Wendy_2021 Profile Picture
    2 on at

    Hi @powercorner ,

    I am not sure if the way i ask is correct cause i am quite new to this PAD.

    All my files are located in onedrive.

    Here are my problems:

    Everyday i need to open the PDF files and see what is the document number and rename the PDF file name based on the document number/invoice number stated inside the PDF doc. Any idea/solutions how i can solve this boring tasks? Good thing is, the document number always fixed at top right corner.

  • powercorner Profile Picture
    477 on at

    Hello @Wendy_2021 ,

     

    I am confused now cause you mentioned PAD (which is Power Automate Desktop - the RPA solution of MS).
    Your task is solvable with a usual Power Automate Flow. 


    I assume the document number is on the same position in every pdf document? 

    You can use the AI Builder and teach the model to extract exactly the information you need. 

     

    powercorner_0-1622995521422.png

     

    Have you already started to create your flow? If yes you could show me some screenshots so I can support you better.

    With regards
    Kevin

  • immafrank Profile Picture
    2 on at

    @powercorner Appreciate your response to this question, however. i have the same task, the pdfs are stored in OneDrive, i know i can use power automate flows to extract texts (order_number) from the pdf files, my problem is what flows/triggers will i use to generate a new pdf based on the uploaded pdf and save the new pdf with the "order_number" as file name.  I would appreciate your response. Thanks

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 607

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard