When I was setting up WhatsApp channel for Microsoft Digital Contact Center Platform (DCCP), it took me a while to figure things out.
So I wrote this blog to contribute Microsoft Digital Contact Center Platform (DCCP) community in setting up WhatsApp channel as a communication stream to Dynamics 365 Customer Service Enterprise.
In this blog we will cover the following:
- Twilio account – highlight the details that you need.
- WhatsApp Channel setup – how to link the Twilio account.
- WhatsApp Workstream setup – how to use and implement WhatsApp channel.
- Testing – to see if everything works.
Twilio account
Signed up for Twilio developer account on this link.
Take note of the following Twilio details/fields. You will use these details when you configure WhatsApp channel in Omnichannel Admin Center canvas app.
- Account SID
- Auth Token
- Sandbox Configuration – WHEN A MESSAGE COMES IN (we will update this later).
- Sandbox Participants – WhatsApp number – note the instruction on how to use it. This blog will show you how to use it.
WhatsApp account setup
Below is a step-by-step guide on how to setup WhatsApp account in Omnichannel Admin Center canvas app.
Navigate to Channels -> New account.
Populate Name and select WhatsApp in Channel field. Click Next
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-2.png?w=914)
Set Account SID and Authentication (Auth) token from Twilio.
![Set Account SID and Authentication (Auth) token from Twilio.](https://rollysacramento.com/wp-content/uploads/2022/06/image-4.png?w=777)
Add the Twilio Sandbox Participant – WhatsApp Number.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-6.png?w=1024)
Click Save.
This will create a Callback URL. Copy this info.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-7.png?w=1004)
Twilio Update
Navigate to your Twilio console (refer to the earlier steps of this tutorial).
Update the WHEN A MESSAGE COMES IN. Paste the Callback URL from the previous step.
![](https://rollysacramento.com/wp-content/uploads/2022/06/whatsapp-sandbox-settings.png?w=1024)
WhatsApp workstream setup
In order for us to use the WhatsApp channel, in our Dynamics 365 Customer Service Enterprise, we need to configure a workstream. This will define how our WhatsApp channel will behave.
Navigate back to Omnichannel Admin Center canvas app.
Click Workstream -> New workstream
Populate the following:
- Name – set an applicable name.
- Type – Message
- Channel – WhatsApp
- Work distribution – Push (default)
- Fallback queue – set to applicable queue.
Click Create.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-10.png?w=1024)
Click Set up WhatsApp.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-11.png?w=1024)
Set an applicable Name.
Click Next
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-12.png?w=535)
Select the WhatsApp number that we configure in WhatsApp account setup step.
Note: This will show numbers that are NOT YET associated with a workstream.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-14.png?w=699)
Optional – set File attachments to On.
Click Next
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-15.png?w=860)
Review and click Create channel.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-16.png?w=437)
If successful, you will a message below.
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-17.png?w=550)
Testing
Now, we’ve already finished our setup. Let’s test it.
In your WhatsApp, create a new contact and save the Sandbox Participants number.
![](https://rollysacramento.com/wp-content/uploads/2022/06/80f17d97-f3a2-4951-b915-be5d881e71ce.jpeg)
Send a text message JOIN period-within. See reference below.
![](https://rollysacramento.com/wp-content/uploads/2022/06/cd7e6351-f28d-4a1a-ab23-8a1c57496904.jpeg?w=738)
This will initialize the use of sandbox number.
This will allow you to use this number for 72 hours.
Send a message again to the sandbox number.
This will route the chat to an available agent using the Customer Service Workspace.
![](https://rollysacramento.com/wp-content/uploads/2022/06/ce01c1aa-f38f-4b64-b3e0-0509cca35994.jpeg?w=751)
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-18.png?w=897)
At this point, the agent and WhatsApp user can now “chat”.
Features
Here are some of the features:
- Conversation details – all conversation are recorded. Even the conversation of the user to the bot.
- Real-time customer sentiment analysis
- Conversation summary
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-19.png?w=909)
Testing complete! ^_^
![](https://rollysacramento.com/wp-content/uploads/2022/06/ee6ecad5-f8e9-4c47-a096-4be15d5d5dbb.png?w=576)
![](https://rollysacramento.com/wp-content/uploads/2022/06/image-20.png?w=532)
If you have questions/clarifications – I’m happy to collaborate and update the information in this blog.
Leave a comment