Share feedback, ideas and get community help

Updated last year

WhatsApp stucks

At a glance

The community member has a minimal bot that works fine in the test environment, but when they enable the WhatsApp integration and publish it, the bot gets stuck and stops working even in the test environment. They have to reload the Typebot container to get it working again. The community members discuss various issues they are facing with the WhatsApp integration, such as the bot getting stuck even with the integration disabled, and the need to remove the API key to stop the behavior. Some community members suggest trying to restart or redeploy the self-hosted version, or using a different tool like Messagebird for WhatsApp integration. The community member decides to stick with Typebot and work with the developer to fix the existing problems.

Useful resources
I have this minimal bot, that works fine in the test environment.
I can enable the Whatsapp integration, publish and still works fine.
Attachment
image.png
V
m
B
29 comments
But as soon as I send a message through WhatsApp, it gets stuck and stops working, even in a test environment. To get it working again I have to reload the Typebot container.
Attachment
image.png
The docker-compose logs show just regular initialization.
Nothing after "Ready".
Are using official whatsapp api, or other?
Even with the Whatsapp integration disabled and published, a Whatsapp message are still able to make it stuck.
How bizarre. 👀
Attachment
image.png
I had to remove the API key to stop this behavior.
Attachment
image.png
If you are using a selfhosted version try to restart or redeploy
@Vilela™ I would like to give you some advice, far from wanting to depreciate TYPEBOT, I'm just saying that if you are looking for an integration with WhatsApp, you shouldn't use Typebot, at least not yet, just use it as a chat widget on some website, the integration with whatsapp still needs a lot of adjustments, I personally use messagebird, it is very complete in relation to whatsapp.

PLEASE I'M NOT SPEAKING BAD ABOUT TYPEBOT, just an opinion from a user who seeks the best for the end customer.
Attachment
image.png
In my opinion, typebot is becoming very complex and with some conflicts, they should create another app just for WhatsApp, Instagram and once everything is ok, create a way to integrate.
It fixes till I sent a new whatsapp message.
Thank you for the advice, but (at least for now) I'll stick with Typebot and try to work together with Baptiste to fix any existing problems.
I'm really tired of trying different tools and gluing them together, each with its own features and bugs.
We need a tool to rule them all (and bring them all in the darkness).
Your attitude is very noble, without a doubt you will help a lot to improve typebot.
I have also used and researched many tools.
It's more laziness than nobility. 😆
Try talking to Baptiste, I think if he created an application just for the WhatsApp flow separate from the chat widget flows it would be simpler and with fewer conflicts
One thing I remembered, after 24 hours, it is only possible to send a template type message to a WhatsApp number.
Sorry, I don't get what it means. First time I'm working with Whatsapp API.
Can you explain it?
Yes of course, if the customer does not send the message first, you need to send a template type message, only after the user responds back can normal text messages etc. be sent.
This is a way Meta uses to avoid spam
The first message to a client must be a template, and it must be approved by Meta.
This is way you need set a Start bot condition, this means will start only after the user send a message.
Thank you. I've learn something. 👍
But in the case of this specific error, the user is sending the message first.
there is configuration of any start bot condition?
Attachment
image.png
if you do not set a Start bot condition, will start with any messagem he send.
I fix the problem by replacing the number.
No idea what caused it. 🤷‍♂️
Hmm strange, if you have a clear way to reproduce that, I'd be interested!
Unfortunately I don't. Not for lacking of trying.
Very strange bug.
Add a reply
Sign up and join the conversation on Discord