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 / Rename multiple downlo...
Power Automate
Unanswered

Rename multiple downloaded files from web then move to specific folder

(0) ShareShare
ReportReport
Posted on by 30

Related to issue: Using Excel data to populate web text field 

@VJR 

I think I understand the variables a lot better now and how to use it. I really appreciate the help with this! I have another variable that I am going to add which is %FileName%. Once, all the actions are completed and file is downloaded. File will be in download folder and file needs to be renamed and moved to particular destination. Then loop back through the same actions for all other JRPB account numbers to download, rename file, and move file. Until there is no more JRPB accounts to download.

 

The actions I took: 

 

- Created new list %FileName%

rhawkins10701_0-1636213946999.png

 

 

- Then under the 1st nested action I use Add item to list action CurrentItem ['File Name'] to list %FileName%

(I had to keep space in order for PAD to read column name and it worked!) 

rhawkins10701_1-1636213946941.png

 

 

See example of data below.

 

Client CodeAccount NumberFile Name
JRPB1234ABCD
JRPB5678EFGH
JRPB1111IJKL
JRPB2222MNOP

 

Currently the first account number and file is renamed and moved to folder. Which is perfect! When actions loop back around for the second account number (5678) file is named ABCD again and doesn't move to designated folder since file name is already there. See actions below. 

 

- I created another for each action for each file name. But currently when it runs, it doesn't go to the next file name on list.

 

rhawkins10701_2-1636213946911.png

 

 

 

I need account number 5678 when selected to name file EFGH.  Need each file to be renamed from the corresponding account number that was downloaded. I did an exit loop because I didn't want it to loop until the first actions to download file is done. 

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Hi @rhawkins10701 

     

    The Exit loop is causing the problem of picking up the first file name every time.

    You need to remove the exit loop.

     

    All your actions (download, rename file, and move file) will need to be inside this loop.

     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 463

#1
Valantis Profile Picture

Valantis 463

#3
11manish Profile Picture

11manish 264

Last 30 days Overall leaderboard