In this article you can find an example how to change your IVR using LiveAgent rules. Specifically the rule action change IVR.
You could create a rule which changes the IVR for you automatically for example if you wish to inform your customers that you are offline if they try to reach you outside your business hours.
Navigate to Configuration > Automation > Rules > Create new rule like below:
Rule has to be applied when incoming call started. In conditions you have to check if the current time is lower or greater as your Business Hours. The action, which we want to perform is - change IVR. Now you have to define your own IVR rule performed in this step or feel free to try a default example below:
offline: - play: https://mycompany.ladesk.com/scripts/file.php?view=Y&file=we-are-currently-not-available-check-website.mp3 - voicemail online: - goto: offline queue: - goto: offline