Built-in services
Built-in services are JS libraries that are loaded automatically with each bot. You can use them in any JS script without explicit import.
Service | Provided features |
---|---|
$aimychat | Interact with the Aimychat customer engagement platform. |
$analytics | Collect dialog statistics. |
$caila | Access NLU and client entities from the bot script. |
$conversationApi | Instantly send bot messages to the channel without waiting for the user’s request to be processed. |
$dialer | Control telephony features from the bot script. |
$env | Access environment variables added within the project. |
$faq | Access the bot knowledge base from the bot script. |
$gpt | Access OpenAI’s ChatGPT from the bot script. |
$http | Execute HTTP requests to external resources. |
$integration | Interact with integrations connected to the project. |
$jsapi | Use various system methods. |
$mail | Send email messages from the bot script. |
$nlp | Manage patterns, word classification, coordination, etc. |
$prompter | Use the Prompter API in the prompter bot script. |
$pushgate | Create custom events, as well as trigger and process them right from the bot script. |
$reactions | Create bot responses and state transitions. |
$secrets | Access secrets added within the project. |
$textCampaign | Control the dispatch of messages sent to clients during text campaigns. |