User data helps a business understand their customers and provide better products and services. This data sometimes may become too big to handle or apply metrics on or a bot builder may want to target a certain set of audience based on a given parameter. In this scenario, a bot builder would need to filter and create a group of users who fulfill the given criteria.
MyBOT provides this functionality to their users by providing the ability to create segments. Segments are used to categorize users based on certain rules which would be primarily comprised of attribute-value combinations, including certain system ones.
You can create segments by selecting Users Tab on the left panel and navigating to the Actions button. In the drop-down click on Manage Segments.
2.1 Creating and Saving
1. Click on Manage Segments and select Add Segment
Segment Name: This is the name you want to keep for the segment being created.
Conditions: This lets you set constraints to filter users to be added to the segment
Filter Expression: This allows a user to add ‘And’, ‘Or’ and ‘Custom’ function to create the evaluation expression
Let’s consider a sample use case where we need to get Millenials from our users. We set criteria that to be in the millennial segment a user must be greater than 22 years and less than 37 years in age.
The below image shows how we can create the desired segment.
When the segment is successfully created it shows up on the segments page