SnatchBot Support

Welcome to the SnatchBot Support. You'll find comprehensive guides and documentation to help you start working with SnatchBot as quickly as possible, as well as support if you get stuck. Let's jump right in!

The community forum is not a helpdesk
Let’s put this in the front - the vast majority of people here do not work for SnatchBot.

Get Started    SNATCHBOT API

Connections

Connections serve as the pipelines between Interactions and control the flow of your bot's conversation.

There are 3 main connection types: Simple connections, NLP Connections, and Fallback connections.

📘

When you create Quick Replies you can optionally add a Simple connection. This is designed to simplify the connections creation process.

To create a Connection, choose the Interaction that you want to connect the other interactions. Open the Connections tab, click the Add Connection button, then the Connection settings will appear:

📘

You can add as many Connections as you wish so that the current Interaction can branch out in as many directions as you require.

You will see that the Connection takes the form of an 'if-then' statement. If...

• the user’s response to the Interaction is... Then...
• the extracted data from the user’s response is... Then...
• the input of custom variables by the user is... Then...
• the input of attributes by the user is... Then...

👍

Conditions

Contains (whole word) - the keyword must be surrounded by spaces (or be first in the message) and cannot be a part of another word
Contains (any part) - the keyword can be anywhere in the message and can be a part of another word
Contains all of - all of the keywords you define have to be in the one user response
Doesn't contain any of - the message does not contain a keyword
Exactly matches - the keyword must be the only word in the message
Begins with - the message must begin with the keyword
Ends with - message must end with the keyword
Does not begin with - the message cannot start with the keyword
does not end with - message can not end with the keyword

To create a connection you need to select the item, condition, set keywords (or compare argument) and the result interaction.
You can use Attributes and Custom variables as a condition in your connections.

📘

It is possible to declare and use Attributes and Custom variables within the same interaction.

Fallback connection

Fallback if another type of connections. When none of the conditions you have defined are met after a user’s response, the Fallback interaction is triggered.

By default it is set to "do nothing", which will repeat the current interaction, but
you can choose an interaction to fall back to:

You can set up a webhook in the fallback. A webhook is a notification about an event that happened in the conversation. In the webhook field, you have to specify a URL to which a notification with data will be sent. The notification contains the time, user id number and text of the message.
Also, you can select specify attributes in the“Webhook Attributes” drop-down menu:

📘

Each webhook attribute, set in an interaction, automatically gets set up for the fallback and for each connection in the interaction.

Let us show how Connections work with a simple example. First, we create a Bot Statement as an introductory interaction filling the bot’s message with something like “Hello! I’m here to help you!”
Then we can create another Statement Interaction to ask the name of the user and connect it with the first interaction (we can as well specify a fallback for the first interaction redirecting it to the new interaction if no conditions are met):

As an example, we could create a Number Extraction Interaction to ask whether the user has children and if the answer is ‘yes’, then make a Connection to another Number Extraction Interaction to ask how many. If this answer is four or more, we could then have a Connection to a bot Statement Interaction about special promotions for families with more than two children and then make a Connection from that to to an Email Extraction Interaction so that the user can leave his or her address to receive more information about the promotions.

This would result in the following dialog:

If there are Global connections in the bot, then you will see the following indicator in the Connections tab:

If you delete the interaction which is set up in the “then go to” field from the structure of the bot, then you will see the following alert::

If you delete the NLP model which is set up in the “NLP model” field, then you will see the following alert:

Watch this video tutorial ''Connections in the SnatchBot platform''

Updated a day ago


Next Steps

Give the possibility to direct the bot to the needed subject at any point of the conversation.

Global Connections

Connections


Connections serve as the pipelines between Interactions and control the flow of your bot's conversation.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.