Skip to main content
Question

How do I create a new folder in SharePoint if it doesn't exist?

  • April 3, 2025
  • 1 reply
  • 6 views

Hi all

 

I hope someone can help me, and thank you for your time :)

 

We have just changed from Google Drive to SharePoint at my work, so I’m updating our zaps. With Google Drive it was possible to choose the event “Find a Folder”, and in the configuration we had the option “Create Google Drive Folder if it doesn’t exist yet?”. In SharePoint this isn’t possible so far I know. Is there a way to check if the folder exist and if it doesn’t exist then create it?

So the flow is: ... create folder (if it doesn’t exist) → Find file → upload a file 

 

ps. the event “Find folder” is not possible in SharePoint :(

 

Thank you

Did this topic help you find an answer to your question?

1 reply

Troy Tessalone
Forum|alt.badge.img+14

Hi ​@IdaDK 

You may have to explore using the SharePoint API to do the “Find Folder” step logic.

SharePoint API: https://learn.microsoft.com/en-us/sharepoint/dev/sp-add-ins/working-with-folders-and-files-with-rest

Zap Action: SharePoint - API Request

 


Reply