COMMUNITY
Logic operation
Is there a way for snatchbot to send a message depending on the current time?
I am making a support bot and our customer workers are only available during 8:30am to 5:00pm
lets say its 9am then the bot would say: Please wait, someone will talk to you shortly...
and if its 8pm it would say: Our customer service is currently offline.. blah blah...
thank you !
Posted by Jessy over 5 years ago
google sheets and paypal
hello, I'm starting with the chatbots and I see that there are not many examples, I have not found many videos on youtube.
I think your platform is good but it lacks diffusion and examples.
I have several questions:
1. the chatbot can save information and extract information from google sheets or a database? if so there is an example, to learn and copy?
2. Is it possible to access other means of payment using chatbot other than paypal?
https://support.snatchbot.me/docs/paypal
example pay with stripe or bitcoins (https://www.coinpayments.net/)
what I want to do is that at the time of payment shows several payment options and can verify whether the user paid or not.
my idea is that the chatbot shows the payment option, then verify that the user has paid, receive the data, and then when the user wants to know in what state the order of service, the chatbot check the database and that information.
Is it possible to do it?
3. it is possible that the chatbot, knows if it is the first visit of the client or if it is recurrent in the visits, I ask this because depending on the type of visit, it is possible to give different information at the beginning.
4. Is it possible that the chatbot will only be activated if the client visits a special page?
If I pay 30 dollars, for the service these doubts are answered and help me to make a demo?
Greetings and congratulations again for the platform
Translated with www.DeepL.com/Translator
Posted by Andres over 4 years ago
Session expiry
Hello,
is there is any way or work around to disable session expiry ? because it's ridiculous to start the chat all over again every three hours.
people sometimes recontact you and it's not cool to keep ask them the same questions
in the past the value of session expiry was unlimited but now it's limited to 10800 seconds
Posted by Allagui houssam about 4 years ago
JSON API with scripting
The document which I referred was not helpful.Is there any other document or related forums stating the issue??
Note: I'm using Python.
link which I referred: https://support.snatchbot.me/docs/using-the-json-api
Posted by Krishnadasan almost 6 years ago
Snatchbot API returns all messages with the same From field
I'm doing a get on https://account.snatchbot.me/channels/api/api with the app id and secret, querying for a specific user, but all the messages I get are from the same ID, even when I reply from the bot or from Snatchbot Index.
Example:
```
{
"messages": [
{
"cards": [],
"date": "2019-11-20T15:11:40Z",
"from": "io1",
"id": 54019657,
"message": "lkjlkj;",
"speech": null,
"suggested": {
"quick_replies": null
}
},
{
"cards": [],
"date": "2019-11-20T15:11:10Z",
"from": "io1",
"id": 54019531,
"message": "Hello, an agent will be with you any minute.",
"speech": null,
"suggested": {
"quick_replies": null
}
},
{
"cards": [],
"date": "2019-11-20T15:11:08Z",
"from": "io1",
"id": 54019524,
"message": "helpop",
"speech": null,
"suggested": {
"quick_replies": null
}
}
],
"status": true
}
```
Posted by Cristian Dan over 4 years ago
Quick reply
Hello, i am new to snatchbot, so far everything seems to work okay, exept that i can't remove a quick reply by pressy the red X next to it. I am using google chrome. I dont understand why it wont let me erase it. I can only erase the group of quick reply but that is it.
Posted by Jessy over 5 years ago
Sendind a broadcast - I filtered but it sent to everyone
I filtered a message with a custom attribute but it sent to everyone.
After filtering it said "1 out of 1 are selected. Total selected: 159". What does that mean? I figured it would only send to 1 person but it went to 159.
Thanks
Posted by Corey over 5 years ago
Can we share our bot to other user
How to share bot from one user to other? If it is not available what is the other alternative
Posted by Tulasi Snigdha over 5 years ago
Is there currently a problem with SnatchBot via Web channel?
I try to open my Bot but currently nothing is responding and I already switched Browsers just to be sure it is not related to that.
Posted by Jan Eijsten almost 6 years ago
Creating Button via JSON API
Hi there, I would like to know what is the right language to use to create a message via JSON APIs that has a text button that connects to an interaction ID and continues the flows.
It should be something like this, but the "cards" nesting attributes would be different, I am looking for those attributes names:
{
"user_id": "4182222222",
"bot_id": "120700",
"module_id": "188844355",
"message": "Click on the relevant button",
////from here below it would need to change////////
"cards": [
{
"type": "gallery",
"value": "gallery",
"gallery": [
{
"image": "{{3.url}}",
"heading": "NASA APOD for {{3.date}}",
"subtitle": Explanation: {{3.explanation}}",
"url": "https://apod.nasa.gov/apod/astropix.html",
"buttons": [
{
"type": "url",
"value": "https://apod.nasa.gov/apod/astropix.html",
"name": "You can also view it here"
}
]
}
]
}
Posted by Pierandrea Renna almost 4 years ago