Execute Client Script Action
Last updated
Last updated
This action will execute a script on the browser. You can use this action to integrate your own events or plugins in the webpage or chatbot area.
The action uses the following settings:
Setting
Description
Source
The Javascript source to be executed
This action will evaluate the specified Javascript using the current browser Javascript runtime and will, of course, only work when used inside Web Channel Chatbots.
The script can reference any variable or function currently defined inside the page hosting the Xenioo chatbot.
Xenioo does not check or enforce any execution sandboxing on this javascript code. The code is executed directly by the current browser JS engine.
This action does not trigger any event.
This action does not produce any variable.
Channel specific availability follows the table below:
Channel
Availability
Not Available.
Not Available.
Telegram
Not Available.
Web
Fully Available.
Alexa
Not Available.
Google Assistant
Not Available.
Slack
Not Available.
API
Fully Available.
This action can be used only inside interactions and not as child of other actions. This action requires a Premium Account to be used on a live chatbot.