help.chat-api.com

Logic blocks - Randomizer

The "Randomizer" block allows you to set up a randomizer inside your script.
 
How to set up

The block has several distribution groups, at least two, but no more than ten. Each one has a percentage probability. The percentage value shows with what probability the user will get to the given branch of the scenario.

The sum of all percentages can be more than a hundred. Although the bot will write that it needs to be corrected, it will work with the percentage set.

Basic tuning

There is a basic setting in the "Randomizer" block - the bot remembers which scenario the user has gone through and directs him along the same path when he hits that step again. To randomly select a scenario triggered each time the user enters this block, you need to put a checkmark in the settings "Random selection at each entry".

Was this article helpful?

Your opinion will be used to improve the content of the article

The Most Multifunctional WhatsApp API Provider

Chat API has been operating since 2015 and is one of the first and largest providers in Eastern Europe.

Here are some curious and important figures:

  • We have tremendous expertise in docker container management at scale with an SLA of 99.5+%;
  • Chat API involves in its work more than 200 servers, with the ability to quickly connect another 100;
  • 3200 cores and 25 terabytes of RAM;
  • 200+ WhatsApp methods and features that keep adding;
  • Highload system, Up Time servers 99.9%;
  • Support 24\7;
Get access to the WhatsApp API