COMMUNITY
variable functions and loops in snatchbot.
hi,
can i program the snatchbot with variables and loops?
i know i can set a variable. i can increase this variable.
now what i would like to do is connect it with a goto/connection to a different interaction.
something like that...
[IF(myVAR=0){goto/connectionID}]
thanks!
Posted by Tera almost 4 years ago
Sending live chat messages via API
Hi,
I am using the snatchbot in my iOS app and using API's to integrate them. I am using POST request for my messages for which replied are available in bot. This works absolutely fine.
Now, i want to enable "live chat" via Inbox in snatchbot enabled for it via JSON. How do i do that ? POST request will not work i think as the admin needs to respond for the response. I want to enable admin to chat to the user via this live chat.
Thanks
Jatin
Posted by Jatin almost 4 years ago
Testing my bot: always "Typing..." and nothing else appears
Hello,
I have problems testing my bot. As a beginner I just wanted a bot saying "Hello" to learn how to use this tool. I've created a text response, entered "Hello" in the text box and activated the test button. However, I only see "is typing..." and nothing else appears in my chat box.
I've tried it on Safari and Chrome and have the same problem on both navigators.
Any idea to solve this ?
Posted by Marianne almost 4 years ago
Test chat not working
Hi! If I test the interaction I get the following error: "You have an active conversation in another tab. Do you want to continue existing conversation or start a new one in this tab?
Note, previous messages will not be visible here if you start a new conversation."
Even if I select to "start over" nothing happens.
I logged out of the programme and restarted my browser.
Thank you!
Posted by Marie Hattingh almost 4 years ago
ResponseTo interaction not working
Hi, I just want to retrieve the name from a previous response but instead I get the actual statement [responseTo interaction=1864337 fallback =Oh dear! Something went wrong, let's start over again]
Posted by Marie Hattingh almost 4 years ago
No conversation display
Hi please help how the bot's conversation can be displayed in chat bot window during interaction in web chat channel.
Posted by Brainverse almost 4 years ago
Can I setup minigame on snatchbot ?
Hi,
I want to create a minigame for chatbot, this is "Spin", so can Snatchbot create a Spin for minigame ?.
Thanks
Posted by trung almost 4 years ago
Using microphone via api
In there a way to use microphone functionality via REST API?
Thanks
Posted by Mihir Luthra almost 4 years ago
Live chat via api
We are trying to integrate our app's chat functionality with snatchbot.
In the process, we use snatchbot API to make a POST request with user's message and get bot's response.
For example, on sending the following post request:
```
curl --request POST \
--url 'https://account.snatchbot.me/channels/api/api/id<bot_id>/app<app_id>/aps<app_secret>?user_id=<user_id>' \
--data '{"message": "Hi"}' \
--header 'content-type: application/json'
```
The response from bot is:
```
{
"cards": [
],
"messages": [
{
"message": "Hi. I'm your bot. What would you like to know today?",
"speech": ""
}
],
"status": true,
"suggested": [
"Nothing",
"Live Chat",
"About Apples"
]
}
```
Till here it works great.
Problem arises when the user asks for live chat. The messages being sent by the admin from the live chat inbox don't appear in JSON results above.
How can I get the live chat messages via API?
Thanks
Posted by Mihir Luthra almost 4 years ago
I would like to use SnatchBot with Linkedin.
How can I do that?
Posted by Steven Kahn almost 4 years ago