Jithin Sebastian
Jithin Sebastian

Reputation: 581

Use the google navigation card in my dialogflow agent

Is there a way i can use Google's Navigation Card, the one shown when you ask something like "Navigate to home", in my agent ? I can't find any tutorials related to this. I was trying to open Maps application, but this (Google's Navigation Card) is more suitable to my requirement, as if the user doesn't want to go to the link.

Upvotes: 3

Views: 3529

Answers (2)

mattcarrollcode
mattcarrollcode

Reputation: 3469

Actions on Google (the Google Assistnat 3rd party platform) doesn't support navigation cards for 3rd party apps yet. You can emulate a navigation card by:

  1. Creating a basic card
  2. Make the image of the basic card a screenshot of the directions
  3. Make the button of the basic card a deep link to Google maps for the desired directions

Upvotes: 4

Prisoner
Prisoner

Reputation: 50701

No, the Actions on Google platform is separate from whatever capabilities are on the underlying OS platform.

You may wish to look into using the Static Maps API to provide the image and path as an overview on a card, and then include a link out to the app if the user wants to do navigation.

Upvotes: 0

Related Questions