T
Typebot5mo ago
JM

Whatsapp Zapier Bug

I have a flow with blocks running in the following order: - Text Input block - Zapier block - Generate speech Open AI block - Display image - List buttons and the flow continues. The problem is, in Whatsapp, when the Zapier block runs, it continues until the list buttons step, and then appears to return to the Zapier block and start from there again. It does this several times (maybe more, I'm not sure, I didn't wait to check and just restarted the Whatsapp chat in case it was an infinite loop). I'm suspecting it's the Zapier step it's going back to each loop because I can see in Zapier that the associated zap got triggered two or three times.
2 Replies
Baptiste
Baptiste5mo ago
There is indeed an issue currently with WhatsApp when you execute long running blocks like OpenAI etc... Since it takes a long time to process, WhatsApp thinks it did not work so it executes the process again (up to 5 times). I'm currently working on an infrastructure change to fix this. It will be deployed this week hopefully!
Baptiste
Baptiste5mo ago
GitHub
Migrate chat API to a standalone server · Issue #1154 · baptisteArn...
Serverless environment is not suitable for Typebot's chat API as it can execute long running processes (AI stuff mostly). There is for example an issue with the WhatsApp webhook retrying the re...