BotStudio
Last updated
Last updated
The BotStudio is an editor where you can create or change Flows that dictate the chatbot's behavior.
action
String / Object
Yes
token
String
Authentication token to authorize the component.
Yes
settings
Object
No
arguments
Array
JSON object containing configuration settings for the Inbox component.
No
initialize
Initializes the component.
updateSettings
Updates the component's settings.
setFlow
Switches the active flow.
flowId
ID of the flow.
activeFlowId
string or null
Sets the flow id to be displayed for the user to edit.
null
readOnlyMode
boolean
Disable all options for editing, can be used to simply view a generated flow.
false
showPreview
boolean
Show the preview options used to emulate a conversation of that flow.
true
To load the Bot Studio component in your application, you need to embed the component's iframe in your HTML. The iframe's src
attribute should be set to https://api.recrubo.app/public/v2/embed/component/bot-studio
.
Can be initialize
to initialize a new component or an object to call an on a component.
JSON object containing configuration for the Inbox component.
settings
JSON object of new .
settings
JSON object of new .