Comment on page
Triggering live chat sessions from the bot
We put conversation automation first. It means that any new visitors will start their conversations with your virtual assistant first, and the live chat can be accessed only if a specific conversation is escalated to one of your human agents.
To connect your customer to a live chat agent, use the LIVE CHAT block in the conversation builder. The block settings are quite simple – it allows you to choose a specific agent or group to assign that chat to and defines the message that will be displayed to your customer while the agent is picking up the chat.
Triggering a live chat session from the virtual assistant skill
If the chat was not attended by a live agent, the “Error” exit from the “Live chat” block will be triggered after 180 seconds (default, can be changed in the block settings) so that you can still handle this situation automatically and not make your customer wait forever.
Most live chat platforms offer quite limited customization options for situations when your agents are not available (on weekends or during non-working hours, for example). Activechat's advanced visual conversation builder makes it extremely easy to build almost any scenario for these (and many others!) situations.
Handling non-working hours scenario example
- The second SWITCH block checks if the current time is before 9 am or after 6 pm. If so, the second message is displayed, and again the '/support_afterhours' skill is triggered. The current time (in GMT) is accessible as $_hour system attribute.
- If both SWITCH blocks conditions fail, the LIVE CHAT block is triggered to assign the current conversation to an agent. If the agent does not pick up the chat before the timeout, the "ERROR" node is triggered and two more messages are sent. After this, the same '/support_afterhours' skill is triggered.