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
    3,653 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
    3,653 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

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 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard