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 Apps / Power Automate + Power...
Power Apps
Unanswered

Power Automate + Power Apps - Get Mail Tip + Power Apps Gallery

(0) ShareShare
ReportReport
Posted on by 10

Hi,

 

I have the below flow set up. It is designed to receive an email address from Power Apps (Office 365 Connector), pull through the automatic replies status and message and push it back to Power Apps. 

 

Tanners_PP_0-1680544005280.png

 

 

In Power Apps, I have a gallery. I have a button on each item that shows the OOO status of each person (pulled from Office 365 connector and a Power Automate Flow. I have a Text Label outside the Gallery which shows the status.

 

For the Button OnSelect Property I have:

ClearCollect(OOOStatusText, OOOStatusFlow2.Run(Office365Users.UserProfileV2(First(Office365Users.SearchUserV2({searchTerm: ThisItem.Name.DisplayName}).value).Id).mail).automaticreply);
ClearCollect(OOOStatusMessageText, OOOStatusFlow2.Run(Office365Users.UserProfileV2(First(Office365Users.SearchUserV2({searchTerm: ThisItem.Name.DisplayName}).value).Id).mail).automaticstatus);

 

On the Text Label Text Property I have:

 

If(Concat(OOOStatusText,Value," ")="{}", "In the Office",
If(Concat(OOOStatusMessageText,Value," ")="", "In the Office",
"Out of the Office"))

 

It all works with no errors:

 

Tanners_PP_1-1680544005947.png

 

 

However, I want the OOO Status to show automatically for every Gallery Item when the Gallery is visible (ie no selecting of a button):

Tanners_PP_2-1680544005512.png

 

At the moment, the flow is just intaking one email address on a trigger. I want the flow to kick in automatically when a User navigates to this gallery, and all email addresses to be part of the flow. Any ideas on the Power Automate and Power Apps front?

Categories:

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 Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard