I'd create a file with particular name or update it if such file exists already. Unfortunatelly I haven't found any way to check whether file exists or not, nor create it with ovewrite flag set to true.
I'm surprised this hasn't been upvoted more. Is there a solution for this that I haven't found?
Need same functionality for Items in SharePoint list.
Same here, today workaround is to use getitems with OData filter and then use check with formula empty(body('get_items')?['value']). One caveeat is that Get items action has to timeout after 4 attempts to continue checking.
Alternative is to get all items and filter them or check if item exists.
I've implemented a file exist as a workaround using the get file content by path action. And then make the next step just run on failure of this check. I will create a blog post on this.
Lets not forget folders. I know folders are 'old school' and unpopular these days, but they still have a use out here in the real world. I looked at my Windows directory the other day, theres fricken folders everywhere!