web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to just get the fi...
Power Automate
Unanswered

How to just get the first file in a folder

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm trying to update a file using the first file in a different folder but unsure about how to grab that first file as it changes everyday in our business. Essentially, we have a current.pdf file that will display a report that is run everyday. Each day, there is a job that moves the report into a file on sharepoint and the goal is to update the current.pdf file with the new file that is added to the folder. 

Categories:
I have the same question (0)
  • Newbie_888 Profile Picture
    2 on at

     

    Below is how I did on mine, since a new file always gets downloaded in the Downloads folder so I just launch and open the 1st file with reference to "Files [0]".  Hope this helps.  

    Newbie_888_0-1714004921256.png

     

  • v-yetonggu-msft Profile Picture
    on at

    Hi @jakehardy95 ,

    I created a flow that will be executed at eight o'clock in the morning on weekdays in the Eastern District.

    It can obtain the contents of the latest uploaded file in the specified folder.

    Please check this test:

    vyetonggumsft_0-1714006330323.png

    FSObjType eq 0
    Created desc

    Best Regards,

    Sunshine Gu

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 323 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 183 Most Valuable Professional

Last 30 days Overall leaderboard