Google Assistant (Dialogflow)

Integration published by Jovo | 10,030 downloads

Build apps for Google's Assistant platform using Dialogflow

Routine Suggestions

Learn how to use Google Action routine suggestions with Jovo.

Introduction

Routine suggestions allows you to ask the user to add your action and its intent to their routines, which allow them to execute multiple Action's intents with a single command.

For example, the user might have a routine, where one action tells informs her about the current news, another one might tell them that a new episode of their favorite podcast is up, etc.

Google will also automatically suggest your intents, which are configured correctly, to the user to add to their routines, but the following section will explain how to do it manually inside a session.

Configuration

To be able to use routine suggestions, you have to first configure your Google Action and your Dialogflow Agent the following way:

You have to specify the intents, which you want to suggest for routines, by first adding them to the set of intents, which can be triggered by implicit invocations inside your Dialogflow Agent:

Dialogflow Implicit Invocation

After you've done that, you can find the intent as one of your Actions on your Google Actions Actions tab:

Google Action Actions

Select the intent and at the bottom of the tab you will find the User engagement section, where you can enable the routine suggestions as well as set a content title:

Google Action Action User Engagement

Suggest your Intent

To ask the user whether they want to add your intent to their routines, you have to first ask them if they are interested using suggestion chips, after that you can ask them to add your intent to their routines:

After sending out the routine suggestion the user's response will be mapped to the ON_REGISTER_UPDATE intent:

Using this.$googleAction.$updates.isRegisterUpdateOk() you can check whether the user accepted your suggestion.

Google Assistant Changelog

Current version might be higher than the latest changes displayed below because of updates of dependencies.

2021-07-07 [3.5.4]
  • #948 ✨ Add enableFullScreen and continueTtsDuringTouch (@aswetlow)

2021-02-22 [3.5]

  • #901 Move setResponse from response to after.response middleware (@aswetlow)
2020-11-20 [3.2.3]
2020-11-05 [3.2.1]
  • Fix Transaction API v2/v3 incomptibility

🐛 Bug Fix

  • #716 Corrected logic for retrieving project-ids in staged environments (@m-ripper)

Committers: 3

3.0.11 (2020-04-06)

  • Updated Typescript to 3.8.x
  • Updated Prettier to 2.x

Committers: 2

2.x

Find the 2.x changelog here.

Join Our Newsletter

Be the first to get our free tutorials, courses, and other resources for voice app developers.