End of script block
caution
This block is primarily used in voice assistants and call scripts.
It can be used to complete the script, i.e. clear the data in the current user session. In a voice channel, this block will make the assistant mute the microphone and end the conversation with the user.
When to use this block
You can use this block to make the bot “hang up the phone” at the end of the script.
Moreover, this block must be used if you develop an app for Google Assistant. Google requires that each app has a dialogue branch that unambiguously results in the session being ended and the microphone muted. So you should use this block to say good bye to the user at some point and to mute the microphone.
Also, End of script block can be used in the Bitrix24 channel — block activation leads to session completion in this channel.