I have a folder that has a file dropped in there every week and I want my workflow to leverage the newest file without having to manually updating it. The file names are all the same but have the date appended to the end in yyyy-mm-dd format. I was thinking I could use the directory tool and then parse the date out and sort descending and then the newest file is at the top and then I could just use the file in the first cell. Problem is I do not know how to access that file name as a input source to load the spreadsheet as the input tool wants you to select the file. I was thinking about the dynamic input tool but have not been able to figure out how that would work for me. Any guidance would be appreciated.
Sample directory:
Report-2025-04-01.csv
Report-2025-03-25.csv
Report-2025-03-18.csv