cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lordhebert
Frequent Visitor

Flow Failure Instant Email Notification

Hi folks,

 

I'm trying to build a simple flow based on a schedule that will notify somebody if the flow fails. I know that Microsoft send out a weekly flow failure, but I need more of a real time notification. Here's what I've done so far (I'm relatively new to Power Automate so any help you can provide will be great).

 

1. Flow Fail Instant 1.png

 

2. Flow Fail Instant 2.png

3. Now, if I use the condition above, when tested the flow works - but I get an error in the send an email portion

 

Flow Fail Instant 3.png

Probably something simple and any help would be most appreciated

 

TiA

 

1 ACCEPTED SOLUTION

Accepted Solutions


@lordhebert wrote:

Also, how do I provide the run history for you please?

 

Best,

LHS


Click All runs from the Flow overview page, then click on one of the failed Flow runs. It will show you which step the Flow is failing.

FlowRunHistory.png

👨🏻‍💻 If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

 

View solution in original post

4 REPLIES 4
Brad_Groux
Community Champion
Community Champion

The Flow doesn't fail, which is why the Send an email (V2) step does not complete, your condition is only going to send an email on failure. To test if the Flow logic is working, temporarily add a Send an email (V2) to the No branch of the condition, with a subject line of TESTING THE NO FAILURE LOGIC.

Also, you'll likely want to add some time-based logic to your condition so that you aren't notified of past failures that were covered by a previous notification email. For more on that see, Working with Dates and Times inside of your flows, and the Compare dates using conditions

Finally, if you provide your run history of the Flow we can provide more insight. 

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!

Thanks for your help, I don't think I was clear about what I am trying to achieve. I added the if no as advised, I have 7 flows and I got 7 emails - I get the same result if I leave the if yes, but remove the condition so there is nothing there. 

 

What I'm trying to do, is to run a flow on a schedule that will inform me when any one of the 7 flows fails in the environment - currently, Microsoft's weekly email notification isn't immediate enough - I need to see if flows are failing in the entire tenant and in much more of a real time scenario. I'm trying to use "Flow State" dynamic content, perhaps this isn't the right one?

 

Best,

LHS

Also, how do I provide the run history for you please?

 

Best,

LHS


@lordhebert wrote:

Also, how do I provide the run history for you please?

 

Best,

LHS


Click All runs from the Flow overview page, then click on one of the failed Flow runs. It will show you which step the Flow is failing.

FlowRunHistory.png

👨🏻‍💻 If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE 👍.

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,105)