Gabriel Carvalho
Gabriel Carvalho
TTypebot
Created by Gabriel Carvalho on 8/16/2024 in #help-and-questions
How to Handle Asynchronous Flows in Typebot: Pausing Indefinitely Until Client (User) Response?
I am considering using a similar approach to yours, incorporating periodic checks into the solution. However, I would like to confirm if there might be a more effective alternative approach. Any additional suggestions or recommendations would be greatly appreciated.
10 replies
TTypebot
Created by Gabriel Carvalho on 8/16/2024 in #help-and-questions
How to Handle Asynchronous Flows in Typebot: Pausing Indefinitely Until Client (User) Response?
Yes, that's correct. Using WhatsApp flow functionality, I can't continue the conversation until I receive a response from the client.
10 replies
TTypebot
Created by Gabriel Carvalho on 8/16/2024 in #help-and-questions
How to Handle Asynchronous Flows in Typebot: Pausing Indefinitely Until Client (User) Response?
In this case, you have an API endpoint with a single response. However, my challenge is that I need to wait for the client's response in the WhatsApp flow, which could be sent after 1 minute, 10 minutes, or at any other time. To handle this, it seems necessary to use a real-time webhook, similar to Socket.io. For instance, when an action called "client_answer" is triggered, the bot flow can proceed.
10 replies