Actions
Actions in Smartbot Pro are steps taken by the bot in response to user commands.
Last updated
Actions in Smartbot Pro are steps taken by the bot in response to user commands.
Last updated
There are 10 in total:
send a message
Process message
set variable
Extract data
Write to statistics
Run Smart Query
Working with the user
Switching to another scenario
Scheduled transitions
Write to the manager
Actions are added to your script screen as rectangular boxes.
There are two ways to add an action:
Select the desired action in the additional menu
2. Right-click anywhere on the screen of your scenario and select the desired action from the pop-up window
A new action block will appear in the middle of your script screen. The right menu of block settings will open automatically.
Action blocks are connected by arrows.
In order not to look for the next action on the screen for a long time, you can select it in the block settings menu (on the right) in the "Next block" section:
All blocks of your script are displayed here. When you select the right one, the arrow will automatically connect the two blocks.
Actions, like any other blocks, can be deleted, copied and pasted.
To delete an action, click on it and press the trash can icon in the block settings menu or press the DELETE key.
To copy a block, click on it and press CTRL + C or CMD + C (for mac os). A notification about copying blocks will appear.
To paste the copied blocks, use the key combination CTRL + V or CMD + V (for mac os).
To delete a connecting arrow, highlight it and press the DELETE button. Don't forget that the bot always needs a message from the user to start working.
Therefore, do not forget to associate bot actions with events.
When your script is ready, all you have to do is publish it.
From now on, it will work in the selected channel.