Hi @Anonymous ,
Try the below flow and assume Q1 is the name of the respondent
1) Initialize a boolean variable and set it to @false

2) Use a Get Files (properties only) action to get all files and folders from your document library. Add an ODATA filter FileLeafRef eq 'Q1' (replace Q1 with your Forms field). FileLeafRef is the internal name for name in SharePoint.

3) Loop through each returned file and add a condition for IsFolder = true. If true, it means a folder was found with the name. Set the boolean variable to @false

4) Exit the loop and add another condition to check your boolean variable. If false, it means no folder was found and you can proceed to create a folder and add a file (same logic that you already have).

Run for first form submission which will create a folder and file

Run for second submission with same name which will skip

--------------------------------------------------------------------------
If I have answered your question, please mark my post as a solution
If you have found my response helpful, please give it a thumbs up
Connect on LinkedIn