Additionally, seems like Botpress workflow doesn't...
# 💻developers
t
Additionally, seems like Botpress workflow doesn't stop and wait for the response/error from server when I make API request using execute code block. As an example, I used 2 execute code blocks in sequence first one makes request to flowise and receives response second one sends request to a Python backend. Response from the Python backend is faster than the one from flowise (since it also sends request to OpenAI). But 2nd block should execute based on the response from the 1st one. What would be a good solution for this? How can I delay the execution of the second block? or is it better to execute both requests in a single block? Is it possible to actually stop the entire flow for few seconds?
s
Hi, sorry for the stupid question, but did you await the response from axios?