WhatsApp Repeating Messages
# 🤝help
f
Dear Botpress team : Can I ask you to address an issue I have raised here regarding repeating messages in Chat. I have deployed my test bot to WhatsAPP(WA). However on numerous occasions the thing keeps repeating questions. I have posted some of the flows and screenshots (also see below). I am trying to get to the bottom of this issue as to what is going on. Have I mis-configured something or am I using bad practices ? ..... or is it something on the Botpress Cloud Infra that is causing a problem. I have been told by co-workers who have experienced the same dupe questions issues in chat sessions during testing that there is no way they can showcase the bot to clients. It will be a complete loss of any credibility we have. So what's the answer ???? Is this a known issue ? Is it down to platform resources ??? Etc.... I really need to know as I have hit a wall. On a positive note.... this is a great little product. I previously used Manychat + Dialogflow. Please don't make me move to another platform because issues that impact cust experience are left dangling in the air with no solution. I am even happy to pay for better service if I get stability and performance from the platform. What to do ???

https://cdn.discordapp.com/attachments/1137072854815481946/1137073109195825282/image.png

https://cdn.discordapp.com/attachments/1137072854815481946/1137073842834133152/image.png

f
is this only on the first turn?
does this behaviour mostly happen when a converation has not happened in a while?
is this strictly on whatsapp?
f
The issue occurs on multiple occasions with different input requests. I am focussed on Whatsapp. However I do vaguely recall that sometimes it has also happened within the botpress IDE used for testing.
m
I don't see the part of the flow that asks for the passport nationality, can you show that?
f

https://cdn.discordapp.com/attachments/1137072854815481946/1137080523374731405/image.png

https://cdn.discordapp.com/attachments/1137072854815481946/1137080632183365692/image.png

I don't know if this is connected in anyway, but I just upgraded to a paid plan and all my user.vars have been wiped out .... very strange

https://cdn.discordapp.com/attachments/1137072854815481946/1137081902562541730/image.png

Is there an API I can use to re-popuplate my user.var rather than typing the mall in again via the GUI IDE ?
m
I think what you want to use here is the "Wait for User Input" card instead of Single/Multiple Choice
f
does that allow one to pick from a multiple selection or do you just type in some data ?
I would like to give the user the option to enter text directly and also pick from a quick reply.
m
that's for typing, but I think the issue you're facing is that you're giving the users one option "British" but when you type in American the bot doesn't recognize it and thus tries again
f
OK, makes sense I guess I should do either pick from a list OR do direct entry ?? That makes sense. Thank you for your advice @mysterious-greece-6693
m
You're welcome!
f
Can I ask your opinion on my new problem ie the dissapearance of my user vars ..... do you know of any API that I can use to repopuate the bot with them.
m
That's beyond my capabilities unfortunately, can you open another post so someone more technical can take a look?
f
Hi , I tried again and re-pub my bot to WA. I'm still having the same problem. Bot is repeating many questions at random :

https://cdn.discordapp.com/attachments/1137072854815481946/1137812387651666000/image.png

I have a single card collecting the data.

https://cdn.discordapp.com/attachments/1137072854815481946/1137812789977698345/image.png

s
I have the same problem
m
does this only happen on whatsapp and never on the studio?
f
i also see it in the studio.
Its a real pain as we cannot demo the working WA bot to clients. What I and i guess others need to know is where exactly is the problem. On the client side ie us .... or the botpress cloud side ??? I tried removing the additional responses but it still repeated various messages. Is this a known issue to botpress or is it a non-best practice on my part. Thanks
f
hey
whatsapp can only display 3 buttons per message
that's why its being repeated
so that it can display all the buttons
@famous-jewelry-85388 can confirm this is what is happening
f
This is not the case for me. I have a msg with ONLY 3 buttons. The WA bot still asks me a question(A) (with 3 buttons). Takes the input , goes to question (B) another 3 button response req. Then it still comes back to Question (A) again. I can send you the screenshots to prove it. How sure are you this is indeed the problem ?

https://cdn.discordapp.com/attachments/1137072854815481946/1138262581170159676/IMG_1592.PNG

https://cdn.discordapp.com/attachments/1137072854815481946/1138262581589573765/IMG_1593.PNG

https://cdn.discordapp.com/attachments/1137072854815481946/1138262582331969566/IMG_1594.PNG

https://cdn.discordapp.com/attachments/1137072854815481946/1138262582894018673/IMG_1595.PNG

images are less than 20min old. The flow is in order. Any feedback welcome to help fix this. TIA !

https://cdn.discordapp.com/attachments/1137072854815481946/1138264733120737310/sharedImage.png

Update : I re-tested within the BP studio and I do not get any messages repeating. So looks good within BPS.
I also get the bot repeating multiple messages in the WEB channel.

https://cdn.discordapp.com/attachments/1137072854815481946/1138509859894075573/image.png

https://cdn.discordapp.com/attachments/1137072854815481946/1138510047438188585/image.png

b
I get it on Botpress and Whatsapp, any idea about why?
s
Did you get any help on this?
l
Hey everyone! I struggled with this issue too, and the best solution (for me) was to uninstall the WhatsApp integration, create new credentials and tokens, and then publish it again. I hope this works for you as well and helps others looking for a solution!
52 Views