COMMUNITY
Multiple If statements not working
I have using Multiple If statements to match for the past 1 year it works fine. for the past 2 weeks it seems to be failing.Kindly let me know is there any new changes in the multiple statements.
Here is my implementation
```
[IF([responseTo interaction=2156138 fallback=TEXT]=1){[setAttribute cattle_type=Cow]}]
[IF([responseTo interaction=2156138 fallback=TEXT]=2){[setAttribute cattle_type=Buffalo]}]
[IF([responseTo interaction=2156138 fallback=TEXT]=3){[setAttribute cattle_type=Goat]}]
[IF([responseTo interaction=2156138 fallback=TEXT]=4){[setAttribute cattle_type=Sheep]}]
[IF([responseTo interaction=2156138 fallback=TEXT]=5){[setAttribute cattle_type=Poultry]}]
[IF([responseTo interaction=2156138 fallback=TEXT]=6){[setAttribute cattle_type=Pet]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=3){[IF([responseTo interaction=2156215 fallback=TEXT]=1){[setAttribute case_no=18A] [setAttribute case_name=Deworming]}]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=3){[IF([responseTo interaction=2156215 fallback=TEXT]=2){[setAttribute case_no=19A] [setAttribute case_name=Worm infestation + Undernutrition]}]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=3){[IF([responseTo interaction=2156215 fallback=TEXT]=3){[setAttribute case_no=19A] [setAttribute case_name=Worm infestation + Undernutrition]}]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=3){[IF([responseTo interaction=2156215 fallback=TEXT]=4){[setAttribute case_no=19A] [setAttribute case_name=Worm infestation + Undernutrition]}]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=4){[IF([responseTo interaction=2156215 fallback=TEXT]=1){[setAttribute case_no=18A] [setAttribute case_name=Deworming]}]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=4){[IF([responseTo interaction=2156215 fallback=TEXT]=2){[setAttribute case_no=19A] [setAttribute case_name=Worm infestation + Undernutrition]}]}]
[IF([responseTo interaction=2156140 fallback=TEXT]=4){[IF([responseTo interaction=2156215 fallback=TEXT]=3){[setAttribute case_no=19A] [setAttribute case_name=Worm infestation + Undernutrition]}]}]
தங்கள் கால்நடைக்கு ஏற்பட்டுள்ள பாதிப்புகள் பற்றிய *முழு விபரம் பெறப்பட்டடுள்ளது*.தீர்வு பெற *1 ஐ* அழுத்தவும்
```
Bots getting arffected with this
129825
133463
Posted by NIDHIN KUMAR over 2 years ago
How to register ?
when I fill the form, the validation button does not activate, I can click but nothing happens.
How to create my account?
thank you
Posted by Gabriel DA SILVA about 6 years ago
MyFriend
Hello,
how can my bot send 3 msgs in a row without receiving a msge from user, meaning:
Mssge 1 Bot: "Hello"
1second pause
Mssge 2 Bot: "Glad to have you visiting us"
1second pause
Mssge 3 Bot: "What can I do for you"
User mssge 1: Hello
User mssge 2: I want to know about XYZ....
is that possible? if so, how can I do that?
Thank You!
Posted by jose cano almost 6 years ago
Is it possible to disable "Please Choose"?
Hi Admin,
Are you guys able to disable the message "Please Choose" in Telegram if I were to add quick replies? It can be very confusing for my customers!
Posted by Thung Jia Cheng almost 4 years ago
Facebook Messenger Bot Issue
I've been facing issues using the Facebook Messenger bot platform, where occasionally after a user sends a response, the bot hangs and freezes with an animated speech bubble displaying "..." or "snatchbot is typing", failing to send the intended bot message. However, I was able to solve the issue by repeating the same user response again, which affects user audiences. Does anyone else experience this problem? Can it be identified and solved?
Thank you
Posted by Samuel W. over 5 years ago
JSON API not making any request to API address
Hi Support,
My bot id is 146284. I am not sure why my API request (2292498) returns error even though i receive a 200 response from verifying my API address. Testing my API address on Postman returns a JSON response has the same fields as those that are in your documentation (https://support.snatchbot.me/docs/using-the-json-api). There were also no requests made to my API when i am testing my bot verified in Postman proxy capture requests.
Thank you for your help in advance!
Posted by Lim over 3 years ago
adapt chatbot to mobile
Hello good day. I would like to know how I should do so that the chatbot can be seen in full screen seen from my mobile on the website.
When I click on the bubble, the chat on my mobile opens completely.
What code should I implement, or how should I do?
Posted by Botty over 5 years ago
Custom Variable in Simple Connection doesn't work
I am unable to connect to 1629340 using the variable I have declared "qtyMoreThan5" from 1629341. How do I proceed from here? Please refer to the screenshots below.
Posted by Thung Jia Cheng about 4 years ago
Native App API Usage
When I try using Postman to test the API functionality, so I can integrate with a native app, I only get a response for the initial POST (which requires url parameters user_id and message), with my welcome message. Everything after that for the same user_id returns blank. What am I doing wrong that I can't get the next questions/messages?
Thanks in advance
Posted by Karen L over 5 years ago
Continue Conversation no matter what the user wrote
Hi guys, one of my first questions in my bot is " what is your name" - now in order to continue with the conversation I would have to put in a connection and add all possible names so that the chatbot would continue with the conversation. Is there any trick how the chatbot will continue the conversation no matter what the user wrote?
Hope you can understand my question. Thank you so much.
Posted by Julia Egli about 5 years ago