Features and Filters
Set Attribute
Attributes are an important feature that allows chatbots to interact with users in a more personalized way. Attributes can be used by assigning information to users or other entities in chats, transferring this information to web services, or customizing chats.
There are two types of attributes: Default Attributes and User Attributes. Default Attributes allow for the automatic collection of predefined information from users. For example, information such as the user's name, surname, gender, or avatar are default attributes and can only be used for bot responses.
User Attributes, on the other hand, are attributes associated with users or other system entities. User Attributes can represent any information that can be used to customize the bot's chat and even transferred to web services. For example, User Attributes can be used to offer a special deal based on a user's predefined location or preferences.
The action of setting an attribute can be used to assign custom attributes at any step of the scenario. The question action, on the other hand, can be used to authenticate the user and collect attributes.
Attributes can be added to all bot responses, including headers and buttons. To select an attribute, you can click on the curly bracket symbol or write double curly brackets. This way, especially user attributes can be used in bot responses, and the bot can provide customized responses based on the user's preferences or predefined information.
-
First, let's enter our scenario.
-
Let's create a short scenario for testing purposes. In this example, I'm going to use an action called "attribute" by asking a question and asking for the name. In the part highlighted in red, we will choose where to save the answer to our question. In this example, I chose it as a name and continue by saving it.
-
I'm adding a bot response to the end so that the bot can respond with the attribute we specified. I'm responding by writing our specified attribute. The bot will automatically use whatever the user responds.
**That's all for our operations. You can see the result via the video below. **
Filter
Filters are features that allow you to decide whether a chatbot will send a specific response or action and when it will be sent.
Filters are used to trigger different responses and actions based on user information collected by the chatbot and information learned by the bot. For example, your chatbot can show different messages to a returning customer or a user who clicked on a specific web page.
Chatbot filters can be of different types:
Attribute Filter: You can trigger a specific action or response using default or custom attributes.
Message Filter: You can trigger a specific action or response based on user input.
Custom Filter: You can create filters based on your own conditions.
Chatbot filters can be used by applying multiple filters to a bot response or action. Bot responses or actions are shown to users only when they meet the conditions in query filters.
The use of filters is explained with examples. For example, you can use a message filter to create different conversational paths for your chatbot when football players search for football and basketball players search for basketball.
-
First, let's open our scenario and connect a user input.
-
Then, let's write the keyword and what the user might say.
-
Let's add 2 "Filters" to the user input we created.
-
Let's click on the created filter and in the opened window, write the message value at the top and make the condition equal. In the lower part, enter "football" as the value. Thus, it will pass through the filter when the word football is written.
-
Let's do the same for the other filter. This time, let's write basketball and continue by clicking "add filter".
-
Let's add a bot response to these filters and make the bot talk the same way by adding a bot response.
**In short, this is how you add filters. You can see the result via the video below. **
As seen, Supsis has such a simple interface. If you encounter any problems, our support team can always be in touch with you. We are happy to solve your problem. Because our users are very important to us. You can access our Supsis website here and request support.