APIs not being called sequentially

Hello Bubblers,

I have a workflow that calls 3 APIs one after the other but I noticed that theyre not called sequentially for example api-call-3 is being called before api-call-2 and api-call-3 depends on the result of api-call-2 so it’s constantly erroring out. Is there a way I can make them run sequentially or is this a bug?

If the API action 3 refer to something in step 2, it shouldn’t run before. If this is the case, report it as a bug. However, are you sure that API have completed job in step 2? Please share screenshot of your settings and API doc to the endpoint you are calling for each step

1 Like

Take time to read this too

2 Likes

Because it’s hard to know whether workflows will run sequentially in Bubble, I highly recommend breaking down your workflows into Custom Events that are triggered. For example, run the first workflow and trigger a custom event passing data from workflow one into it, which then does the same to workflow 3, etc.

2 Likes