Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Create Bot
BOTSTAR_CREATE_BOTTool to create a new bot in BotStar. Use when you need to create a new bot instance with a specific name.
Create Bot Attribute
BOTSTAR_CREATE_BOT_ATTRIBUTETool to create a new bot attribute in BotStar. Bot attributes are global variables for a bot and support multilingual values. Use when you need to define custom data fields for your bot.
Create CMS Entity
BOTSTAR_CREATE_CMS_ENTITYTool to create a CMS entity in BotStar with a name and optional fields. Use when you need to define a new content structure with custom fields supporting various data types.
Create Entity Fields
BOTSTAR_CREATE_ENTITY_FIELDSTool to create entity field(s) in BotStar CMS. Supports multiple field types including text, multiple_values, single_option, multiple_options, image, date, and entity. Use when you need to add new fields to an existing entity.
Create Entity Item
BOTSTAR_CREATE_ENTITY_ITEMTool to create a new entity item in BotStar CMS. Use when adding items to a CMS entity with custom field values.
Create User Attributes
BOTSTAR_CREATE_USER_ATTRIBUTESTool to create custom user attributes in BotStar. Use when you need to define new custom attributes for users with specified field name and type.
Livechat boot
BOTSTAR_LIVECHAT_BOOTGenerate a JavaScript snippet to reinitialize the live chat widget with provided data after its initial load.
Close BotStar Livechat Widget
BOTSTAR_LIVECHAT_CLOSEGenerate a JavaScript snippet to hide the live chat window when the widget is configured in livechat or popup mode.
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.
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.