0

I am trying to launch a web url that will act as a deeplink for my app to launch it, it there a way to launch a URL in DialogFlow or in Actions Google using there fulfilment or the webhook for the Google Actions, I have created a custom intent and against that intent I like to launch specific feature of my app but it is not triggering the intent as it do in case of Build In Intents so as an alternative if Google Assistant launch that URL the purpose will be served.

I found some code that looks useful but unfortunately it doesn't work for me. Below is the code

const app = dialogflow({debug: true});
app.intent('welcome', (conv) => {
    conv.ask('Welcome! Do you want me to change color or pause spinning?');
    conv.ask(new HtmlResponse({
    url: 'https://your-web-app.com',
  }));

});

Thanks in advance.

Nick Felker
  • 11,536
  • 1
  • 21
  • 35
Zubair Akber
  • 2,760
  • 13
  • 30
  • 1
    Does this answer your question? [How to tell Google Assistant to automatically open Android App using Actions Builder or Actions SDK?](https://stackoverflow.com/questions/69110420/how-to-tell-google-assistant-to-automatically-open-android-app-using-actions-bui) – Nick Felker Sep 10 '21 at 16:07
  • This is the same question as one asked yesterday: https://stackoverflow.com/questions/69110420/how-to-tell-google-assistant-to-automatically-open-android-app-using-actions-bui – Nick Felker Sep 10 '21 at 16:07
  • So looks like there is no direct way to launch application against custom intents – Zubair Akber Sep 13 '21 at 05:44
  • Does answer provided in different thread by Nick is solution for your answer? – PjoterS Sep 13 '21 at 08:08
  • Nope, I am looking to open just as we do in built in intents – Zubair Akber Sep 13 '21 at 11:01
  • Could you provide scenario? You would provide in response with link or you want to open new url page using your app/browser with specific url? – PjoterS Sep 13 '21 at 14:49

0 Answers0