You can create policies to recognize a consumer's channel: Web, Facebook Messenger, and so on, and transfer to the appropriate agent or skill. This is very useful in cases where you have specialized skills or agents for respective channels.
Examples
- When a consumr messages from Facebook Messenger, transfer them to the FBMessengerSkill.
- When a consumer messages from the Web channel, transfer them to WebSkill.
Prerequisite steps
- Configure the routing bot.
- Set up Messaging for the respective channels. For details, see the top-level "Messaging Channels" section in the Knowledge Center.
Process
-
Modify your routing bot to power the desired experience. In the example below, the bot responds to a customer greeting of “Hi," "Hello," etc., and immediately performs dynamic routing.
-
In the Dynamic Routing interaction, click Manage routing policies to go to the policy management interface.
-
Create the policy by selecting “orchestrator.channel” as the attribute and “channel’ as data type. Then choose from the available list of channels.
Also configure the action to transfer to a skill. Make sure the skill has at least one or more bot or human agents.
-
Save and enable the policy.
-
Launch a messaging conversation from the respective channel and test the flow.
If you are routing based on “web-channel”, You can test your setup on the web client emulator.
Alternatively, you can deploy the bot and connect it to a campaign that’s linked to the production/staging channel of your choice.
-
Follow these steps once you have messaging set up.
Launch messaging. Start by saying “Hi. And then immediately get routed to the respective skill. Here below, “Agent Bob” is an agent who is mapped to the User3Skill.
-
You can also create one such policy for every unique channel. And you can also add more conditions to the policies if required.