COMMUNITY
Logical Operations - Division
Hello guys,
Currently I want my bot to use the answer from a division of 2 numbers in a "IF" condition and display the appropriate answer. I created appropriate custom variables and everything. In the final answer, the bot is displaying right answers for few conditions and does not display the answer for few. More precisely, for less than and greater than conditions, the right answers are displayed but when I put Equal to symbol for decimals, the bot is not able to fetch the right answer. The bot seems to recognise several places after decimal point. What do I do when I have to precise my answer to 2 or 3 decimal places.
For ex. [IF([showVar=X]>0.53){Display}] and [IF([showVar=X]<0.54){Display}], the right answers are being displayed but when I define a specific value like [IF([showVar=X]=0.61), the bot is stuck and does not display anything.
How do i overcome this?
Posted by AS almost 6 years ago
Live chat
Hi dear,
I set up the await response integration but it doesn't work. I need to know if this feature is only enabled in the pro version. I checked many times but it does not work.
Posted by maryam over 4 years ago
!!! HELP my bot completely broke on Facebook
(bot id = 54450) My bot on Facebook went from working perfectly to completely broken without me changing anything at all. This is catastrophically bad since we are launching this bot in a matter of hours. Please help me fix this!
My bot seems to still be working within the Snatchbot web chat, but on Facebook it went haywire. It started sending endless messages. When I deleted the conversation and tried to start again, Facebook showed two popups. One said "Action Unsuccessful: There was an error delivering your message to the page, please try again later." The other said "Send Failed: This person isn't available right now." I couldn't even send a message to the bot.
The Facebook page in question is https://www.facebook.com/Trumps-Ear-293054934951111/.
Posted by Jonas almost 5 years ago
How to store data got from a call to an external API.
Hi,
I use a JSON API interaction to send a user id to the API of an external service. The response from the API contains the name of the user. I have implemented the connection with Integromat.
I get back a response like this :
{
"user_id": "xxxxx",
"bot_id": "xxxxx",
"module_id": "xxxxx",
"message": "Hi George."
}
Where "George" is the name of the user.
Now I want to store the value "George" so that I can use it in other parts of the conversation. I suppose I should store it in some custom variable or custom attribute.
I tried things like that :
{
"user_id": "xxxxx",
"bot_id": "xxxxx",
"module_id": "xxxxx",
"message": "Hi George. [customVar varUserName=George] [setAttribute attrUserName=George]"
}
Note : The attribute "attrUserName" is an existing, already created attribute.
Unfortunately it doesn't seem to work. The variable "varUserName" or the attribute "attrUserName" do not hold the value "George" in the next interaction.
I have searched the documentation and the community questions, but I was not able to find a solution. I did find a similar question :
https://support.snatchbot.me/discuss/5b69c40498801a00030d972c
where the answer says this is possible, but it doesn't explain how.
So, am I doing something wrong? What is the way to do this?
Posted by fkerasar about 5 years ago
Can I extract all user fb data to a downloadable spreadsheet from the chat including the chat transcript
Hi,
As above. Thanks
Posted by Darren Osborne almost 6 years ago
cant change the width of chatbox iframe, need to reduce the width to 400px from 600px
can change the width of chatbox iframe, need to reduce the width to 400px from 600px
Posted by Nitin Nagpal almost 4 years ago
Facebook Messenger channel problem
Hi!I want to add a Facebook Messenger channel but I couldn't .How all the other channels are working fine
(The plus button not working)
Posted by Abir Hajji almost 6 years ago
how to add icon to quick reply buttons
how to add icon to quick reply buttons
Posted by krishna over 4 years ago
Bot error, works unreliably
Hi, we are trying to implement our bot on our website. At times the chatbot works fine, but more often when anyone clicks the chat open just a message is displayed: "Error, server error or bot has been unpublished" (I am paraphrasing). Do you happen to know why this happens and what can be done about it?
Posted by Atte over 4 years ago
Display a message above Avatar before opening
Hi
is it possible to display a message above the avatar before opening to get the user to click and open it?
KR Jan
Posted by Jan Knobeloch almost 5 years ago