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 / UI elements in Outlook...
Power Automate
Answered

UI elements in Outlook - root path

(0) ShareShare
ReportReport
Posted on by 6

I am trying to build a flow which will measure a time between switching views in outlook 365, e.g. clicking on Inbox (on the left, where we have folders list) then copy first word from email which is loaded and paste it into new email. Then go back into Sent items folder, copy first word from email which is loaded and paste into the same new email.  

What I want to achieve is to have flow which will be error prone - I mean I can use it independent of what current folder is marked in outlook. E.g. I can have calendar view opened now and when I start flow I want it to work as described. But should also work when I start it when active view\folder in outlook is To-Do list 

 

What I want to click first is:

a.png

The problem is that UI elements which I have in Power Automate Desktop have definition with full "path" starting from

'Window \'Calendar -  ...  - Outlook\'']['Button \'Mail\''

or

'Window \'To-Do List -  ...  - Outlook\''

b.png

 

Any ideas ?:)

I have the same question (0)
  • Verified answer
    Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    The names of your window elements do not matter. If I understand your question correctly, what you need to do is open your window elements and edit the selectors, so they do not have the name/title properies activated.

  • bbelko Profile Picture
    6 on at

    It is not only about names of windows - it really matters. I tested it, when I use 'Window \'Calendar -  ...  - Outlook\'']['Button \'Mail\'' and I am not in calendar view then it fails

    Below view from UI elements selector builder - they look exactly the same there

    a.jpgb.jpg

     

    But when you click ctrl+a (in the main window of power desktop automate, where flow steps are visible ) and then paste it into Notepad you will see difference 

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    @Henrik_M is correct, uncheck Name in your edit selector window that you posted.  If it is still not working, Windows is ripe with hotkeys.  You should be able to get around Outlook with Send Keys alone.

  • Henrik_M Profile Picture
    2,021 Super User 2024 Season 1 on at

    Are you aware that the window elements also have selectors, which are editable when you double click them?

     

    Henrik_M_0-1642178783740.png

     

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard