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 / I need to be able to t...
Power Automate
Unanswered

I need to be able to trigger a flow at the end of an existing flow

(0) ShareShare
ReportReport
Posted on by 104

Hi.

I created a flow that starts when somebody completes a Form, that info goes into a sharepoint List - approval process in between, and end ups generating a folder within a library, and the folder name will be the List item ID.

Now, what i would like is, once a file is saved on that new folder, to have an email sent out - I thought of creating a different flow starting with "When a new item is created..." but the thing is that i won't know the name of the folder till flow 1 runs.

What would be idea, is if after the step "create a new folder" i can add a new trigger and say that when a file is created on "that" folder, then send the email.

Is that possible?

thank you

Categories:
I have the same question (0)
  • mahoneypat Profile Picture
    1,720 on at

    Why not just add the send email step to your current flow?  If the create folder step is successful, it would then send the email.

     

    Pat

  • CU07110930-0 Profile Picture
    104 on at

    Hi @mahoneypat thank you for your message.

    the email needs to be sent not when the folder is created but when an item is added to that folder (and the file can be added days after the folder was generated)

    I tried adding another "When" (add new step, select trigger) but every time it comes back with an error that it did not find the file (seems to find the folder though).

    AgainOpen_0-1637076007233.png

     

    Not sure how to add just the email step as you suggested on your message (i am quite a newbie with Power automate) thanks

  • mahoneypat Profile Picture
    1,720 on at

    This may be one approach that seems to work.  You can initialize a variable with a value of 0, do a Do Until step with a delay at an appropriate interval to check (3 hrs, 6 hrs, 12 hrs, etc.) and do a Get File Properties step (using the Title of the folder created initially) and check if the length of that array is >0.  Use a Condition step to check if that is true or false (set the variable to 1 if true, and 0 if false).

     

    mahoneypat_1-1637111149720.png

     

    Pat

  • CU07110930-0 Profile Picture
    104 on at

    Hi Pat. thank you for your message.

    Would you be able to show me the settings  of the different steps please? WHat do i choose for the variable? and for the Do until? (as i mentioned i am quite new) thank you

  • mahoneypat Profile Picture
    1,720 on at

    Here are some more details.  Also, attached is the export of my flow that you can import if you need to see more details.

     

    mahoneypat_2-1637194274945.png

     

    mahoneypat_1-1637194009333.png

     

    greater(length(outputs('Get_files_(properties_only)')?['body/value']),0)

     

     

  • CU07110930-0 Profile Picture
    104 on at

    Thank you so much for all your help!! 

    Unfortunately i am not able to import the solution (probably due to company security settings) 

    and tried setting up the flow myself and it gets stuck in the Do Until part like in a look 😞 

    When you create the Initialize Variable: what type and value do you use? 

    And when you do the Set Variable 1 and 2?

    thanks!

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 272 Super User 2026 Season 2

#2
trice602 Profile Picture

trice602 147 Super User 2026 Season 2

#3
11manish Profile Picture

11manish 146 Super User 2026 Season 2

Last 30 days Overall leaderboard