0

I am interested in building my own cards (since there isn't any such card that is currently available..?), similar to this question. However no one answered that question previously.

If not, how else can we achieve deep-linking to open other apps (like for example I want to get directions, I don't mind having to open up Google Maps to do so). But it only seems to work for Android, and it is still in Developer Preview..?

I also want to allow the user to click on a card / a button and call a mobile number, but url only takes in http / https URL schemes and not tel://, so that workaround can't work...

What I want to achieve

MIN S
  • 125
  • 2
  • 13

1 Answers1

2

You can't build your own rich response types, they are internal features of the Dialogflow platform and the Assistant apps, you can only use them as far as Google exposes them via the APIs. You are not alone in wanting to have more advanced rich responses (I'd like to have free-form HTML cards), but waiting is all you can do here.

gmolau
  • 2,815
  • 1
  • 22
  • 45
  • Dang. Thanks for confirming. Any workarounds to get the call feature and directions feature at least? :( – MIN S Jun 27 '18 at 02:10
  • 1
    Well, as for Maps the workaround would be to include a normal link (which can contain [directions](https://developers.google.com/maps/documentation/urls/guide#directions-action)) and have it open in the users browser. As for calling I don't really see a plausible solution other than waiting for Google to make it available to everyone. – gmolau Jun 27 '18 at 18:32
  • If you are not averse to the user clicking twice, you could link to a mobile friendly web page that has the dial button on it. Perhaps the linked web page could even "auto-dial" via javascript and then you could just label the link "dial" and the user might not notice the interstitial. – Mark Scheel Jun 27 '18 at 22:41