# Display API output from Xano (in same or separate workflow)

**URL:** <https://community.weweb.io/t/display-api-output-from-xano-in-same-or-separate-workflow/2061>\
**Category:** How do I?\
**Created:** [March 19, 2023, 1:10pm UTC](https://community.weweb.io/t/display-api-output-from-xano-in-same-or-separate-workflow/2061 "2023-03-19T13:10:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shrek](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@shrek](https://community.weweb.io/u/shrek)\
**Post date:** [March 19, 2023, 1:10pm UTC](https://community.weweb.io/t/display-api-output-from-xano-in-same-or-separate-workflow/2061/1 "2023-03-19T13:10:10Z")

</div>

My current set up:

1. Retrieve input from users on front-end via form submission
2. Add new record to Xano with user inputs
3. Send API call to ChatGPT based on inputs
4. Edit record created in step 1 to include output from ChatGPT

My question is:

- How should I modify the workflow in WeWeb to return the output from the API call in step 3 (which was made in Xano)?

Ideally, they click on form submit, and then the API output would be displayed in a card (which would be displayed to the right of the form they submitted):

(form | card)

Here’s my current workflow in WeWeb (the “Output from ChatGPT API” is just a placeholder and doesn’t do anything at the moment).  
 ![image](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/0/0d33b91fddda34d0be2f699fd2225b0c6c711acf.png)

---

<div class="post-metadata">

**Author:** ![DrHariri](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/drhariri/32/517_2.png) [@DrHariri](https://community.weweb.io/u/DrHariri)\
**Post date:** [March 20, 2023, 5:16pm UTC](https://community.weweb.io/t/display-api-output-from-xano-in-same-or-separate-workflow/2061/2 "2023-03-20T17:16:35Z")

</div>

Hello!  
If ChatGPT is returning some results on step 3, you should be able to access whatever is returned in any step after it. You should need to look for the tab with the icon ⚡ which should display any previous actions results and allow you to use them.
