V-Agent V7 Public Preview - How to integrate DialogFlow and interact on the SMS channel
Published 09/25/2020
We’re thrilled to announce the public preview
of V-Agent V7.
Version 7 of the V-Agent supports multiple AI / NLP
/ NLU engines: Intellexere, V-Voice and DialogFlow.
In
this first preview, integration with DialogFlow is available for the SMS channel.
You can chat with your DialogFlow agent, via SMS,
in the following supported countries:
Austria, Australia, Belgium, Canada, Switzerland, Czech Republic, Denmark, Estonia,
France, United
Kingdom, Hungary, Israel, Italy, Lithuania, Latvia, Netherlands, Poland,
Portugal, Sweden, United States.
In the next public preview we’ll introduce
the possibility of interacting with DialogFlow via telephone, therefore by voice,
and also
extend support to other countries.
For any information, don’t
hesitate to contact us.
How to get started? It's easy!
To
allow integration between DialogFlow and V-Agent, a Google Cloud service account
must be created.
In the Google Cloud console, for the project associated
with the DialogFlow agent, select IAM & Admin on the left panel [1].
Then click on Service Accounts [2] and click
on the + CREATE SERVICE ACCOUNT [3] button.
Under Service account details, add a name
and a description for the Service Account we're creating. Then, click on the Create
button
[4].
Now, we've to set up permission. Choose DialogFlow
API Client [5] and then click on Continue [6].
We can skip this optional step. Click on the Done
button [7].
The service account has been created. Click on the
Service Account row [8], to access details view.
Now, we've to generate the key. Click on Create
new key [9].
Select JSON as format [10] and click on Create
[11].
That's all. Save the private key file to your drive.
If you open the private key file using a text editor,
you'll have something like:
Let’s move on to configure the V-Agent on DataKnowl.
If the V-Agent hasn’t already been created, let's do so now.
Click on the V-Agent
icon [12] in the side menu of your dashboard.
Now, click on + Add new [13].
Let's add the name [14] and a short description
[15]. For the Engine, in this case, we select DialogFlow [16].
Then
click on yhe Create button [17].
For the language field, in the
case of DialogFlow, this value will be overwritten automatically, so it isn’t important.
However, if the main language of the DialogFlow agent is among those present in this
selection, we select the
corresponding entry, otherwise we leave “English”.
The V-Agent with DialogFlow engine has been created.
Now
we’ve to complete the integration by entering the Service Account Credentials
[18]. Click on the relevant link in the left panel.
Now, carefully insert the Project ID as it
appears in the Google Console, in the project associated with DialogFlow.
Next,
copy in the text area the contents of the JSON file generated in the previous steps
[19] and click on the Save button [20].
It’s essential to carefully
copy the content in its entirety.
This can be done by opening the JSON file with
a text editor, copying all the content and then pasting it.
If you’re
unsure of the ”Project ID”, it’s also present in the JSON file.
Done! Congratulations! Your DialogFlow agent can
now take advantage of the capabilities of DataKnowl.
Note: To request a new number, only follow points 7 to 15 of the
linked tutorial, the other points relate to other features.
We’ll add a dedicated
tutorial later. If in doubt, contact our support agents for help.
Once
the new phone number is assigned to your new V-Agent (with DialogFlow engine), your
users can start interacting with your
DialogFlow agent via SMS.
Build
new tools for customer service optimization and improve engagement between your company
and your customers!