Newer Version Available
Set a Routing Order
Set a list of user IDs and button IDs on your Embedded Service
deployment to replace the assigned chat button. When a customer requests a chat, it’s routed
to the first available user or button in the list.
embedded_svc.settings.fallbackRouting = ["...", “...”]
With version 5.0 and later code snippets, you have the following parameter available as a code comment.
//embedded_svc.settings.fallbackRouting = []; //An array of button IDs, user IDs, or userId_buttonId
Accepted values are:
- userId
- buttonId
- userId_buttonId