Skip to main content
Question

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

  • April 3, 2025
  • 1 reply
  • 39 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

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • April 3, 2025

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