Integration with Dialogflow allows you to use a chatbot in Dashly chat. Integrate Dashly with Dialogflow and then configure a chatbot needed. Let's see how to do it step by step.
Important! A bot will react on all unsorted conversations (on those where the operator was not assigned), but won't answer in conversations that were started by auto messages.
1. Go to Dialogflow console and create a new agent (or use the existing one if it is reliable).
2. Put the name, language and time zone by default. When selecting the language, please note that we will forward the configured chat language in the request.
3. Go to the agent settings and change the API version to V1.
4. Copy the "Client access token" value to the corresponding field in Dashly. Dialogflow integration settings are located in Dashly admin panel.
5. Enter the integration name and save it.
After you've integrated Dashly and Dialogflow, you can start teaching your bot to answer.
Configuration principle is very simple: you need to write in various possible visitor question and phrases and what bot should reply to them. Add every bot reply through the Intents section. There're two bot replies by default:
Default Fallback Intent - is used when bot doesn't understand the request (you can disable this set of responses to make your bot reply only to those requests that it understand).
Default Welcome Intent - bot reaction to visitor's greeting.
In order to add your own reply press "Create Intent".
Here you'll need to fill in three parameters:
Intent name - the name (we recommend to use only the Latin alphabet),
Training phrases - various visitor requests,
Responses - bot's reply.
Let's see how it works on the example:
we've added different visitors' requests about plans and pricing. Put various visitor request phrases in Training phrases section. Try not to use a single word request, because there's a possibility of an error in bot's reply. Don't worry if you think that not every possible phrase is written - you'll be able to come back and edit phrases whenever you want.
After that - enter the bot's reply in the Responses section (it can be the same for all visitors' requests in this Intent). Then save your Intent.
You can check your bot's reaction right here in the settings. The test panel is located on the right side of your screen. In the field "Try it now" enter any visitor's request and you will see bot's reply below in the "Default Response" field.
We've made some templates for you so it would be easier to start. And one more hint: look at your saved answers for chat operators - this will be the Intents you need to create.
Important! When importing our ready-made templates, don't forget to change the links to your website.
In the Intents section press three dots sign near the "Create Intent" button and choose "Upload Intent".
Press "Choose file" and choose JSON file on your computer.
After the successful import, you'll see the notification on the right bottom side of the screen. Now your uploaded Intent is available in the list for testing and editing.