Skip to main content

Code block

The Code block allows using JavaScript code within scripts for chatbots and calls.

To add the block in the script, select Code in the block menu.

Usage details

When creating or accessing variables through the Code block, variable names must start with the $ character:

$<variable name>
caution
The following variable names are reserved: $analytics, $caila, $client, $context, $dialer, $gpt, $integration, $jsapi, $response, and $pushgate.