cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jay312
Helper V
Helper V

Flow sending multiple emails (apply to each)

jay312_0-1611768790691.png

Hi all,

 

I have a simple flow where you fill in a microsoft form, it fills in a record on SharePoint Online,  and then sends an email to the person who filled in the form.

 

On the last step it seems to send the same email 3x, any thoughts please? 

 

Pic below

 

1 ACCEPTED SOLUTION

Accepted Solutions
Ler
Advocate I
Advocate I

hi @jay312 

 

You can try to move your get item 2 and send email to the first apply to each.

The ID of get item 2 should come from your get items.

And the mail address can come from your get item 2.

2021-01-28 12_43_48-编辑你的流 _ Power Automate 和另外 8 个页面 - 工作 - Microsoft​ Edge.png

 

I hope it helps.

 

BR

Ler

View solution in original post

4 REPLIES 4
PrasadAthalye
Super User
Super User

@jay312 

 

In the Last step of Send an email, I see you are using a value array. Is that from the GetItems 2 action? If yes, are you filtering GetItems 2 to return only 1 record OR does it return multiple records?

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community

Hi! Thank you for reply @PrasadAthalye 

 

Correct on the get items 2 action. No filtering is happening to get items 2! ah so that is the reason why multiple issues. 

 

I dont know why I used get items, can I just use get item?  If I try get item what do I add in the "ID" field below :s 

jay312_1-1611779612040.png

 

jay312_0-1611779403492.png

 

I would like to know more requirements.

 

Which Item you would like to read to send an email? Is it the one that you created using Create Item above? Also, why are you reading Item again? To find out who submitted the response?

 

If you are interested in sending an email to the user who submitted a response to the form, you can find an email from Get response details action like below...

 

PrasadAthalye_0-1611796591354.png

 

Please Like and Mark this as Answer if it resolves your Issue.

Power Automate Community
Ler
Advocate I
Advocate I

hi @jay312 

 

You can try to move your get item 2 and send email to the first apply to each.

The ID of get item 2 should come from your get items.

And the mail address can come from your get item 2.

2021-01-28 12_43_48-编辑你的流 _ Power Automate 和另外 8 个页面 - 工作 - Microsoft​ Edge.png

 

I hope it helps.

 

BR

Ler

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,536)