Enabling AI Agent in Live Chat
The AI Agent enhances live chat by handling customer queries with automated responses. Once enabled by an admin, it operates 24/7, even outside business hours, ensuring continuous support and reducing human agent workload.
Steps to Enable AI Agent in Live Chat
- Customize the AI Agent settings based on your requirements.
Learn more on Unveiling the BoldDesk AI Agent: Your 24/7 Virtual Support Assistant for detailed instructions on configuring the AI Agent in BoldDesk. - Go to Admin > Chat > Live Chat.
- Select an existing widget or click Add Widget to create a new one.
- In the General tab, toggle on the “Enable AI Agent” option.
- Choose the handover options Assign to AI Agent (Direct) to automatically take over customer conversations upon creation or Assign to AI Agent (Workflow) to manually transfer conversations to the AI agent via workflows.
If a workflow is configured and Assign to AI Agent (Direct) is selected, both AI messages and workflow messages will reply in parallel within the conversation. To avoid this, the best approach is to use Assign to AI Agent (Workflow) when a workflow is configured. If no workflow is configured, you can continue with Assign to AI Agent (Direct).
-
Select the appropriate AI agent to map with the widget. Please note that a widget can be mapped to only one AI Agent.
-
Click Update to save the changes.
The AI Agent leverages conversation history, knowledge base (KB) documents, custom answers, files, and web pages to provide relevant responses to customer queries. Explore How to Add Data Sources for AI in BoldDesk.
Why Chat Workflow May Fail During AI Auto-Assignment
When a chat is created, the AI auto-assignment may trigger immediately after the customer’s first question. At the same time, the workflow begins collecting customer details. If required details—such as an email address—are not provided, the workflow cannot complete successfully.
In such cases:
-
The AI Agent continues responding in parallel.
-
If the customer selects “Transfer to Agent” before the workflow ends, the chat is handed over to an agent.
-
However, because the workflow remains incomplete, the system does not allow the agent to respond. It will show the error, ‘A reply cannot be sent while the workflow is in progress. Please contact your administrator.’
This issue occurs when AI auto-assignment and workflow run simultaneously, and the workflow fails due to missing mandatory information.
How to Prevent Workflow and AI Overlap
To ensure smooth chat transitions:
- If you want the chat to move to a live agent after collecting details, use “Transfer from AI to Agent” in the workflow.
- If you prefer handover only after all details are collected, set the workflow to Assign to AI Agent (Workflow) in your live chat settings and configure the handover block accordingly.
These settings prevent conflicts between AI auto-assignment and workflow, ensuring a clean transition.
AI Agent Behavior
- The AI Agent responds to customer queries automatically, including outside business hours.
Action Buttons for AI Response
These are customizable buttons that enhance user engagement with AI responses. For each response (except greetings, thank-you messages, or welcome responses), if customized, customers see the following options:
1. Transfer to an Agent
This reassigns the conversation to a human agent. If the box is checked, you can customize the text you want to appear when the conversation is transferred to a human agent.
2. That Helped
This marks the conversation as resolved. If the box is checked, you can customize the text you want to appear instead of “That Helped” to represent the resolution of the conversation.
- If both Transfer to an Agent and That Helped AI buttons are unchecked, customers will have to manually request transfer to a human agent in the chat.
- If a human agent takes over a conversation, it cannot be reassigned back to the AI Agent. The AI Agent stops responding once a conversation is taken over by a human agent.
- Regardless of the response time to a chat, no chat messages or replies are automatically converted into tickets. However, you can link chat conversations to a ticket. Learn more on Linking and Managing Tickets in Chat Conversations.
- When the requester submits content unsupported in chat conversations — for example, a sticker, reactions, or specific emojis — the system will show a private message “The user attempted to send a message in an unsupported format”. This behavior is consistent across both desktop and mobile platforms.
Handling Offline Hours
The AI Agent will be active 24/7 to manage customer conversations. If a customer starts a conversation outside business hours, the AI will pick up the conversation and respond.
- If the contact form is not enabled, the AI Agent will continue to handle all customer conversations throughout the session without offering a form-based escalation option.
- If the offline form is enabled, the customer will be presented with a Contact Form option within the response, which they can use to submit a ticket for further assistance. The label of the contact form button can be customized to reflect the intended action (e.g., “Create Ticket,” “Request Support,” “Submit Inquiry”).
If you prefer to use only the AI Agent, or if live agents are unavailable, please select the offline option to ensure that all chats are handled exclusively by the AI Agent.
- The offline message configured in the widget is displayed along with the Contact Form option when the customer sends a message indicating the need to speak with a human agent.
1. Automatically Embed Chat Widget in the Customer Portal
To be able to automatically enable the live chat widget in the customer portal, follow the steps below:
- Navigate to Admin > Customer portal > General
- Under Live Chat Widget Settings, check the box “Automatically embed chat widget in the customer portal”.
- From the dropdown you will be able to select the live chat widget you want to appear in your customer portal. Consequently, the selected widget will appear in the customer portal. If you check the box “Enable chat widget authentication”, logged-in users are automatically authenticated, and no additional configuration is required.
2. Embed Live Chat Widget Using Custom JS Code
- Go to Admin > Customer Portal > Customization. Explore How to Add BoldDesk Live Chat Widget to the Customer Portal.
- Paste the custom JS code below. Learn How to Configure Customer Portal Settings.
const script = document.createElement("script");
script.src = `https://{{yourdomain}}/chatwidget-api/widget/v1/{{chatwidgetId}}`;
document.head.appendChild(script);
After Adding the Live Chat Widget to the Customer Portal
Enabling AI Agent in Live Chat to an External Site
Once you have configured the live chat widget and embedded the AI Agent, you can add the AI Agent to an external site. Learn more on How to Set Up and Embed a Live Chat Widget on Your Website or Help Desk for more details on how to add the AI Agent in live chat to the external site.
FAQs
Q1. Is it possible to disable AI Agent responses for specific departments or brands?
A: Yes. You can manage AI Agent availability by configuring separate widgets for each brand or department and enabling/disabling the AI Agent per widget.
Q2. What happens if the customer abandons the chat during workflow collection?
A: The workflow remains incomplete, and the chat session will not transition to an agent unless manually reassigned.
Q3. Can I restrict AI Agent responses to business hours only?
A: No. The AI Agent operates 24/7 by design, but you can configure workflows to manage escalation during business hours.