I need a message hook that fires when all the agents are off line?
Unfortunately, we do not have this kind of webhook.
The workaround in this particular case would be to use
routing_status_changed hook which communicates that the status of the agent has changed. Because we do not have one that triggers exactly when all the agents are offline, you would need to build some kind of app that tracks(based on the webhook above) the status of all agents and delivers a message when all of them are offline.
You can read more about this webhook here: