I have created a flow who's output has property "mail" it has email address of all office365 site owner
trigger
output is below , similarly for rest of the owners as well i get below output, i want to send list of all owner in an email to user
Can someone please help how should I achieve it
Hello @Anonymous ,
you're more than welcome.
When the flow is fired and arrives at "Start and wait for an approval" step, it will send the email to the approvers, and it remains in progress until one of the Approves or Rejects the request.
So, if one of the Approvers takes action, then the run continues with the next actions.
Please let me know if the issue is fixed.
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
I may not have all the answers, but I'm curious and passionate enough to keep looking for answers and to keep sharing them.
My blog site about Power Automate: https://powerautomatejoy.com/
BR,
Marco
Thanks a ton, this exactly I wanted
Can you help me with one more thing
I even wanted to email to this owners list for approval
I have tried action trigger start and wait for approval with trigger first one to respond
still flow is not getting completed till all owners acknowledge it (approve/reject)
is it a bug or I am doing something wrong
Hello @Anonymous ,
in the Append to string variable you should put the "mail" grabbed from the Parse JSON action and not the same variable:
Please let me know if the issue is fixed.
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
I may not have all the answers, but I'm curious and passionate enough to keep looking for answers and to keep sharing them.
My blog site about Power Automate: https://powerautomatejoy.com/
BR,
Marco
Thank so much for taking efforts, I have tried but getting error while saving flow
Hello @Anonymous ,
if I have understood correctly your requirement, please follow these steps:
1. Initialize a String variable:
2. Send an HTTP request:
3. Add a "Parse JSON" action:
- Content: Body grabbed from previous action;
- Schema: run the flow, copy the "Send an HTTP request" outputs and paste it in the "Generate from sample" section.
4. Generate an "Apply to each" control, select the "value", grabbed from the "Parse JSON" action in the 2Select an output from previous steps" field:
5. Within the "Apply to each" control, add an "Append to string variable" action, putting the "mail" value got from the "Parse JSON" action. I've appended the variable in the following way just to see in an easier way the email in the email body:
- @{items('Apply_to_each')?['mail']}<br>
6. Outside the "Apply to each" loop, add the Outlook "Send an email (V2)" action and put the variable in the email body:
Here the full flow:
Here the output:
Please let me know if the issue is fixed.
I may not have all the answers, but I'm curious and passionate enough to keep looking for answers and to keep sharing them.
If I have answered your question, please mark my post as Solved.
If you like my response, please give it a Thumbs Up.
My blog site about Power Automate: https://powerautomatejoy.com/
BR,
Marco
WarrenBelz
146,645
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,997
Most Valuable Professional