Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »


ON THIS PAGE


In this page we explain how to create a Dialogflow project and obtain all the information necessary to configure the Cally Square block and the application for the Chat, SMS, Openchannel and WhatsApp Connector channels.

For example, you can let a chat or an open channel interaction be managed by a Bot (according to Intents, Entities and Fallback Rules defined on Dialogflow) and make your Agent chime in conversation only when needed.

Configure Google

Create a Cloud Platform project

You need to create a project in Google Cloud platform as described in this documentation.

Remember to enable billing for your the project as described here.

Enable Dialogflow API

Open Google Cloud Platform and enable Dialogflow API for your project.

Set up a Service Account

In order to configure DialogflowV2 application, you need to generate a Service Account.

From the Service account list, select New service account:

  • In the Service account name field, enter a name.

  • From the Role list, select Project > Owner.

  • Click Create. A JSON file that contains your key downloads to your computer.

Create a Dialogflow agent

As last step in Dialogflow console, you need to create an agent: to do this follow this documentation.

Configure XCALLY Motion application

In this chapter you will find out how to use the account created in the previous steps.

Cally Square block configuration


  • Project ID: copy and paste the Project ID value from Dialogflow Agent settings

  • Client Email: client_email property in the JSON file

  • Private Key: private_key property in the JSON file

  • Language: agent language

Omni channel application configuration

  • Project ID: copy and paste the Project ID value from Dialogflow Agent settings

  • Client Email: client_email property in the JSON file

  • Private Key: private_key property in the JSON file

  • Language: agent language

Using Dialogflow to create a ChatBot: an Example

Remember to set on Dialogflow the intent "end of conversation", that will be considered as the end of the customer-bot interaction before to end the session or connect the customer to an agent, according to your action flow rules.

The agent will take the bot place from that moment on and open the whole interaction history.

Dialogflow API Keys

First thing to do on Dialogflow is to create an Agent.
After your agent is created you will be able to retrieve the API Keys to be used in the XCALLY Dialogflow application: see the Client access token field on Dialogflow please.

Insert please your Dialogflow Client access token inside the XCALLY Dialogflow application Key field:

Dialogflow Intents

  • After the agent is created, you can proceed with your Intent creation: basically intents define the expected customer questions (named Training phrases) and related Bot answers (Text responses).

Dialogflow Intents- Image

XCALLY supports image as Dialogflow Intents Response.

  • From Dialogflow Menu, select Intents

  • Add Slack as Response Integration

  • Choose Image as Slack Response

  • No labels