​Delay in "end" action

You can schedule a delay for the end of a chat. 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).

Channel compatibility

     

Output

Use Case

Copied"user_defined": {
      "zohosalesiq": {
        "action": "end",
        "replies": [
            {
                "text": "Ok, I'll be ending this chat soon anytime now",
                "delay_config": {
                    "enabled": true,
                    "info_messages": [
                        "Ending chat"
                    ],
                    "type": "all",
                    "time": 5
                }
            }
        ]
    }
}
//The "time" is given in seconds
//When more than one delay info messages are given. The "type" can be set as "random" or "all" to define the message order