Connect Yodel with Dialogflow to have full conversations with your callers.
You can hand back over the call to Yodel at any time.


--- Dialogflow is a 3rd party tool from Google that can be used in combination with Yodel. If you don't have a Dialogflow account yet, create one here. ---

You can find the section with the headline Dialogflow in the number settings of your manage.yodel.io interface if you are on the Premium Plus Plan. To upgrade, please write us at support(at)yodel.io



Yodel Dialogflow Integration


Here is a step-by-step tutorial on how to set up Dialogflow:

  • Select your Agent or create a new Agent in Dialogflow and configure the dialog. If you are unable to create an agent, please check if you have enabled app permissions or read this help article.
  • Copy the Client access token from the General tab in Edit Agent.
  • Activate the Dialogflow integration on https://manage.yodel.io/integrations
  • You will now find a Dialogflow section on your number setup pages in manage.yodel.io. Activate it and paste the Client access token.
  • Add a "WELCOME" Event to the first Intent which welcomes the caller.



Add a Welcome Event



  • Add a "FALLBACK" Event to that Intent which should be trigger when something goes wrong. For example, the caller did say nothing or it was not understandable.


Add a Fallback Event



  • Make your first test call! 



You can also handover calls from Dialogflow back to Yodel:


Select one of your intents and scroll down to the "Responses" section.


There, you need to click on the grey button "ADD RESPONSES":

Add Responses in Dialogflow


Select the option "Custom Payload":


Select Custom Payload



And add one of these options in the Custom Payload text field:


Add one of the options in the Custom Payload

Examples:

{ "action": "ring" } … starts to ring the call in Slack.
{ "action": "hangup" } … will hang up the call.
{ "action": "fallback" } … will forward to the voicemail.

{ "destination": "USER OR CHANNEL ID" } … will move the call to a different Slack channel or user.. Can be combined with "action":

{ "destination": "C0MGB1234", "action": "ring" } 

You can find the channel ID when either in the browses address bar or in the Slack Desktop app by right clicking on the channel and choose "Copy Link". 

The channel ID starts with the letter "C" for public channels and "G" for private ones.



Get to know Slack Channel ID



The user ID you can find at the profile section by clicking a user's name and "View profile". 



Find your Slack User ID




If you want to start with a simple demo you can import the sample Dialogflow Agent: YodelDialogflowDemo.zip


For any questions concerning this topic, please reach out to our live-chat or support@yodel.io