# Data from previous step in backend workflow

**URL:** <https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003>\
**Category:** Need help\
**Created:** [April 18, 2025, 4:07pm UTC](https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003 "2025-04-18T16:07:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tech16](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tech16/32/239890_2.png) [@tech16](https://forum.bubble.io/u/tech16)\
**Post date:** [April 18, 2025, 4:07pm UTC](https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003/1 "2025-04-18T16:07:21Z")

</div>

Hi,

In my backend workflow, I have the following steps:

1. I call another backend workflow which will create an user if he does not exist already
2. I create a new thing, one of the fields is user. I use a do a search for user and find first item. This works fine if the **first** step completes and then **second** step executes. But it will fail if these two steps run in parallel.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/7/3/73452390f668dd2ac722958afb848152ee32e42e.png)

Is there a way I can run step 2 only after step 1 is completed. If not how can I update the user field in step 2?

Thanks,  
Ram.

---

<div class="post-metadata">

**Author:** ![Jici](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jici/32/30722_2.png) [@Jici](https://forum.bubble.io/u/Jici)\
**Post date:** [April 18, 2025, 4:40pm UTC](https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003/2 "2025-04-18T16:40:07Z")

</div>

Why do you schedule a WF to create a user if this is something you could do directly as step 1 in this workflow ? You can, in step 2, to set the user field, use Do a search for user (where user email =…) :plus item REsult of step 1 (create user):first item.

However ,why are you creating user in backend WF?

---

<div class="post-metadata">

**Author:** ![tech16](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/tech16/32/239890_2.png) [@tech16](https://forum.bubble.io/u/tech16)\
**Post date:** [April 18, 2025, 5:23pm UTC](https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003/3 "2025-04-18T17:23:09Z")

</div>

This is for certain scenarios when user places an order on shopify and if that user is not registered in bubble, I create an account for them.

I’ll try create the user in step 1 instead of calling another workflow.

---

<div class="post-metadata">

**Author:** ![geovanevasconcelos2](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/geovanevasconcelos2/32/233905_2.png) [@geovanevasconcelos2](https://forum.bubble.io/u/geovanevasconcelos2)\
**Post date:** [April 19, 2025, 1:11am UTC](https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003/4 "2025-04-19T01:11:32Z")

</div>

You can use the bubble app connector (not the API connector) and connect to your own app, then you add this api call there.

On the API workflow, you need to set up the return data from api and choose what you want to return there, and it will be available as result of step…

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/bubble/original/3X/2/8/2847faa74692c2ffa5d939d3dc3724cdd060d247.png) [@system](https://forum.bubble.io/u/system)\
**Post date:** [June 27, 2025, 4:07pm UTC](https://forum.bubble.io/t/data-from-previous-step-in-backend-workflow/367003/5 "2025-06-27T16:07:36Z")

</div>

Closed on June 27, 2025, 4:07pm UTC

This topic was automatically closed after 70 days. New replies are no longer allowed.
