Table of Contents
Table of Contents
Introduction
Recap
In the first 5 Lab, we Learned
- Bring the contact into Webex Contact Center and hear welcome message
- Queue the contact to Live Agent after hearing welcome prompt
- provide Menu option and an Opt-Out options to customer and validate CallBack Functionality
- HTTP based Data Dip to external WebServices to Pull Customer Information and POP that on Agent Desktop
- Dip to external database and validate if customer is premium/ Platinum customer and connect the contact immediately to Agent using Advanced Skill Based Routing
- When premium customer calls back, connect the contact back to preferred or last routed agent
- Integrate Webex with Google Dialog Flow
Lab Objective
In this section, we will go over the steps that are required to do Integrate Google DialogFlow with Webex Contact Center. In this Lab you will learn the following
- This lab is designed to help you configure a Google DialogFlow Agent using CCAI (Contact Center AI) on Webex Contact Center and utilize TTS (Text-to-speech) capabilities.
- At the end of this lab, you should have a fully functioning TripPlannr bot front-ending the Webex Contact Center and text to speech prompts.
Lab Support
Proctors is your number 1 contact. If you need assistance just raise your hand.
All registered participants are also added to the support room where the engineering and Product Management team is added. As an alternative way, you can use that space for any questions related to the Flow Control.
Pre-requisites
- Download Google DialogFlow secret json files which are available below
Download the TTS Connector here - ciscolivetts.json
Download the TTS Connector here - DialogFlowBot.json
Quick Links
Control Hub: https://admin.webex.com
Portal: https://portal.wxcc-us1.cisco.com/portal
Agent Desktop: https://desktop.wxcc-us1.cisco.com\
Lab Section
Setup Google TTS Connector
The Text-to-Speech capability is powered by Google’s Text-to-Speech APIs. To enable this functionality, you must set up a Google Cloud account and configure the Text-to-Speech service.
With Text-to-Speech, you can convert arbitrary strings, words, sentences, and variables into an actual human speech that is played dynamically to the caller. This is in place of playing a prerecorded audio.
-
Create a Service Account to download the private key, this step is already completed and JSON file is attached above, For complete instruction watch complete video here
-
Configure the Google Connector in Control Hub to enable the Text-to-Speech capability in Flow Designer
i) Log into Control Hub, Contact center –>Connectors –>Google
ii) Give a name and upload the ciscolivetts.json
file
-
The Text-to-Speech toggle allows you to create synthetic human speech as part of activities in your flow that can play messages to the caller, including
Menu
,Play Message
, andCollect Digits
.
Setup DialogFlow Connector
-
Create a Service Account for DialogFlow and create TripPlaner Virtual agent in Dialog flow , both step are already completed and JSON file is attached above, For complete instruction on creating BOT on Google Dialog flow console watch video here
-
Configure the Google Dialog Flow Connector/ Virtual Agent in Control Hub
i) Log into Control Hub, Contact center –>Features –>New –>Virtual Agent
Toggle Use For Voice
please node Use for Chat
is disabled as new tenants are default configured with Webex Connect (Cisco New Digital Channel)
Press on Yes, I have preconfigured DialogflowFlow Agent
as the Dialogflow is configured and available
Press next
here and move to next page, if the BOT is getting configured for the First time, Intents should be downloaded from here and uploaded to DialogFlow
Give Virtual Agent some Name
Upload the Authentication key, which is provided above and Validate
the key
Optionally upload Avatar
and press next and complete the setup
Flow configuration
-
Create a new flow and name is
Lab6
-
Drag and drop
VirtualAgent
node and selectCisco_Live_BOT
configured in control Hu, select Input Language toen-US
and Output voice toen-US-Standard-<>
-
Drag and drop couple to
PlayMessage
node and connect itHandled
andEscalated
nodes -
Click on play message node and
Enable Text-to-speech
and select the TTS connector configure in the control hub
-
Drag and drop
Disconnect contact
Node and connect Handled and Error toDisconnect contact
node
Because of Logistic restrictions, BOT is already configured and Json file uploaded above
Step by Step video is avaialble here
Lab Validation
Google DialogFlow is configured with intents and entities required for simple TripPlaner Slot filling BOT
- Call into the script, Google dialog Flow greet you will welcome message
say Book a flight
BOT would ask Date, from and To, provide the information, BOT should Book a flight
Finally say Live Agent please
or Human Agent please
BOT should come out through and Escalated intent and transfer call to Agent Desktop.