I have a OneDrive for Business folder where zip files are dropped. I'm trying to monitor the path and create a trigger when a new file is created then process the zip file and delete it. I can do this when a single file is dropped. When 2 files are dropped, there always a flow failure somewhere.
I suspect this is due to how I'm determining what files are available. I call the action 'List files in folder' and store the file paths and file Ids in 2 arrays to avoid changes to the receiving directory (additional files being dropped immediately after the trigger).
I see that the Trigger 'when a file is created (properties only) preview' returns a list of files. I can't find how to use this output. The typical 'apply to each' does not appear to provide items from the list. It seems to only provide the list.
Any thoughts or suggestions?
Thank you