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

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (1,921)