# Automatic email sending after database change

**URL:** <https://community.glideapps.com/t/automatic-email-sending-after-database-change/59392>\
**Category:** Ask for Help\
**Created:** [March 20, 2023, 9:20am UTC](https://community.glideapps.com/t/automatic-email-sending-after-database-change/59392 "2023-03-20T09:20:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ma\_Nemec](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ma_nemec/32/52866_2.png) [@Ma\_Nemec](https://community.glideapps.com/u/Ma_Nemec)\
**Post date:** [March 20, 2023, 9:20am UTC](https://community.glideapps.com/t/automatic-email-sending-after-database-change/59392/1 "2023-03-20T09:20:59Z")

</div>

Hi,

I would like to send automatic emails once If/else coloumn in database changes to certain values.  
Example:

If / else coloumn = Reward fully paid \> nothing happen  
If / else coloumn = Not paid in time \> send a notification email

Any ideas how can I do this?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 21, 2023, 12:23am UTC](https://community.glideapps.com/t/automatic-email-sending-after-database-change/59392/2 "2023-03-21T00:23:49Z")

</div>

Is there an action in the app that would lead to the values being changed?

Do you store your data in Glide Tables, Google Sheets or somewhere else?

---

<div class="post-metadata">

**Author:** ![Ma\_Nemec](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/ma_nemec/32/52866_2.png) [@Ma\_Nemec](https://community.glideapps.com/u/Ma_Nemec)\
**Post date:** [March 21, 2023, 7:46am UTC](https://community.glideapps.com/t/automatic-email-sending-after-database-change/59392/3 "2023-03-21T07:46:00Z")

</div>

No, it should be triggered based on date. I am currently working on a workaround with make since the database is in google sheets.

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [March 21, 2023, 11:54pm UTC](https://community.glideapps.com/t/automatic-email-sending-after-database-change/59392/4 "2023-03-21T23:54:37Z")

</div>

Yes, that should be the way for now. You can trigger it every day at a certain time to see if the value matches, and then send emails where needed.

We might get time-based trigger in Glide some time later this year.
