cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
LucianB
Level: Powered On

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
Community Support Team
Community Support Team

Re: Email sent when a specific field is updated

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.
LucianB
Level: Powered On

Re: Email sent when a specific field is updated

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

LucianB
Level: Powered On

Re: Email sent when a specific field is updated

Any help with this one? Thank you!

Community Support Team
Community Support Team

Re: Email sent when a specific field is updated

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.
Highlighted
bsmith_itgroove
Level: Powered On

Re: Email sent when a specific field is updated

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

bsmith_itgroove
Level: Powered On

Re: Email sent when a specific field is updated

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).

bsmith_itgroove
Level: Powered On

Re: Email sent when a specific field is updated

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.

LucianB
Level: Powered On

Re: Email sent when a specific field is updated

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!

hpkeong
Level 10

Re: Email sent when a specific field is updated

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
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,255)