Bots
On this page |
Overview
In the Bots section, you can find the blocks useful to configure a voicebot in your call flow: ChatGpt, Dialogflow, Lex and DeepSeepk.
These blocks allow you to automate customer interactions, providing intelligent responses and routing within your IVR application.
Important
Please note that Bots providers are third-party applications. Their functionalities, costs, and behaviors depend on the specific provider you choose.
AI Conversations Billing
Remember that XCALLY applies a cost per each AI Conversation managed by bots. Please refer to this page (Advanced wiki - Jira credentials needed).
Tip
Click here to learn more about voicebot triggers.
Video tutorial
OpenAI ChatGPT
FROM VERSION 3.36.0
Requirements:
Set up an OpenAI Cloud Provider with a valid API key
Configure an OpenAI bot under Tools → OpenAI Bots
The OpenAI ChatGPT block allows Voicebot creation via ChatGPT, by configuring an OpenAI account under the XCALLY Cloud Providers section and an OpenAI bot.
Fields
Label: enter a short description for the block
Choose an OpenAI bot: select one of the created bots from the list
Text: enter the text you would like to send (e.g. the variable
{GOOGLE_ASR_TRANSCRIPT}or{OPENAI_WHISPER_TRANSCRIPT})Sound to play while waiting (available from version 3.40.0): select a playback sound, previously uploaded in Tools/Sound section, executed for the customer while waiting for a response from OpenAI, improving the user experience and avoiding audio gaps. For example: “We are analyzing your request, we will get back to you shortly”.
The Sound option is optional. By default, it is set to “No option chosen”.
If a sound is selected, it will be played immediately after the HTTP request is sent, while the server waits for the OpenAI response. The playback will continue until the end of the audio file and will not be interrupted, even if the OpenAI response becomes available before the audio finishes.
Exit Arrows
This block provides just one arrow out to the next step
Dialogflow V2
The Dialogflow V2 block allows you to build a voicebot using the Google Dialogflow integration.
Fields
Label: enter a short description for the block
Project ID: Cloud Platform project ID
Client Email: email address associated to Service Account Key
Private Key: private key associated to Service Account Key
Language: the language you want use for the bot
Text: the text you want to send
Please note Dialogflow requires a valid Service Account Key and a sufficient amount of acquired credits. Explore this documentation to find out How to retrieve Google Key for Cally Square blocks
Discover How to create a Dialogflow project
Exit Arrows
This block provides just one arrow out to the next step
Amazon Lex
The Amazon Lex block allows you to build a voice bot using the Amazon Lex integration.
Fields
Label: enter a short description for the block
Access Key ID and Secret Access Key: AWS security credentials (see here)
Region: AWS available regional endpoint
Explore the official Amazon Lex documentation to discover supported regions → Supported AWS Lex Regions
Bot name: the name of the bot.
Text: the text you want to send.
Exit Arrows
This block provides just one arrow out to the next step
The Amazon Lex block saves the results in the following variables:
AWS_LEX_INTENTNAME: The current user intent that Amazon Lex is aware of. (Read more)AWS_LEX_MESSAGE: The message to convey to the user.AWS_LEX_MESSAGEFORMAT: The format of the response message. (Read more)AWS_LEX_DIALOGSTATE: Identifies the current state of the user interaction. (Read more)AWS_LEX_SLOTTOELICIT: If theAWS_LEX_DIALOGSTATEvalue is ElicitSlot, returns the name of the slot for which Amazon Lex is eliciting a value.AWS_LEX_SLOT_*: The intent slots that Amazon Lex detected from the user input in the conversation. (ex.AWS_LEX_SLOT_PICKUPCITY)
DeepSeek
FROM VERSION 3.51.0
Requirements:
Set up an DeepSeek Cloud Provider with a valid API key
Configure a DeepSeek bot under Tools → OpenAI Bots
The Deepseek block allows Deepseek Chat integration, to use the bots configured with your DeepSeek account.
Fields
Label: enter a short description for the block
Choose a DeepSeek bot: select one of the created bots from the list
Text: you would like to send (e.g. the variable
{GOOGLE_ASR_TRANSCRIPT}or{OPENAI_WHISPER_TRANSCRIPT})Sound to play while waiting: select a playback sound, previously uploaded in Tools/Sound section, executed for the customer while waiting for a response from DeepSeek, such as, “We are analyzing your request, we will get back to you shortly” , thus improving the user experience and avoiding audio gaps.
The Sound option is optional. By default, it is set to “No option chosen”.
If a sound is selected, it will be played immediately after the HTTP request is sent, while the server waits for the OpenAI response. The playback will continue until the end of the audio file and will not be interrupted, even if the OpenAI response becomes available before the audio finishes.
The block populates the variables:
DEEPSEEK_CHAT_EXIT, if true the chat has to exitDEEPSEEK_CHAT_RESULTwith the text generated by the bot.