Dialogflow Guide

Speebly recommends Google Dialogflow to set up and manage the customer conversations that will appear in your smartphone apps using the Speebly mobile SDKs.

Dialogflow allows a non-technical person to manage the conversation flow and see end user metrics. We will help coach your team, set-up happens in less than a day.

Check out this Dialogflow introduction:

Setup

Step 1: Speebly will create an empty Dialogflow conversational agent for you.

This agent will handle user requests and intents (questions and answers) that you want users to be able to ask.

Step 2: Set up the conversations your customers will have in Dialogflow.

Once the agent has been created for you, the conversations that your customers will have with the agent need to be set up. It involves setting up the phrases the agent will listen for and the responses the agent will provide. This can be done by a non-technical person through a web UI. Related Google documentation for doing this is below.

If you are using dynamic data for user responses, you will need to connect Dialogflow to your API. For this, you will need to add a code snippet similar to the below as a custom payload to communicate to your API. The custom payload is located in the responses section of a Dialogflow intent.

{
  "speebly": {
    "messageType": "httpPost",
    "httpPost": 
  {
    "url": "https://your.api.com/",
    "headers": [
      {
        "name": "param1",
        "value": "param2"
      } 
    ],
    "paramaters": [
      {
        "name": "param1",
        "value": "param2"
      } 
    ]
  }
}

Dialogflow Documentation

Google’s Dialogflow has a rich set of documentation to help you through the structuring of your conversations. Speebly will also be able to answer your questions as they come up.

The Dialogflow documentation pages are here: https://cloud.google.com/dialogflow/docs/

Quickstart on creating an agent: https://cloud.google.com/dialogflow/docs/quick/build-agent

3 introductory videos on using Google’s Dialogflow:

Metrics

Once your Dialogflow agent is up and running, you will be able to use the Dialogflow UI to see how your users are using the system. To understand metrics, see here: https://cloud.google.com/dialogflow/docs/analytics