I perform 2 API requests inside a custom code bloc...
# 💻developers
m
I perform 2 API requests inside a custom code block. The second API request uses the response of the first one. I want the bot to wait until these 2 requests have been made and the response is there. Unfortunately, the bot always continues with the flow before the API response is even there, resulting in an empty variable that is sent back to the user and the conversation ending instantly.