Greetings from Zoho SalesIQ!
Zoho SalesIQ's Zobot has been designed to handle conversations with your visitors in the absence of your operators. They can understand the intent of what the visitor says and respond contextually.
To end a conversation when the visitor chooses are particular option or does a particular action, you can make use of the "end" action.
What is the end action?
The end action can be used to end an ongoing conversation with a website visitor. This action, when used, will end the conversation immediately without any waiting time.
Sample Code:
- {
- "action": "end",
- "replies": ["The chat has ended."]
- }
If you want to end conversations with visitors after a few seconds and not immediately, you can make use of the "Delay" in end action
What is the Delay in end action?
You can schedule a delay for the end of a chat. This will end the chat after the set waiting time and not immediately.
The delay will be unscheduled if the visitor types a message/ sends a message/ agents join the chat/ chat is handed off to the agent.
The minimum delay that can be set is 30 seconds and the maximum is 10800 seconds(3 hours).
Sample Code:
- {
- "action" : "end",
- "delay" : "30"
- "replies" : ["Ok, I'll be ending this chat soon anytime now"]
- }
P.S. The Zobot also supports auto-reject that will automatically end the chat and not leave it unattended when the Zobot forwards/routes a chat to an agent and the operators are unavailable to pick it up. Learn more.
To learn more about this, start building your own Zobot right away.
Regards,
Michelle