Hello!
I am trying to get Alteryx to dynamically combine the last month of daily .txt files into one monthly file.
Each day, a report is automatically dropped into a folder. This folder holds daily files from an entire year (so, a rolling 365 files always). I need to look at July 2020's daily files and combine them into one "monthly" file. I will need to do this for every month going forward. My goal is to automate this process on the 1st day of every month. So, on September 1, alteryx would automatically create this monthly file for August.
For example, the 7/1/2020 file name would look like "Report_20200701_to_20200701.txt" (I did not choose this name and can't change it unfortunately). The date in the file name will correspond to the date it was created. The CreationTime field, of course, would also correspond. The number of files for that month would equal the number of days in the month. For July, I would want the 31 files, starting with "Report_20200701_to_20200701" through "Report_20200731_to_20200731". Then, these files would be combined into "Report_072020" (in txt or xlsx) or something. I don't even care if they're written in order, although that could be nice.
What is the best way to get Alteryx to look into that folder path, find the most recent month's files, and combine them into one?