# How to use data from a Workflow REST API Action's response

**URL:** https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911
**Category:** How do I?
**Tags:** binding
**Created:** [August 16, 2023, 12:39pm UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911 "2023-08-16T12:39:43Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![simonbasekit](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@simonbasekit](https://community.weweb.io/u/simonbasekit)
#### Post date: [August 16, 2023, 12:39pm UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911/1 "2023-08-16T12:39:43Z")

</div>

I have a workflow with 2 sequential REST API actions (both POSTs). The second action needs to use a value returned from the first action. I can’t find the actions anywhere in the binding UI so I don’t know how to get the value from the first action to bind it to a field in the second action.

Is there a way to do this?

---

<div class="post-metadata">

### Author: ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)
#### Post date: [August 16, 2023, 12:45pm UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911/2 "2023-08-16T12:45:38Z")

</div>

> [@Accessing workflow result variables in true/false split](https://community.weweb.io/t/accessing-workflow-result-variables-in-true-false-split/1687/2):
>
> you can access the results of previous actions by selecting it in the panel you see in your screenshot. If you see that the result is undefined just test the action and it will update with the result of the test.

---

<div class="post-metadata">

### Author: ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)
#### Post date: [August 16, 2023, 1:08pm UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911/3 "2023-08-16T13:08:16Z")

</div>

What if I want to store it as a variable? I mean you can change the variable, but then it gives ugly undefined before u trigger the REST fetch

---

<div class="post-metadata">

### Author: ![dorilama](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/dorilama/32/10403_2.png) [@dorilama](https://community.weweb.io/u/dorilama)
#### Post date: [August 16, 2023, 1:21pm UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911/4 "2023-08-16T13:21:44Z")

</div>

you can access the value of the previous action, so you can change a variable value in the next step.  
Of course every time you load the editor there is not test data in the workflow, you need to test the previous action to see the data.

---

<div class="post-metadata">

### Author: ![simonbasekit](https://avatars.discourse-cdn.com/v4/letter/s/ccd318/32.png) [@simonbasekit](https://community.weweb.io/u/simonbasekit)
#### Post date: [August 16, 2023, 2:14pm UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911/5 "2023-08-16T14:14:40Z")

</div>

Thanks for your advice here, I can see the Action responses in the Actions (lightning) tab now.

This tab was completely empty for me which is why I submitted this question. I’ve now created a new workflow and I can see the actions in there. Perhaps a bug?

---

<div class="post-metadata">

### Author: ![aurelie](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/aurelie/32/13249_2.png) [@aurelie](https://community.weweb.io/u/aurelie)
#### Post date: [August 21, 2023, 10:16am UTC](https://community.weweb.io/t/how-to-use-data-from-a-workflow-rest-api-actions-response/3911/6 "2023-08-21T10:16:19Z")

</div>

The result may be empty if the workflow was never ran on the page. We need it to be executed at least once to see the result 🙂
