Concierge: Hide the Schedule Meeting pop-up if no one is available
Is there a way to hide the Chili Piper pop-up via the concierge feature, if no members in the designated queue are available for a meeting? There are times our clients experience a "No one is available" message but it would be better to not pop up the Schedule Meeting feature, and redirect them.
-
Official comment
Great question Kelli.alagna! The answer is yes - we have an event that we will broadcast to the browser 'no-free-slots' when this happens, that you can add an eventListener to your web page and have some javascript redirect the page to another page of your choosing when this happens.
Here's an example code snippet that will do this for you:
<script>
// Listen to no-free-slots
window.addEventListener("message", receiveMessage, false);
function receiveMessage(event) {
if (event.data.action === "no-free-slots") {
//redirect to www.chilipiper.com - URL below can be adjusted
window.location.replace("https://www.chilipiper.com");
}}
</script>In the example above, we are redirecting the page to https://www.chilipiper.com, but of course you could choose whichever page you would like to by replacing that value.
Here's an example gif of what that experience would look like for a prospect.
There's been other customers in the past who have done some other clever things with this as well, such as:
- Send an email alert to an admin user when this happens so that they can investigate further.
- Redirect the page or re-run another router that loads a group of users' calendars via a Round Robin, kind of like a 2nd chance to allow the prospect to still be able to book a time with other people on the team.
If you're just looking to redirect the page away from the calendar, the example code supplied above should allow you to do that. If you're interested in exploring the more advanced options, I'd recommend having a chat with your Chili Piper CSM who can brainstorm/configure other options with you!
-
Stellar, thank you very much, Gaines!
0
Please sign in to leave a comment.
Comments
2 comments