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 / Automate Desktop - not...
Power Automate
Suggested Answer

Automate Desktop - notify when error message?

(1) ShareShare
ReportReport
Posted on by 860
So I have a bunch of flows that need to run daily, and sometimes they tend to have errors (for example, one flow that opens up an Excel file and constantly clicks the Refresh all of the Data section). 
This flow will sometimes produce an error saying that it cannot find the item that's supossed to click. However, I can only find out if there was an error going to the Power Automate window.
 
Is there a way I can add a step that notifies me through Teams chat that this flow had an error? (Like the way we can do with the browser version?)
 
Oh, I always get lost on the whole licensing thing, but I don't think I have premium, so stick to the base actions, please. 
 
Thanks in advance!
I have the same question (0)
  • Suggested answer
    Robu1 Profile Picture
    1,621 Super User 2026 Season 1 on at
     
    Thank your for choosing Power Platform Community.
     
    Power Automate Desktop Flow Error – Teams Notification (Base Licensing)
     
    • Use a Scope action to group main flow steps.
    • Add an Error Handler Scope and set it to run only if the first scope fails (“Configure Run After”).
    • Inside the error scope, use the Teams connector: 👉 “Post a message in a chat or channel”
    • Message example: "Daily Flow Error: Couldn't complete Excel refresh. Check Power Automate logs."
    • Trigger the flow daily with a Recurrence trigger.
    • No premium license required — all actions are part of standard capabilities.
     
    If this fixes the issue, please mark as resolved to help others with find it.
     
    Happy to help 
    Robu1
    SuperUser|Moderator
    Season 2:2025
  • WorkingRicardo Profile Picture
    860 on at
    @Robu1 hey! Ty for the prompt reply. Attaching a photo of the flow (apologies, it's in Spanish :( But most things can be understood)
    Would it be like that setting up the error handler?
    Furthermore, the Teams actions do show up as premium for me :/ Same for outlook.
     
    Is there workaround? Maybe like a notification on control panel or that in the task manager the power automate pops up or something?
  • Suggested answer
    Riyaz_riz11 Profile Picture
    4,048 Super User 2026 Season 1 on at
    Hi,
     
    Send Teams Notification When PAD Flow Fails

     Part 1: Modify Your PAD Flow with Error Handling

    Use a Try-Catch block in Power Automate Desktop:
    Wrap your actions in a "Begin Error-Handling Block"
    Use "Begin Error Handling" before your Excel automation steps.
    End it with "End Error Handling".
    In the “On Error” block, insert a Web API call to a cloud Power Automate flow to send a Teams message.

     Part 2: Create a Power Automate Cloud Flow (Free Standard)

    Trigger: Use the HTTP Request trigger.
    This will give you a URL that PAD can call when an error happens.
    Actions:
    Post message in Teams
    Use action: Post a message in a chat or channel
    Fill with dynamic info:
    Alert: Power Automate Desktop Flow Failed 
    Error: %errorMessage% 
    Machine: %machineName% 
    Flow Name: %flowName 

     Part 3: Call the Cloud Flow from PAD

    In the “On Error” block of PAD:

    Use “Invoke Web Service” (GET or POST) to call your cloud flow HTTP URL.

    Optionally send a JSON body like:

    {

    "flowName": "Daily Excel Refresh",

    "errorMessage": "%LastError.Message%",
    "machineName": "%ComputerName%"
    }

     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 592

#2
Valantis Profile Picture

Valantis 340

#3
11manish Profile Picture

11manish 284

Last 30 days Overall leaderboard