# How to update the screen with a nice UX while updating screen values after a new record is added from calling an external API through custom action

**URL:** <https://forum.adalo.com/t/how-to-update-the-screen-with-a-nice-ux-while-updating-screen-values-after-a-new-record-is-added-from-calling-an-external-api-through-custom-action/20794>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [December 13, 2021, 2:06pm UTC](https://forum.adalo.com/t/how-to-update-the-screen-with-a-nice-ux-while-updating-screen-values-after-a-new-record-is-added-from-calling-an-external-api-through-custom-action/20794 "2021-12-13T14:06:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Avinash](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/avinash/32/14150_2.png) [@Avinash](https://forum.adalo.com/u/Avinash)\
**Post date:** [December 13, 2021, 2:06pm UTC](https://forum.adalo.com/t/how-to-update-the-screen-with-a-nice-ux-while-updating-screen-values-after-a-new-record-is-added-from-calling-an-external-api-through-custom-action/20794/1 "2021-12-13T14:06:00Z")

</div>

Hello,

So I am making a calculator which would update the result on the screen. The calculator however calls a integromat process which does the calculation through a Google Cloud Function and updates the Adalo records. On updation of the Adalo record, the result is shown on screen. This might take a few seconds and ideally I would want to update the result values when the user drags the slider/updates a value in the screen without having to click a submit button or to navigate to a different screen.

What’s the best way to simulate this from a UX perspective?  
Or can I write a small python code within Adalo somewhere?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![theadaloguy](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/theadaloguy/32/8023_2.png) [@theadaloguy](https://forum.adalo.com/u/theadaloguy)\
**Post date:** [December 14, 2021, 4:56am UTC](https://forum.adalo.com/t/how-to-update-the-screen-with-a-nice-ux-while-updating-screen-values-after-a-new-record-is-added-from-calling-an-external-api-through-custom-action/20794/2 "2021-12-14T04:56:04Z")

</div>

In this video there is a pop up that floats over everything. For a loading screen or loading pop up, you can use a lottie animation, and follow the principles in the video using custom visibility on components. You can have this grouped with a hidden countdown timer, which then hides the pop-up again after a given interval, for example 5 seconds.

[![](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/3X/f/9/f9e830feecdb0de9de85aef6f70dbf386c826852.jpeg "Adalo - Fake Modal, Pop-up Alert, Toast notification tutorial") ](https://www.youtube.com/watch?v=M0a99GZpG4Y)

This however kind of relies on a user pressing a button to update the value - i’m not sure the best way this could be triggered otherwise.
