I have a website form that sends a POST to my flow endpoint when an item is uploaded, which then looks for a response with the URL of where the file gets put in SharePoint (in a randomized folder name).
However, my form accepts multiple file uploads, so each file uploaded is a separate POST and separate URL.
The form submission properly adds all URLs, but I was wondering if there would be a way to 1: combine all requests so that only one folder is created in SharePoint with all the items (instead of a separate folder created for each item) and 2: sends one JSON response when all that is done so there is one link to send with the form that contains all files.
I think I know how to start, by calling child flows and combining all the data into one parent flow, but how would I know when to stop accepting new HTTP requests, and how would I handle if two people are submitting files in 2 separate forms at the same time?
Or I was thinking I could have the form send the email with the URLs to a middle-man email, read the links from that email and use that information to move all those files into one folder before presenting the new form submission email to the end-user?


Report
All responses (
Answers (