If anyone wants a user-friendly template to quickly add failure notifications like these to any flow, then you can check this post: 

https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Flow-Failure-Notifications/td-p/1494079

 

This template scope can be pasted into any flow, it auto-fills the flow name, auto-fills the flow-runner’s email, includes a link to the flow run, & uses a terminate action so the correct success or failure label is applied to the run.

Just make sure to add your email to the Send email action if it is a flow normally run under the user’s account, like with a Power Apps button or something.