# How run a custom action after 1 hour?

**URL:** <https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285>\
**Category:** Get Help\
**Created:** [November 23, 2020, 10:58pm UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285 "2020-11-23T22:58:54Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maxiogas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/maxiogas/32/732_2.png) [@Maxiogas](https://forum.adalo.com/u/Maxiogas)\
**Post date:** [November 23, 2020, 10:58pm UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285/1 "2020-11-23T22:58:54Z")

</div>

Hello Makers,

Does anyone know how I can get a custom action to run every 1 hour?

What happens is that I obtain weather data for different cities, so every time a user enters a city from a list I use a custom action to obtain the weather data through an API.

The issue is that this slows down the app, that is, the time it takes between updating the weather and going to the next screen.

So I think that if I could get the custom action to run only when the last city update was 1 hour ago, the application would be faster.

For now what I have is:

A list of cities, when a user clicks on a city I run a custom action to get the weather and save it to a property in the city.

Thanks so much, any help is welcome 😃

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [November 30, 2020, 9:04am UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285/2 "2020-11-30T09:04:53Z")

</div>

Hi Maxiogas,

Are you not able to use an external collection for this with a query parameter for the city?

---

<div class="post-metadata">

**Author:** ![Maxiogas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/maxiogas/32/732_2.png) [@Maxiogas](https://forum.adalo.com/u/Maxiogas)\
**Post date:** [November 30, 2020, 11:26am UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285/3 "2020-11-30T11:26:47Z")

</div>

@anon78309838 i thing is the only solution.

---

<div class="post-metadata">

**Author:** ![anon78309838](https://avatars.discourse-cdn.com/v4/letter/a/b9bd4f/32.png) [@anon78309838](https://forum.adalo.com/u/anon78309838)\
**Post date:** [December 1, 2020, 9:34am UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285/4 "2020-12-01T09:34:02Z")

</div>

An alternative for this is to use webhooks and an external service such as zapier or integromat.

---

<div class="post-metadata">

**Author:** ![Maxiogas](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/maxiogas/32/732_2.png) [@Maxiogas](https://forum.adalo.com/u/Maxiogas)\
**Post date:** [December 5, 2020, 9:13pm UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285/5 "2020-12-05T21:13:53Z")

</div>

Yes now i do this.

Im use integromat webhooks for listen my changes in bubble backend and publish the new data in my Adalo collections with the Adalo API`S.

---

<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:** [December 15, 2020, 9:13pm UTC](https://forum.adalo.com/t/how-run-a-custom-action-after-1-hour/6285/6 "2020-12-15T21:13:54Z")

</div>

Closed on December 15, 2020, 9:13pm UTC

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