Data from previous step in backend workflow

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.

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.

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?

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.

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…

1 Like

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