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 / Help on clicking/openi...
Power Automate
Unanswered

Help on clicking/opening GMail messages

(0) ShareShare
ReportReport
Posted on by

Good day.

 

I'm currently automating GMail website and I need to open a message based on its displayed text.

AlloyBoyShark_0-1665771088883.png

I don't have a problem on getting the texts, I'm having a hard time creating the right selector/element that consists the underlined texts.

 

Hopefully you can help me.

 

 

Thanks!

  • Jamar_Forsythe Profile Picture
    Microsoft Employee on at

    I'm not too sure I follow, what are you trying to achieve?

     

    If you are just trying to read those elements into a variable using the "Get details of an element" and even the "Extract data from webpage" actions can get you the text.

  • VJR Profile Picture
    7,635 on at

    Use the Email related actions available in PAD versus using UI automation for Gmail.

  • Jamar_Forsythe Profile Picture
    Microsoft Employee on at

    As @VJR mentioned, you may have better results using the dedicated email actions, here are some options using Cloud Flow as well as Desktop Flow.

    Gmail - Connectors | Microsoft Learn
    Email - Power Automate Desktop | Microsoft Learn

  • AlloyBoyShark Profile Picture
    on at

    For context, here are the actual steps needed to be taken by the Robot.

    1. Check for new Google Alerts (Done) --> Outputs 'Email Messages'
    2. If there's any, Login to GMail (Done)
    3. Using Email Messages' Sender, Subject, MiniHeader, the Bot needs to Open the target Google Alerts
    4. Extract Google Alert's message in tabular form (Done)
    5. Pass the extracted data to the next process (Done)

     

    Sample of Google Alerts Message

    AlloyBoyShark_0-1666020253995.png

     

    Now, the reason I need to open the actual Google Alerts is because the message needs to be extracted in tabular form and I don't know if it can be done using other built in functions but I have already done it using the "Extract Data from Webpage"' action.

     

    My problem is I cannot click my target messages from the Inbox as I'm having a hard time making the right selector. The selector needs to include the Sender=Google Alerts, Subject=Merger (ie), Mini Header, and Datetime received.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 330

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 123

Last 30 days Overall leaderboard