Hi all,
I have a Flow that will extract an Excel file sent in the attachments of an email (which is sent every few days), then save this to SharePoint and copy the rows from this table into a Master Excel file also stored in SharePoint.
The Flow worked fine when the List rows present in table connector used a static file (that I selected from that file input) but, in reality, a new file with that day's date will be sent periodically and it needs to handle these dynamically. The table in this file will always be called 'Table1', and the file will always be {insert file name}_YYYY-MM-DD.xlsx where the red is, of course, the date for that day. When I tried running it with the above to handle the dynamic nature, I got the following error:
The parameter 'file' has an invalid value '{INSERT FILE PATH}/sec_form_D_2020-12-01.xlsx'.
When, in fact, the file does exist on account of the earlier steps. Any suggestions for how to get this to work?
- An alternative I tried was to carry the file along from earlier, but that requires me to put the List rows present in table within an Apply to Each, which, then, does not work with the following Apply to Each for each row (final step).
- I, then, tried to take the second step out of an Apply to Each and put the List rows after that but Flow automatically makes creating files in SharePoint from dynamic attachments an Apply to Each
I am now stuck, any ideas for how to get this to work dynamically?