This is more of a vague/general question, so for that I do apologize in advance. As part of my [AI training](https://intellipaat.com/artificial-intelligence-deep-learning-course-with-tensorflow/) projects, I'm building a simple Pthon app with Twilio integration that will allow users to send messages such as "how are you" and receive a quasi-intelligent response back from the app such as, "Good, how about yourself, Michel?". I have everything wired up and it works but I was wondering if anyone could point me in the right direction of writing an algorithm in Python that would make this "bot" smarter. Right now I'm using a pretty straight forward if/elsif/else chain to parse the payload and deliver the proper response but this does not seem maintainable once I get past 5-10 keywords. Would I be better off with a case statement (at least for readability) or is there a better OOP design pattern that would help me match my keywords and deliver a certain response?
Posted by Christina 5 months ago
Hi, I created a chatbot with all the connections between the interactions and they are still there when I am using the chatbot but they disappeared in the build menu. If I add them again in there, next time they visually disappear again (while still working). What's happing? I didn't have that issue last year.
Posted by Wendy 5 months ago
if I want build this connection:"make an order" must I build two connections,the first entity should be "order" and the second intent should be "make" or must build one connection:make an order if I must build just one connection,what should it be?an intent or a entity?
Posted by Domenico Caldaralo 5 months ago
Hey guys ! I am trying to set webhook calls to snatchbot from fulfillment section of dialogflow ,as I want to interact from dialogflow to snatchbot . I saw in the "config" section of bots for setting webhook for entire bot . But don't how to do it. any guess ? I know the python flask integrator from this https://www.pragnakalp.com/dialogflow-integration-with-snatchbot-using-python-flask/ won't work for me .
Posted by Manas Mohanty 5 months ago
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 5 months ago
Hi I have a bot that works on Telegram and Whats'App with a Pro Plan. Everything is fine on Telegram. I have a problem on What'sApp. I am working with the attributes "subscribe=yes" or "subscribe=no" to broadcast on both channels. When What'sApp users are not activity for several hours/days and I'm broadcasting a new message, they don't receive it. I checked in my lists and they all stay "subscribe=yes" (which is good but really strange at the same time, why they don't receive the new message ?). To make a test, if I go to the broadcast page and I sort by "subscribe=no", there is nobody. So how is it possible that the users do not receive the new message? It looks like a kind of timeout which makes them unsubscribe but not really... Moreover if they send back the "start" message "Heidi" (which allows to subscribe to our bot) it works again! As a reminder, my bot works like a list where users can subscribe (by sending the message "Heidi") and receive news from the broadcast system. They can unsubscribe from the bot by sending the message "stop". Can you take a look at my bot to help ? Thank you very much for the support
Posted by Yann Longchamp 5 months ago
I have developed an API that accepts a username and password. It returns a user nickname that I would like to assign to a custom variable. Even though I pass nickname as an attribute, the chatbot does not recognize a return value. How can I get data back from my API and into the chatbot?
Posted by Chuck 5 months ago
I am just configuring Snatchbot and when testing it with Facebook Messenger, the bot adds text to my content. How can that be? e.g. in my Hello Message (that is in spanish) the bot includes the following: "Hello! Thanks for reaching out! Can you please tell us your email?" And later between a couple of my phrases it adds: "Ok, let's skip that for now." "Cool, thanks! How about a phone number in case we need to reach out to you directly?" How can I remove those texts from my bot?
Posted by Daniel Fernandez 5 months ago