Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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