If you want to hide the widget automatically when all agents are busy,
1. Login and Click on Chat routing from the main menu.
2. Choose any one of the routing mode - Broadcast or auto-assign.
3. Turn On the toggle "Hide widget when all agents are busy"
Offline form will be shown to the visitors when the above option is turned OFF.