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.
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:
However, I want the OOO Status to show automatically for every Gallery Item when the Gallery is visible (ie no selecting of a button):
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?

Report
All responses (
Answers (