Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Power Automate Desktop
Suggested answer

Need help detecting empty graph in Power Automate

(0) ShareShare
ReportReport
Posted on by 46

Hi everyone,

I have two graphs on a webpage — one shows a line, and the other is blank. I want Power Automate Desktop to detect when the graph is blank and send me a message.
I tried using the "If Image" action by uploading a blank graph screenshot, but it’s not working reliably.

Is there a better way or action I can use to detect if the graph is blank?

Thanks in advance!


Categories:
  • CU12050101-0 Profile Picture
    46 on at
    Need help detecting empty graph in Power Automate

    Thanks for the suggestion!

    I tried using "Get details of element on web page" and changed the attribute name to innerText, innerHTML, and outerHTML, but the result is always blank — whether the graph shows lines or is empty. So unfortunately, I can’t detect the difference this way.

    Do you know any other method or property I could check to detect if the graph is blank?

     
  • Suggested answer
    VishnuReddy1997 Profile Picture
    2,358 Super User 2025 Season 1 on at
    Need help detecting empty graph in Power Automate
     
    Try this one.
     
    Use "Get Details of Element on Web Page" + Inner Text Check
    If the graph area is a web element (like a <div> or <canvas>), try this:
    1. Use "Get details of element on web page" to extract the innerText, innerHTML, or outerHTML of the graph container.
    2. Check if the text or HTML content indicates it's blank (e.g., empty or no data points).
     
    (Note:- if you got your solution you can mark as solution and gives kudos)
     
    Thanks & Regards
    Vishnu Reddy

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >