Announcements
Filter array
Instead of relying on OData filter in the Get Files action (which can be limited), retrieve all folders first, then filter them in Power Automate.
Get Files
Steps:
Use Get Files (Properties only) action
Get Files (Properties only)
Filter query: FSObjType eq 1 (to get all folders)
FSObjType eq 1
Add Filter array action
From: output of Get Files
Condition: Use expression to filter folder names starting with your project string
Example condition expression:
startsWith(item()?['Title'], outputs('Compose_ProjectString'))
Where outputs('Compose_ProjectString') contains your project string like "Project - 1234 - ".
outputs('Compose_ProjectString')
"Project - 1234 - "
The Filter array will return matching folders.
Send an HTTP request to SharePoint
The SharePoint REST API supports startswith in $filter properly.
startswith
$filter
Example HTTP request:
Site Address: Your site URL
Method: GET
Uri:
_api/web/lists/getbytitle('Documents')/items?$filter=FSObjType eq 1 and startswith(Title,'Project - 1234 - ')
You can replace 'Documents' with your document library name. Then parse the JSON response to get your folder.
'Documents'
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Haque 600
Valantis 453
11manish 356