How to check if a folder exists in a SharePoint Online library using a Power Automate flow. The response of the action will be either true or false (boolean value).
URI
Headers
Body
Not applicableScreenshot with example
Below are a bit more details about the values used in this example. Hopefully that helps in configuring the action.
| Property | Value | Details |
|---|---|---|
| Path | /sites/PowerUsers/Project Folders/Example Folder | |
| Site Address | https://contoso.sharepoint.com/sites/PowerUsers |
Expected response
Will return a value property with either true or false
Copy/paste example
Resources
FileFolderExtensions.FolderExists MethodThat’s it, Happy testing!

I am testing your code above and I get the
{
“d”: {
“Exists”: false
}
}
Or
{
“d”: {
“Exists”: true
}
}
depending on if the folder exists or not.
I am now trying to get that answer into a condition which has the possibilities yes or no.
But whatever i do i never get the condition to run at true.
I have tried to use compose but i don’t get any other answer. It’s like the condition argument don’t read true/false correct.
Thanks, this works perfectly