You can work around this by posting a new file to a new path. The Sharepoint API automagically handles creation of the folder. Drop in a readme.txt and you're good to go.
I'm creating folders in sharepoint all the time with flow using variables in Folder Path line in the Flow
For example I need a folder for each sales order, so we have a place to put docs for that order. If the sales order is "14545" then I want to create that folder within the "Orders" doc library (if it's not already there).
so i use this as the path
/Orders/<folder>
where <folder> is the sales order number
in reality my use is more complex as i need this sales order folder to actually be created under a parent folder inside the orders folder
So I use this /Orders/<parent_folder>/<folder>
I caclulate the <parent_folder> variable based off the <folder> value within the Flow with a series of expressions so end up with this folder structure
/Orders/14500 to 14599/14545
this way it keeps things nice and tidy for me. and this flow is kicked off by a SQL trigger that stores all sales orders, so when a new one is raised it fires and creates this nice folder structure in Sharepoint.
Hi all,
Happy to announce the 'Create new folder' action is now available in the SharePoint Connector!
Thanks,
Chaks