cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Flow sends email twice

Hi,

 

I have created my first flow; it runs when an email is flagged and forwards the email to another email address, and then moves to another folder.  This is to allow us to pick and choose which emails are forwarded, rather than forwarding everything. Here is my flow:

flow2.PNG

However, it seems to send the email twice. It is only shown in the sent items as sending once, but i receive 2 copies.

 

Any ideas what i am doing wrong?

 

I tried swapping it around to moving the email first and then forwarding, but it then marks the flow as "failed" and we were having some issues with some not arriving, so made it very difficult to troubleshoot.

 

Thanks in advance for your help

 

Michelle

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Super User II
Super User II

Re: Flow sends email twice

I just noticed that it doesn't seem like you are using When an email is flagged (V2) trigger, so you may be using When an email is flagged [DEPRECATED] which could be causing this issue. 

If changing to V2 of the trigger doesn't fix your issue(s), then your only real options are to move the To SN folder outside of the Inbox, or to create two separate Flows.

If you opt to create two separate Flows, they'd likely look like this:

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

5 REPLIES 5
Highlighted
Super User II
Super User II

Re: Flow sends email twice

Is the To SN folder that you are moving the email to a sub-folder of the Inbox? If it is, that is why the email is being sent twice. When you move the email, it is re-triggering the Flow. The easiest way to check this, would be to invert the steps, putting the Move email step before the Forward an email step.

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

Highlighted
New Member

Re: Flow sends email twice

Hi, thanks for your reply! Yes it is in the inbox. I did try inverting them, and it works in that I only get one email forwarded, but I then get the flow marking it as failed, even though it hasn't actually failed as the email is sent. Which i was going to ignore, but we tried sending lots of emails at once to check tat it was able to cope with a large volume of mails - and a couple didn't get forwarded, and i couldn't work out why as they were all marked as failed (if that makes sense).

 

This is the failure code i get:

 

404.PNG

 

Michelle

Highlighted
Super User II
Super User II

Re: Flow sends email twice

I just noticed that it doesn't seem like you are using When an email is flagged (V2) trigger, so you may be using When an email is flagged [DEPRECATED] which could be causing this issue. 

If changing to V2 of the trigger doesn't fix your issue(s), then your only real options are to move the To SN folder outside of the Inbox, or to create two separate Flows.

If you opt to create two separate Flows, they'd likely look like this:

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

Highlighted
Community Support
Community Support

Re: Flow sends email twice

Hi @meeeeeeeshel ,

 

Please take a try with @Brad_Groux 's suggestion to create two flows and then your problem could be solved.

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
New Member

Re: Flow sends email twice

Thank you Brad, this worked using the new version.

 

Many thanks

 

Michelle

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Users online (7,268)