cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

How to send emails ONLY after an item has been approved

Hi there,

 

I'm building a form for employee status change (i.e. when an employee is switching to a new manager. The manager will submit the details into a MS form). I have built out the flower from scratch so far and the approval shoots over to the approver.

 

After approval, I want two emails to be sent - one to the requestor and one to HR for notification- but ONLY after it has been approved. Initially, when I tested out the form, it sent the approval request AND the two email notifications at the exact same time.

 

I tried building in a condition to only send the two emails after approval, but the flow keeps failing. Any ideas on what I need to change?

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Post Prodigy
Post Prodigy

Re: How to send emails ONLY after an item has been approved

Configure your flow like this and it should work...

 

Use 'Wait for an approval' action. Then check the outcome. If Approve, send email.

 

PrasadAthalye_0-1600434761066.png

 

 

Like and Mark this as an answer if this resolves your issue.

View solution in original post

8 REPLIES 8
Highlighted
Post Prodigy
Post Prodigy

Re: How to send emails ONLY after an item has been approved

Can you upload your flow picture? Which approval action are you using?

Highlighted
Frequent Visitor

Re: How to send emails ONLY after an item has been approved

Hi,

 

If I read it correctly, you want to send an approval email (Send an Email with Options) and then if the response = Approved, send two emails - one to the creator of the form/list item and one to HR?

Does the attached image help? flow.png

 

 

Highlighted
Super User III
Super User III

Re: How to send emails ONLY after an item has been approved

@Loosersic 

You mentioned that your Flow generated an error - can you post a screen shot of the error?

 

 

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott
Highlighted
Frequent Visitor

Re: How to send emails ONLY after an item has been approved

I used the Create an Approval action with the body pulling information from a Microsoft Form:

(Sorry, it says I don't have permission to upload images for some reason)

 

https://imgur.com/m9CNMmX 

https://imgur.com/bquatzk 

 

(EDIT UPDATE: Disregard the above. I followed the other user's flow and used a different action instead and it is working now)

Highlighted
Frequent Visitor

Re: How to send emails ONLY after an item has been approved

Hi Loosersic

Your pictures helped a lot! I switched out the approval type with the Send email with options and it seems to have worked. However, the format of the email is a bit unsightly and repeats the info, anyway to delete the line at the bottom under Request for your input?

Screen Shot 2020-09-17 at 9.37.32 PM.png

Highlighted
Frequent Visitor

Re: How to send emails ONLY after an item has been approved

Hi Littlefoot,

 

You can use HTML to make it look nicer.
The email sending capacity for 'Send email with choices' is from about 1994. 🙂

 

However, you can use your original approval workflow. From memory I found that method a little clunky - not easy for the approver to actually approve. It made them sign into a webpage to press a button. The Approve by email is sooo easy.

I created a template flow called "Start approval when a new item is added" 
It was easy to add in two extra emails when the APPROVED at the end of the approved option.


flow3.png

 

 

You can give this a try?

 

Highlighted
Post Prodigy
Post Prodigy

Re: How to send emails ONLY after an item has been approved

Configure your flow like this and it should work...

 

Use 'Wait for an approval' action. Then check the outcome. If Approve, send email.

 

PrasadAthalye_0-1600434761066.png

 

 

Like and Mark this as an answer if this resolves your issue.

View solution in original post

Highlighted
Frequent Visitor

Re: How to send emails ONLY after an item has been approved

Thank you everyone for your helpful replies! I marked PrasadAthalye as the solution. I switched back to the Approval I was originally using- adding the wait for an approval and condition of  outcome  = approved, fixed the problem. Thank you so much! 

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

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.

Top Solution Authors
Top Kudoed Authors
Users online (7,115)