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

Send email confirmation when the submit button is pressed.

Greetings,

 

I wanted to ask the community if something i want to do is possible in PowerApps. I have made a Leave_Request app, and i have an issue with the confirmation button. I want the users, when they press the submit button, to receive a confirmation mail, that their request was sent successfully. Furthermore, i want the same button to send the admins an email, that the specific user applied for a leave request so that they can approve or reject and when they make the decision, to inform again the user with an email. 

 

I know that it is possible with a Flow in Power Automate, but is it possible within PowerApps?

Kind Regards,

Thanks in advance

1 ACCEPTED SOLUTION

Accepted Solutions
WarrenBelz
Super User
Super User

Hi @ChristosKarak ,

You do not need a Flow. Connect the Office365Outlook connector and then you can do something like this

Office365Outlook.SendEmailV2(
   User().Email,
   "Request Received",
   "Your body text here",
   {Cc:"YourAdminEmail"}
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

View solution in original post

3 REPLIES 3
flugaoveltem
Resolver III
Resolver III

Hi @ChristosKarak 

 

 

Create a new flow from template and select Powerapp Button. 

flugaoveltem_0-1609167407299.png

 

Add a new step Send email notification, 

flugaoveltem_1-1609167521998.png

 

In each field inside the step add ask to powerapps content. 

flugaoveltem_2-1609167707906.png

 

Inside the app, select a button and add Action -> Power Automate

flugaoveltem_3-1609169627931.png

When added, it will ask you three in

flugaoveltem_3-1609244672562.png

 

WarrenBelz
Super User
Super User

Hi @ChristosKarak ,

You do not need a Flow. Connect the Office365Outlook connector and then you can do something like this

Office365Outlook.SendEmailV2(
   User().Email,
   "Request Received",
   "Your body text here",
   {Cc:"YourAdminEmail"}
)

 

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

 

WarrenBelz
Super User
Super User

Hi @ChristosKarak ,

Just checking if you got the result you were looking for on this thread. Happy to help further if not.

Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Top Solution Authors
Users online (3,082)