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 / move files in sharepoint
Power Automate
Unanswered

move files in sharepoint

(0) ShareShare
ReportReport
Posted on by 4

Hello
need help
I have a folder with many pdf files in Sharepoint that I want to move to another Sharpoint folder

main folder
peter.pdf
markus.pdf

should be moved in ordener
folder Peter

folder Markus

Categories:
I have the same question (0)
  • ChristianAbata Profile Picture
    8,953 Most Valuable Professional on at
  • hikmetjci Profile Picture
    4 on at

    Thanks, but unfortunately that's not what I'm looking for

    my flow works but only if i in condition ( ends with)
    but not (contains)

     

    just want the files to be sorted

    should be searched in the pdf name (188923hik30873.pdf)
    if ( hik ) occurs should be moved or copied to the hik folder

    hikmetjci_0-1647553569259.png

     

  • v-LilyW-msft Profile Picture
    Microsoft Employee on at

    Hi @hikmetjci 

    Has your problem been solved?

    If you want to determine whether the new file name contains a specific string when a file is created in a folder.

    You can take a try to add Get file metadata action, and then determine whether the file name contains a specific string.

    Please refer to below screenshots:

    vLilyWmsft_0-1647932966949.png

    vLilyWmsft_1-1647933006077.png

    To avoid the case problem, you can use the toLower() function to convert the file name to lowercase, and then judge.

    toLower(outputs('Get_file_metadata')?['body/Name'])

    vLilyWmsft_2-1647933690376.png

    Hope the content above may help you.

    Best Regards.

  • hikmetjci Profile Picture
    4 on at

    Hi..

    Thanks

    Now I have no more errors but it does not sort as set

    ????

    hikmetjci_0-1647950489147.png

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

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 840

#2
Valantis Profile Picture

Valantis 661

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard