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 / Power automate Excel a...
Power Automate
Answered

Power automate Excel automation on every new downloaded excel file when i play it

(0) ShareShare
ReportReport
Posted on by 25

I have created a flow in power automate in which i download excel file from my oracle system, in which i download excel file once a day, but to connect with new downloaded file i have to give path to the specific excel file. 

 

i want automation in such a way that new downloaded excel file automatically open so that i dont have to manual put file path again. i have search following solution which i have applied but error

sksk_0-1697191823368.png

 

 

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    The error indicates that the %Files% variable is empty, because index 0 is out of range (meaning there is no file at index 0 in the list).

    You should check your Get files in folder action and maybe modify the name filter, because it seems to contain a date in the file name, as well as some index (13). Maybe there is no file like that in the directory. That's the most likely issue.

    Also, your file name ends with a dot (.), which is technically impossible. You should add an extension there, or one more wildcard. So, either do '.xlsx', or '.*' at the end of the file name filter.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • sksk Profile Picture
    25 on at

    Thankyou, my problem is solved,

    but i have one more query what if want recently downloaded file whatever the file name is then what should i do. 

  • Verified answer
    Agnius Bartninkas Profile Picture
    Most Valuable Professional on at

    Use Get files in folder on your downloads directory with no filters for file name (have a * in the file name field). Then under the Advanced options apply sorting by Creation time and set it to Descending:

    Agnius_0-1697201723317.png

    This will then return a list of files where the first item (accessible as %Files[0]%) will be the latest file.

    -------------------------------------------------------------------------
    If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.

    I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.

  • sksk Profile Picture
    25 on at

    Thanks Alot 😍 😍

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

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 414

#2
11manish Profile Picture

11manish 335 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard