Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Create folders in SharePoint Online when a new record is created in CRM


I am trying to achieve this: When a new Opportunity is created in CRM, a flow should be triggered which will check in SharePoint Document Library whether Customer exists. If exists, create Opportunity folder inside the specific customer. It does not exist, then create Customer folder first and then create Opportunity folder inside it.

I am aware that there is no way to check if a folder exists.

I believe Get Items does not work on Document Library. It works fine with a List.

When I perform Get items on a Doc Library it only gives first instance in the value and all the folders inside it.

Any help would be appreciated.

Thank you.



Regular Visitor


Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Users online (1,510)