WhatsApp Agent Chatbot for multiple users.
# šŸ¤help
a
Im creating a whatsApp ChatBot for my school, for parents, staff or students who need to use it. I have created a simple system what basically does conversational memory based on the bot press video, and it just through my Botpress Knowledge of all the information i provided it with. I have it currently working on the Test number provided by meta, but now i want to make sure is there anything i have to do in my workflow that will allow me to have multiple phone numbers? have them each have their own converstation without and memory to their converstation? provide a reset option to the user if they would like that. and i want a chat limit for them
Though Currently at the moment im having an issue with the converstational memory it keeps responding with @workflow.response on whatsapp
but in the emulator it works completely fine
f
Probably because the variable is empty. You can set up a fallback for it

https://www.youtube.com/watch?v=Q2VMitD6DMU&tā–¾

a
hmm okay ill look into it thanks
f
You are very welcome šŸ™‚
a
im a bit confused here so the transtion KnowledgeAgent.responsded setup is the fallback?
currently i have conversational memory setup from that video.. all id need to do now is just add the turn knowledgeAgent into the same node or on a new node?
or im i understanding this incorrectly..
f
You would add an expression card right after querying the KB, before sending the respond. This expression card will check if there was an answer from the KB.
havent tested it on whats app though
ITS WORKING AYYY thanks
now i gotta figure out.... how to do multi number for people to have their own chats with and not get confused..
and figure out how to get it to respond faster.. its a bit slow ish
Uhmmmm I’m pretty sure I didn’t tell it to do anything with Arabic…weird but this is pretty interesting and cool sure I’ll take it
f
That is amazing to hear!
It already does that!
f
That looks like an issue in your flow. You should debug your flow in the emulator, I am pretty sure you will have the same issue there
a
i do have this in my emulator i just dont know why it does it
my workflow is the literally the converstational memory and fallback video
its almost exactly the same how it was setup in the videos
f
Can you send me a screenshot of your Raw Input card? Like what you have in the "Message to send to user"
a
its my @workflow.response variable
f
Its your AI Task that is also answering the question from the user
f
Its sending 1 message which is t he answer from the Knowledge Base, then its sending another message which is the answer from your AI Task
a
well then how do i set it up in a way that will let it get the answer from my knowledge base answer it with the AI task and still have converstational memory
because this is how this person set it up atm
f

https://www.youtube.com/watch?v=vAaCudOUwucā–¾

https://www.youtube.com/watch?v=z4dLcUfF8d0&tā–¾