This article is the second part of a Kickstarter of two pieces. In this article, I will focus on Dynamics 365 Customer Service with telephony and the integration of voice-bots with a handover to a human agent.
Please follow the instructions of the first part, "
We work here with two queues, one for the user calling the voice bot, the voice bot being the one and only agent, and a second queue for the handover to the human agent(s).
In part one, we created a free Dynamics Customer Service trial; with this trial, you will get sixty free minutes of PSTN Calls (US Toll-free Numbers)
After 60 minutes, you can bring your SIP-Trunk via Azure Communication Services or buy a dialing plan via Microsoft. If you are in Europe, you must go with the SIP-Trunk integration. This is a straightforward and menu-based setup. Your SIP-Trunk provider should give you an FQDN of "your" Session Border Controller and a Port.
Remember, even if it says preview, the combination of D365 and ACS direct routing is full GA.
Go to your OmniChannel Admin Center.
Leave the Omnichannel Admin Center window open, open another tab for the Azure Portal, and configure the SBC/Port for Direct Routing.
Go back to your Omnichannel Admin Center tab and configure your phone numbers.
We will modify a queue and a workstream already in place for this Kickstarter.
Go to your Customer Service admin center, then to workstreams, and rename the workstream "Demo voice call workstream" to something more specific.
Instead of agents, we add our bot, which we create in part 1
By now, your bot is only able to transfer a call. This is the time to teach the bot something valuable; you could look at my "Create your first (voice-)bot" example to implement some QnA or processes.
Take your phone and call the number you remembered from above. You will land in a queue where the bot is the only agent. Follow the dialog of your bot, now on the phone, and ask, "I want to talk to an agent"
The bot will transfer your call to a human agent, and you will see the incoming call on your agent dashboard.
Press Accept and see the complete agent experience.
After taking the call, the agent can see the transcript of the dialog with the voice bot on the left and the standard Dynamics 365 Customer Service details on the right. Your customer was identified via Caller ID, and the correct Contact is shown here.
Here, we have recording and sentiment analysis enabled; the sentiment is shown on the top left as an emoticon.
We configured Dynamics 365 Customer Service and Power Virtual Agent as human-to-human and bot-to-human customer service solutions.
There is no need for a third-party solution to manage the phone call. Everything will be handled via Azure Communication Services and Dynamics 365 Customer Service.
Azure Communications services are billed based on your consumption, and there are no setup fees.
Featured image by ThisisEngineering RAEng on Unsplash
Also published here.