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 / Novice user - Rename P...
Power Automate
Unanswered

Novice user - Rename PDF file based off text extracted using AI builder Model

(0) ShareShare
ReportReport
Posted on by 15

Hi,

 

I only started using power automate desktop yesterday and have fallen down the rabbit hole of the many different ways i can use it.

i have manage to successful set up a flow to read multiple files names and move the files to folders based on the filename.

ie ABC123_invoice.pdf was moved to the folder ABC123

 

Im looking at doing the next step which to use the Ai builder model, to automatically rename the file based off the information extracted from it. Then move to the folder based of the name.

 

I have created an AI builder model custom form which gets 3 fields off the form. This works successful on the auto made test flow which sent me an email with the 3 fields on information. 

i would like to rename the file "[Field1]_typeofdocument.pdf"

the typeofdocument bit would be static and the same for every file

The field when extracted also has a spaces in the text i would like to remove, if its possible. extract is "ABC 123" change to "ABC123"

 

the ideal solution is

Employee scans document to \\server\scansfolder

The flow would automatically detect  the new file made and rename then move it to the correct location on our server.

 

Below is a screenshot of what i think may be right so far, but im stuck on the renaming part. 

 

QQRhino_0-1665047173396.png

 

Thanks

 

QQRhino

 

 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @QQRhino 

    You can use replace to remove the space from the field. You can use replace(Field1,' ','').

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard