Rate this page:

Dialogflow connector

Use this block to connect a Dialogflow agent with a call in your scenario.

To configure the Dialogflow agent, do the following:

  1. Connect the block by using the Out and Transfer call ports.
  2. Double-click the Dialogflow Connector block.
  3. Select an agent from the Select agent drop-down list.
  4. Select the language from the Agent language drop-down list.
Note

Create and configure the Dialogflow agent in your Google account, save it as JSON, and then upload to your scenario.

  1. Enable the Execute sendQuery after connection to the agent switch to activate immediate start of the Dialogflow after the script reaches the Dialog Connector block.
  2. Enter the name of the event in the Event name field.
  3. Select the language in the Event language field.
  4. In the JSON parameters section, configure keys and values to send the required information from your scenario to the agent.
  5. In the Synthesis options section, select how you want to synthesize speech for the agent: via Voximplant Kit or using Dialogflow synthesis.
  6. If you select Voximplant Kit, configure the synth language and voice. Depending on the tts-provider, you can also configure the following advanced settings:
  • Voice pitch - Configure the synthesized voice pitch (Google). Available options: x-low, low, medium, high, x-high, default.

  • Speech volume - Set the speech volume (Google). Available options: silent, x-soft, soft, medium, loud, x-loud, default.

  • Speech rate - Set the synthesized speech speed (Google, Yandex). Available options: x-slow, slow, medium, fast, x-fast, default.

  • Emotions - Configure the synthesized voice sentiment (applicable for specific Yandex voices). Available options: neutral, good, evil.

Dialogflow connector
  1. Enable the Process transfer call response switch if you need to forward a call. Enter or select a variable from the Create a variable field.
  2. Enable the Process Dialogflow response parameters switch to get all data from the agent and use it later in the scenario. Enter or select a variable from the Create a variable field.
Process parameters
  1. Select Save.