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

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create a flow to email...
Power Automate
Unanswered

Create a flow to email whenever a file is added to Sharepoint folder

(0) ShareShare
ReportReport
Posted on by 10

I am trying to create a flow in Sharepoint that will send an email to everyone who has access to the folder everytime a new file is added.

 

I have found how to send myself an email and how to do this for a list and library in Sharepoint, but not for a folder. 

Any ideas or help is welcome. 

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @BethD 

    Hi there - Is the list of people with access to the folder pretty static?  Or are you looking to get that list when the Flow is triggered, and then email all of those people from that dynamic list?

     

    Are they all in the same group?  I think there's a way to get the list of people through the REST API...maybe?  But that's the sticking point for me, the rest seems pretty straight forward.

     

    -Ed-

  • BethD Profile Picture
    10 on at

    @edgonzales 



    Let me start with I have never used flow before, so I am very new.

    I just want it to email the same people each time I add a file to a folder. That list is constant. Right now I have over 50 folders that I do this manually for, so anyhting faster would be great!

     

    "I think there's a way to get the list of people through the REST API...maybe?" -- I have no clue what that means. 😞

  • Brad_Groux Profile Picture
    4,556 on at

    @BethD wrote:

    @edgonzales 



    Let me start with I have never used flow before, so I am very new.

    I just want it to email the same people each time I add a file to a folder. That list is constant. Right now I have over 50 folders that I do this manually for, so anyhting faster would be great!

     

    "I think there's a way to get the list of people through the REST API...maybe?" -- I have no clue what that means. 😞


    There are several templates already available that accomplish what youa re seeking, such as

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • BethD Profile Picture
    10 on at

    Brad

    If you look at the one you sent, it says for Sharepoint library. Which I mentioned I had found in my first post. I need the exact same thing, but for FOLDERS -- which I can only find email myself when a file is added to a folder. I have tried the templates that are already created several times and different ways. None of them do what I need. 

    Thanks.

  • Brad_Groux Profile Picture
    4,556 on at

    The logic is exactly the same, but the trigger is for a SharePoint document You won't be able to pull each user who has access to the folder dynamically, but hopefully you aren't assigning users permissions to folders at the user level - that isn't Active Directory best practice.

    Group A has rights to Folder A, when a new file is added to Folder A, email Group A. Simple as that. Templates are just guides, the logic in one template can generally be used with other connectors to perform nearly the same functionality. 

    Very rarely are you going to find a template that does exactly what you want to do, because your environment and use cases are unique to you. Look at templates as guidance and learning tools, not the end-all-be-all.

    Free Flow Training: 

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    (Edit: I just read the accent on multiple folders...I'll keep digging).

     

     

    On the API, I barely know what it means, as well.  No worries.

    Since your list is static, we should be in good shape.

    One of my favorite things about Flow is there is always a few ways to do 'a thing'.

    Here's one - 

     

    You can create one from a blank  - My Flows > Create from Blank (Or new version says "Instant - From Blank)

    Search for Sharepoint triggers and find the one that says "When a file is created in a folder"

    Ser your site address (drop down) and select the folder.

     

    Next, find your email client (Outlook?) and look for an action "Send an email".  Fill out the stuff and try it out.  Here's a pic of one I built:

    Capture.PNG

     

    Will that work?  Keep us posted and good luck!

    -Ed-

  • BethD Profile Picture
    10 on at

    Ok, so I think I am starting to get this. I didn't realize there was a create from blank (see second post I am REALLY new at this). 

     

    I think I get it and this will work, but I have a problem. When I click on folder id it tells me I don't have permission. Is there another way to get the folder id? I have multiple folders within other folders that I will need to do this for, so I can't just say the parent folder and be done. Smiley Sad

     

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @BethD 

    I might not make any friends with the cool Flow kids, but would Sharepoint Alerts work?  Seems like that might do the trick.

  • BethD Profile Picture
    10 on at

    I tried that first, but each person has to set them up and they didn't so..... 😞

  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @BethD wrote:

    Ok, so I think I am starting to get this. I didn't realize there was a create from blank (see second post I am REALLY new at this). 

     

    I think I get it and this will work, but I have a problem. When I click on folder id it tells me I don't have permission. Is there another way to get the folder id? I have multiple folders within other folders that I will need to do this for, so I can't just say the parent folder and be done. Smiley Sad

     


    So, you've set the site address in the top field already, and then you get an error as soon as you click the folder icon? Or when you select a folder?

    For the other folders, you can copy the initial Flow by doing a Save As, and then go change the folder.  Not ideal, but also not creating it from scratch.

    Too bad there isn't like a Sharepoint log or something that tracks when files are created and you could just watch that as your trigger.  I wish I knew more about Sharepoint.

     

    Keep us posted.  Almost there!

    -Ed-

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard