You can use A/B testing, to differentiate the experience of your users. An easy way of implementing this is with the Random number generator webhook The webhook generates a random number between two parameters,
max (default 0 and 1), and stores it in the
random_number context variable.
To implement this feature in your Môveo brain, perform the following steps:
Create or select an existing brain.
Go to Webhooks, select Create webhook and enter the following details.
Name: Random Number Generator
https://integration-guides.moveo.ai/api/common/random-number-generator?min=0&max=100(add your desired values for
maxas query parameters)
Verification token: Add a placeholder. Verification tokens are ignored by this webhook so you can add anything you want.
Create a new dialog, or import this ready-made dialog.
Modify the conditions of the dialog according to your desired outcome. For example, if you want 30% of users to be directed to
event_aand the rest to
event_b, the conditions can be set as follows: If
random_numberis less than 30, the user goes to
event_a. Otherwise, the user goes to
Example use cases
A/B testing has several applications, including:
Testing different chatbot brains and analyzing their performance using analytics.
Transferring a percentage of users to a live agent for immediate assistance.
Personalizing the user journey by offering different options based on the
random_numbergenerated by the webhook. For instance, you could present a survey to only a portion of users.