Execute Client Script Action

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.

Settings

The action uses the following settings:

Setting

Description

Parsed

Source

The Javascript source to be executed

Remarks

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.

Trigger

This action does not trigger any event.

Variables

This action does not produce any variable.

Availability

Channel specific availability follows the table below:

Channel

Availability

Facebook

Not Available.

WhatsApp

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.