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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger flow from file...
Power Automate
Unanswered

Trigger flow from files added inside a folder

(0) ShareShare
ReportReport
Posted on by 21

I have a problem where flows are not triggering from files that are added inside a folder. If you drag and drop the folder that has the files inside to SharePoint the flow triggers from all of the files but if I copy the folder from one location in SharePoint into another the flow only triggers once of the folder.

 

I have been wondering if I could list all the files inside the added folder and process them that way but then I would have to know how the folder was added so I wouldn't process the same files twice. 

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,932 Moderator on at

     Hello,

     

    By chance did anyone setup a specific setting on the Trigger, that only looks at the Main folder, versus subfolders? this would explain why it only triggers once.

    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Sasu Profile Picture
    21 on at

    We have a trigger condition where the path needs to contain certain string and also we exclude one user from triggering the flow. I can't find any settings that would disable subfolders from the trigger.

  • Michael E. Gernaey Profile Picture
    53,932 Moderator on at

    Hello,

     

    Its very possible that is the issue. Take out the condition and test again. Depending on how its created it will in fact require that path and will ONLY trigger on files in that path, not in that path + any subfolders + files.
    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Sasu Profile Picture
    21 on at

    But there are subfolders where I put the files and folders and they trigger fine but if I put folder with files in it, it only triggers of the folder but not any of the files that are inside. But maybe I'll still test this. We do need the condition but maybe we can implement it in another way if it's causing the problem.

  • Michael E. Gernaey Profile Picture
    53,932 Moderator on at

    Question,

     

    Do people do a lot of drag and drop of folders in? I am a little headscratch that its not triggering properly and I feel for you.

     

    Just wondered if its a situation you plan to have. If so, then my suggestion is this.

    1. Let it trigger

    2. Validate its a subfolder

    3. List all the files in the subfolder

    4. process the files.


    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Sasu Profile Picture
    21 on at

    This is something I thought of doing but the problem is if someone decides to drag and drop a folder with files in it the flow would process the files twice.

  • Sasu Profile Picture
    21 on at

    We were using SharePoint list as a work queue so a possible solution for this is that you can make the column that contains the id of the file unique, so it can't add same file to the work queue multiple times. This is a solution to the problem that  @FLMike suggestion has where the files would be processed multiple times if someone dragged and dropped a folder.

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
David_MA Profile Picture

David_MA 86 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 55

#3
Ellis Karim Profile Picture

Ellis Karim 53 Super User 2026 Season 1

Last 30 days Overall leaderboard