# Output information retrieved via API

**URL:** <https://forum.adalo.com/t/output-information-retrieved-via-api/19338>\
**Category:** External Collections, Custom Actions & Collections\
**Created:** [November 6, 2021, 9:13pm UTC](https://forum.adalo.com/t/output-information-retrieved-via-api/19338 "2021-11-06T21:13:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhmd](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mhmd](https://forum.adalo.com/u/mhmd)\
**Post date:** [November 6, 2021, 9:13pm UTC](https://forum.adalo.com/t/output-information-retrieved-via-api/19338/1 "2021-11-06T21:13:44Z")

</div>

Hi all, feel like the obvious is completely going over my head on this one!

When a user visits the app screen, an API is called and information is retrieved (in this case a URL). How can I get the user to that URL without them having to actually interact?

Usually, when using custom actions and API’s, you can usually reference API results in subsequent actions - but not happening in this case, oddly.

Thanks!

 ![Screenshot 2021-11-06 at 9.10.54 pm](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/8/8b998a1b5220c7ff22dfb4511854ceeb2e262c1c.png)  
 ![Screenshot 2021-11-06 at 9.11.06 pm](https://us1.discourse-cdn.com/flex020/uploads/adalo/original/2X/0/0ca62dba3a8394c5a13792586a03e73c7b6babc9.png)

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 7, 2021, 8:54am UTC](https://forum.adalo.com/t/output-information-retrieved-via-api/19338/2 "2021-11-07T08:54:27Z")

</div>

Hi @mhmd,

Most probably something is wrong in your API call’s return.

I’ve made a test - all worked for me. Here is the video with the explanation: [Adalo help: URL return from custom action - YouTube](https://youtu.be/0M0GzjjOXz8) (just uploaded).

Best,  
Victor.

---

<div class="post-metadata">

**Author:** ![mhmd](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@mhmd](https://forum.adalo.com/u/mhmd)\
**Post date:** [November 7, 2021, 1:44pm UTC](https://forum.adalo.com/t/output-information-retrieved-via-api/19338/3 "2021-11-07T13:44:13Z")

</div>

Hi Victor,

**Thanks for taking the time to put together an explanation - super grateful!**

My circumstance is slightly different from the method you’ve shown.  
In your video, the API is called when the user interacts with the button (that works fine for me).  
In my example, the API is called when the user visits the screen and I’m not able to use the retrieved data.  
However, not to worry as I’ve figured out a different solution - though I certainly know others will find your video useful 🙂

Mo

---

<div class="post-metadata">

**Author:** ![Victor](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.adalo.com/victor/32/2054_2.png) [@Victor](https://forum.adalo.com/u/Victor)\
**Post date:** [November 7, 2021, 3:18pm UTC](https://forum.adalo.com/t/output-information-retrieved-via-api/19338/4 "2021-11-07T15:18:50Z")

</div>

Hi @mhmd,

Great that you’ve figured out the solution!

I didn’t notice that you used on-screen-enter Custom Action - I focused on URL question instead 🙂  
Unfortunately, Custom Action results aren’t available for on-screen-enter events ☹

One of the possible workarounds could be to use countdown timer to execute the action - then the results will be available in subsequent actions.

Best regards, Victor.
