Hi,
I created a flow to run on a selected SharePoint list item. I want the user to be able to add a few file inputs to that flow.
How do I loop through those files? The user optionally attaches any number from 0 to 5 files.
In the triggerbody, if there are 5 files attached, then the JSON is:
{
"file": {filecontent},
"file_1": {file_1content},
"file_2": {file_2content},
"file_3": {file_3content},
"file_4": {file_4content},
"entity": {sharepoint_item_info}
}
The stuff in italics is description of what the actual values are.
I'm trying to get those filenames but I don't know how to formulate the expression for the Apply to each action.
Please help!