# Automatic action after time delay

**URL:** <https://forum.adalo.com/t/automatic-action-after-time-delay/41449>\
**Category:** Get Help\
**Created:** [August 19, 2023, 1:05pm UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449 "2023-08-19T13:05:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![bnaude](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bnaude](https://forum.adalo.com/u/bnaude)\
**Post date:** [August 19, 2023, 1:05pm UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/1 "2023-08-19T13:05:38Z")

</div>

I would like to have a field get deducated by 1 after a custom delay, say 1 hour, up to 0. So say a user enters the field as X=10 and the custom time is T=1h, then every 1h this happens: current value of X-1, till X=0. the only way I can see to currently do this is with Integromat or Zapier, but I cannot afford the team plan at this time. Is there any workaround?

---

<div class="post-metadata">

**Author:** ![speakupboy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/speakupboy/32/30235_2.png) [@speakupboy](https://forum.adalo.com/u/speakupboy)\
**Post date:** [August 21, 2023, 3:07pm UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/2 "2023-08-21T15:07:04Z")

</div>

Yeah- you can set the field up in an external collection e.g in airtable and update it through that API using [make.com](http://make.com).

---

<div class="post-metadata">

**Author:** ![bnaude](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bnaude](https://forum.adalo.com/u/bnaude)\
**Post date:** [August 22, 2023, 12:15pm UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/3 "2023-08-22T12:15:18Z")

</div>

Thanks a lot. That perfectly solves it. I didn’t know I could use Airtable without the Adalo API.

---

<div class="post-metadata">

**Author:** ![bnaude](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bnaude](https://forum.adalo.com/u/bnaude)\
**Post date:** [August 22, 2023, 2:37pm UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/4 "2023-08-22T14:37:45Z")

</div>

Correction - the action done on Adalo still needs the API to connect into Airtable.

---

<div class="post-metadata">

**Author:** ![Rozza](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/rozza/32/22780_2.png) [@Rozza](https://forum.adalo.com/u/Rozza)\
**Post date:** [August 23, 2023, 3:19pm UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/5 "2023-08-23T15:19:42Z")

</div>

Capture the time (now) that the user updates x=10 call it _TminusStamp_ (date/time) in the user table, set another field _TminusValue_ (number) = 10, then the next time they visit the home screen or an interstitial, calculate _now-TminusStamp_ as **hours** use rounding if you need, you may need a hidden input for that. Then update another field in the user table _TminusValue_. Next have a conditional to display your button or carry out an action based on that _TminusValue_.

You could end up with negative numbers so put a conditional on the home screen or interstitial to do it only when _TminusValue_ \> 0

A bit clunky but saves having an external service.

---

<div class="post-metadata">

**Author:** ![bnaude](https://avatars.discourse-cdn.com/v4/letter/b/eada6e/32.png) [@bnaude](https://forum.adalo.com/u/bnaude)\
**Post date:** [August 28, 2023, 6:42am UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/6 "2023-08-28T06:42:32Z")

</div>

Hi Rozza  
Thanks very much for the reply. I did think of something similar, but I’ve decided it’s a bit risky relying on visits to screens and asking for user input. For my specific application I’d definitely need the automation. I’ve decided to pause the feature for now and once there’s traction to go for the external service.  
Do appreciate the assistance though!

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/system/32/40401_2.png) [@system](https://forum.adalo.com/u/system)\
**Post date:** [September 7, 2023, 6:42am UTC](https://forum.adalo.com/t/automatic-action-after-time-delay/41449/7 "2023-09-07T06:42:50Z")

</div>

Closed on September 7, 2023, 6:42am UTC

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
