cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LucianB
Advocate II
Advocate II

Email sent when a specific field is updated

Hi,

I need to send a notification e-mail when a field is updated in app. E-mail needs to show user who changed (stored in database) and content of changed field.

I am using SQL cloud server for database.

Is there any way to achieve this?

Thank you.

10 REPLIES 10
v-micsh-msft
Community Support
Community Support

Hi @LucianB,

 

Could you please share more details about the updated fields in App, and the changed user fields, are those fields from the same data source, showing up under the same screen in App?

We could take use of the sendemail function within PowerApps to send the proper notification.

Please take a look at the Office 365 Outlook connection as a reference:

Office 365 Outlook

Check the available functions part.

For the usage, please see the discussion in the following thread:

Send inforamtion by Email

 

In addition to send the Email within PowerApps, we could also create Microsoft Flow to generate the Email Notification.

For example, if there is an item has been edited, then we could set that up as a Flow trigger, then add a send email action under Microsoft Flow, please first take a look at the template:

When an item in a SharePoint list is modified send an email

 

If you have any further questions, please feel free to post back.

Regards

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

Hi ;

Thank you for reply. Yes, fields are from the same data source, and also in same screen in app. See below picture.

I want when somebody write or change something in Comments field to be e-mailed to a specific e-mail address. E-mail should contain updated comment.

 

Untitled.png

Any help with this one? Thank you!

Hi LucianB,

 

How you would like the Email to be sent?

 

If you would like the the Email be sent on clicking the Save icon at the top right of the screen,

then we could change the onselect property of the save icon, before that, we need first add the Office 365 connection as an available data source, see here for more details(Add a data connection in PowerApps😞

68.PNG

Please take a look at the following thread for more details:

Send inforamtion by Email

And if you have any further questions, please post back.

Regards

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
bsmith_itgroove
Advocate I
Advocate I

This is a good topic, I just posted a similar suggestion under Ideas!

It would be great if there was a "When record created in Azure SQL DB" trigger to start a Flow that sends an email etc.  I sure am missing the maturity of SharePoint + InfoPath + SP Designer Workflow right now (despite their many flaws).

That SendEmail function in the SubmitForm function worked after I explicitly made the data source connection inside the PowerApp (they already existed in the environment, but the app wasn't aware of this until I told it).  This is getting closer, but I'd still like workflow functionality to get some values from the form, check them against some averages and then conditionally send different messages depending on the results.  Seems a lot to ask from a simple set of functions glued together with and statements.

So, at this moment is not possible? That's not good, because I try to develop an app which will replace an Access web app and of course, I need to have same functionality or at least very similar. However, I can see a lot of missing features in Powerapps till now.

I hope it will be changed in future!

If there's any solution I will be happy to hear!

Hi

 

@bsmith_itgroove

 

I am not familiar with SharePoint but eveer use email from Ms Flow.

May you refer to my post

: Useful Features of PowerApps (12) - Email & Concat

 https://powerusers.microsoft.com/t5/PowerApps-Forum/Useful-Features-of-PowerApps-12-Email-amp-Concat...

 

Hope this may help a little.

hpkeong

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,469)