Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
BotStar LiveChat onClose Callback
BOTSTAR_LIVECHAT_ON_CLOSEGenerate a JavaScript snippet to register a callback for when the live chat window closes. Use it after the widget is initialized.
Livechat on open
BOTSTAR_LIVECHAT_ON_OPENGenerate a JavaScript snippet to register a callback for when the live chat window opens. Use it after widget initialization.
Livechat open
BOTSTAR_LIVECHAT_OPENGenerate a JavaScript snippet to show the live chat window after the widget has been bootstrapped. The widget must be in livechat or popup mode.
Livechat update
BOTSTAR_LIVECHAT_UPDATEGenerate a JavaScript snippet to update user details on the current live chat session. Supplied tags replace the user's current tags.
Publish Bot to Live
BOTSTAR_PUBLISH_BOTTool to publish a bot to live. Use when you need to deploy changes to the production environment.
Update Bot Attribute
BOTSTAR_UPDATE_BOT_ATTRIBUTETool to update a bot attribute in BotStar. Use when you need to modify the description or value of a bot attribute with optional multilingual support.
Update CMS Entity
BOTSTAR_UPDATE_CMS_ENTITYUpdate the name of an existing BotStar CMS entity.
Update Entity Fields
BOTSTAR_UPDATE_ENTITY_FIELDSTool to update entity field(s) in BotStar CMS. Use when you need to modify the name or options of existing fields.
Update Entity Item
BOTSTAR_UPDATE_ENTITY_ITEMTool to update a CMS entity item in BotStar. Use when you need to modify the name, status, or custom field values of an entity item.
Get BotStar Webview Parameter
BOTSTAR_WEBVIEW_GET_PARAMETERGenerate a JavaScript snippet to retrieve a parameter passed from the BotStar chatbot to the webview. Use it inside onChatBotReady after the page loads in modal mode with bs:input meta tags.
Webview send response
BOTSTAR_WEBVIEW_SEND_RESPONSEGenerate a JavaScript snippet to send a response and custom outputs from a webview back to the BotStar chatbot.