Chat bubble
The DA Bubble – the chat window of your agent on a web page: design it, deploy the agent to it, embed it, and hand chats over to human operators.
The DA Bubble is the chat window your customers use on your website. It can also offer a voice conversation and a talking avatar. One bubble shows one deployed version of your project.
Design the bubble in Organization › Bubble design – modes, colours, texts and timers. See Bubble design.
Deploy the agent to it – in the Deploy dialog, choose the bubble in Assign Bubbles.
Embed it – copy the Deployment script of the bubble and paste it into your web page.
The whole procedure, step by step, is in Step 6 of the tutorial.
Embed the bubble
After the bubble is deployed, the Set-up tab of Bubble design shows the Deployment script section. Click Copy and paste the script into the HTML of your page, just before </body>:
<script src="https://<your-studio-address>/da-bubble/bubble.js" type="module"
id="born_digital.bubble-script" data-client-id="<your-bubble-id>"></script>The script stays the same when you deploy a new version of the agent or change the design.
To try the bubble before you embed it, click Test in Bubble design – it opens the deployed bubble in a new tab.
What the bubble can show
Formatted messages – Markdown, links, images and videos. See Customizing text output.
Chat buttons – see Implementing chat buttons.
Widgets – forms, ratings and more. See Widgets.
File upload – turn on File upload in the Answer node's Chat features and Attachments in Bubble design.
Hand a chat over to a human
A chat can be handed over to a human operator in your contact-centre or chat platform. The integration – for example Sprinklr, Daktela or mluvii – is set up by Born Digital for your organization, together with the variables your flow uses to start the handover.
In the flow, lead the conversation to the node where the handover starts – for example with the Redirect to human tool of the AI node.
In the bubble, the operator's messages are shown with a person icon instead of the assistant image, and the customer sees when the operator is typing.
When the customer ends the conversation or the conversation timeout runs out, the live chat ends too. Restart starts a new conversation with the agent.
Last updated
Was this helpful?