web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to check for the p...
Power Automate
Unanswered

How to check for the presence of a folder in Sharepoint?

(0) ShareShare
ReportReport
Posted on by 64

Once a month, I get a bunch of e-mails from the same sender, on the same day.

 

Currently, I have a flow that stores these e-mails in a Sharepoint library, but then I still have to make a separate folder (per month) and move the e-mails.

 

I would like to build a flow that

 

- extracts the arrival date of the e-mails as YYYYMMDD (I assume this is easy)

- makes a folder with that date as a name in Sharepoint (again, easy)

 

However, I want to avoid that separate folders are made for each individual e-mail as they arrive.

 

So the flow should make a folder for the first e-mail (because the folder does not exist yet), but should store subsequent e-mails (that arrive on the same day, from the same sender) in the same folder.

 

How would I go about this?

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at

    This older blog by @abm looks perfect for your needs: 

     

    https://mydevexperience.wordpress.com/2020/02/08/power-automate-how-to-find-a-folder-exists-dynamic-in-sharepoint/

     

    Basically, they are using the "List Folder" action, and then setting a variable if that action errors / fails / times out, etc, to say "Hey, this doesn't exist!" - and if it DOES exist, it will work normally.

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard