If your Flows fail you need to catch those errors before your users do. This can get messy if you have multiple developers, hence here's a way to notify of the error and make sure the right person is assigned. Child flows are used to make this reusable.
Create Env URL
concat('https://make.powerautomate.com/enviro..., workflow()?['tags']['environmentName'],'/flows/',workflow()?['name'],'/runs/',workflow()?['run']['name'])
Special thanks for Reza for foundation
• Error Handling in Power Automate flow...
0:00 Intro
0:23 Set up
0:52 See results of actions
2:47 Filter results for Failed actions
5:11 Get URL of failed Flow
5:58 Notify via Teams
7:44 Tag someone
8:59 Refactor to use Child Flow
12:32 Run Only Users
13:00 Distinguish Prod Teams channel from Dev
14:37 Environment Variables are better
15:37 Use HTML table