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 / I am using Power Autom...
Power Automate
Answered

I am using Power Automated Desktop and trying to use the 'Read from CSV file' action

(1) ShareShare
ReportReport
Posted on by 106

My CSV file is downloaded automatically from a website, so the file path needs to be dynamic.

However, when I set the file path, I get this error.

"parameter 'File path'* Argument 'File path' must be a file."

What is the correct way to set the file path variable when the csv file is downloaded automatically to the downloads folder?

I have the same question (0)
  • Verified answer
    Haque Profile Picture
    1,947 on at
    Hi @CU10030357-0
     
    Get the full file path including the file name — not just the folder path.
    For example, if the file downloads to the Downloads folder with a dynamic name, you need to build the full path like:
     
    C:\Users\<UserName>\Downloads\yourfilename.csv
    

    If dynamic file names: If the file name is predictable or fixed, just concatenate folder path + file name.

    If the file name changes (e.g., includes timestamp), you can:

    • Use a "Get files in folder" action to list files in the Downloads folder.

    • Filter or sort by creation date/time to find the latest CSV file.

    • Use that file’s full path as the input.


    I am sure some clues I tried to give. If these clues help to resolve the issue brought you by here, please don't forget to check the box Does this answer your question? At the same time, I am pretty sure you have liked the response!
  • CU10030357-0 Profile Picture
    106 on at
    Hi @Haque, Thank you so much. I will try this method.
  • Haque Profile Picture
    1,947 on at
    Hi @CU10030357-0,
     
    I was folloing on this, did try and solve the issue?

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 March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 604

#2
Valantis Profile Picture

Valantis 502

#3
Vish WR Profile Picture

Vish WR 417

Last 30 days Overall leaderboard