We have several flows which take an MS Form submission, including file upload, and creates a SharePoint list item, including attaching the file(s). That all works perfectly.
The problem occurs when someone fills out the form but does not upload a file (which is a valid, a file is not required.). Everything works (the SharePoint item is still created) but PowerAutomate flags it as a fail because the file-handling steps have no file to process. Eventually people are going to get so used to seeing the false-fails that we will miss investigating a real one.
Seems that a simple Condition step to bypass the file-handling stuff is all we need....BUT I cant figure out how to say "if a file was (or was not) uploaded...." for the condition.
Any nudges in the right direction would be most appreciated.