Introduction

In Power Automate, flows can fail due to missing data, service outages, or unexpected inputs. Error handling lets your automation detect and respond to failures using Scopes, Run After, Terminate actions, and retry policies, making flows more reliable and maintainable. It also enables logging, notifications, and prevents cascading errors.

Lets first understand what is Try, Catch and Finally block:

Try

Catch

Finally

Understand this with a power automate Use Case:

Use Case

Flow tries to read excel and move it to another folder on success else will send email notification that flow failed.

Below are the flow design steps:

Step 1. Trigger: You can trigger your flow in different ways: like manually, on file creation, on modification or schedule flow.

01-01-2026-11-37-15

Step 2. Configure try block.

What are we doing here. Similarly you can put all your main actions in the Try block:

01-01-2026-11-38-2101-01-2026-12-52-2927-01-2026-12-12-24_63905092981218701727-01-2026-12-14-0316-01-2026-06-48-34

Step 3. Configure catch block.

16-01-2026-07-04-0816-01-2026-06-46-51

Step 4. Configure finally block.

16-01-2026-07-04-2616-01-2026-06-47-26

Conclusion

Try–Catch–Finally in Power Automate ensures robust error handling by running main logic, managing failures, and always executing cleanup actions regardless of the outcome.