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 / Download and rename files
Power Automate
Unanswered

Download and rename files

(0) ShareShare
ReportReport
Posted on by

Hello guys!

 

I am performing an automation for extracting reports in csv format. It happens as follows: I have an excel workbook that contains two columns, one contains the report download link and the other contains the name of each report.

 

I need to go through each row of both columns, so I first access the link that is in the first column, the download is done and then I need to rename the file with the name that is stored in the second column of excel.

 

I cannot provide the workbook with the link due to the confidentiality of the information handled, but below I leave an example of how it is structured:

 

LINK

NAME

www.example1.comName1
www.example2.comName2
www.example3.comName3

 

I was able to download the files using "for each", but I tried in several ways and I couldn't rename the files.

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

    After you download the file, that will be the most recent one in that folder.

    So read the files of that folder using Get files in folder which has an option to sort it using the date-time.

    The latest one will be the first one %Files[0]% when you sort it in the correct order.

     

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard