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
Community Champion
Community Champion

@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

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (1,806)