# Trouble setting an Alert/Push Notification using Airtable (Food Exp App)

**URL:** https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999
**Category:** Questions about Thunkable X
**Tags:** notification, airtable, date\_picker, alert
**Created:** [October 5, 2020, 2:15am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999 "2020-10-05T02:15:56Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jeet.kh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jeet.kh/32/84680_2.png) [@jeet.kh](https://community.thunkable.com/u/jeet.kh)
#### Post date: [October 5, 2020, 2:15am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/1 "2020-10-05T02:15:56Z")

</div>

Greetings!

I am trying to create a simple app, where the user will input the food purchased with its respective expiry date.

I wish to send an alert or a push notification to the user when the food has passed the expiry date.  
Is it possible?

Here is an example of the Airtable:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/f/8fba5e6877af155a27f1f25f9099dba25e4865a3.png)

And the Blocks:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/adde979a64a09904456fd99460a998428490ce1a.png)

Thank You,  
Jeet

---

<div class="post-metadata">

### Author: ![v.krishna](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/v.krishna/32/84811_2.png) [@v.krishna](https://community.thunkable.com/u/v.krishna)
#### Post date: [October 5, 2020, 5:34am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/2 "2020-10-05T05:34:19Z")

</div>

yes, it will be possible but the user must be online or using the app if you are trying to send an alert and push notification will send one message to all the users of your app (bulk).

---

<div class="post-metadata">

### Author: ![jeet.kh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jeet.kh/32/84680_2.png) [@jeet.kh](https://community.thunkable.com/u/jeet.kh)
#### Post date: [October 5, 2020, 5:46am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/3 "2020-10-05T05:46:56Z")

</div>

I am having trouble comparing the date to the current date. For now, I simply wish to send an alert when the user is online mentioning all the food that expired.

I tried researching to compare dates but I can’t seem to figure out the blocks.

---

<div class="post-metadata">

### Author: ![hacker\_2009](https://avatars.discourse-cdn.com/v4/letter/h/8baadc/32.png) [@hacker\_2009](https://community.thunkable.com/u/hacker_2009)
#### Post date: [October 5, 2020, 6:50am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/4 "2020-10-05T06:50:34Z")

</div>

I think you should go to device \< if (current hour = “xyz” **and** current minute = “abc”) \< then from Alert set message to “You crossed the expiry date” \<\>

---

<div class="post-metadata">

### Author: ![jeet.kh](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jeet.kh/32/84680_2.png) [@jeet.kh](https://community.thunkable.com/u/jeet.kh)
#### Post date: [October 5, 2020, 6:58am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/5 "2020-10-05T06:58:29Z")

</div>

These are my blocks.

When Button4 click, I want to pick the Date Column from Airtable and compare it with the current time. I think, I am missing something here, as it returns nothing.  
Currently, I am just trying to see, if I can fetch all the food that expired, later I can add them to the alert.

Thanks

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/013c9f7ba11089ede7ab239b3062a5836126b39d.png)

---

<div class="post-metadata">

### Author: ![helloy3s8](https://avatars.discourse-cdn.com/v4/letter/h/d9b06d/32.png) [@helloy3s8](https://community.thunkable.com/u/helloy3s8)
#### Post date: [April 7, 2024, 8:09am UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/6 "2024-04-07T08:09:09Z")

</div>

Hi were you able to solve this?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:23pm UTC](https://community.thunkable.com/t/trouble-setting-an-alert-push-notification-using-airtable-food-exp-app/873999/7 "2024-11-08T12:23:37Z")

</div>


