Friday, 19 March 2021

How to launch our installed app from google assistant using custom word

I want to open my installed app from google Assistant using custom word.

saying "OK Google, Open MYAPP -> we don't need to do anything on your behalf. Google Assistant will open the app.

saying "OK Google, Some word (Hey MyAppName) -> Now I want to open my installed app. It is possible using App Action / dialogflow ?

I have tried below code but not working for me

 <action intentName="custom.actions.intent.HEY_PRINTER" queryPatterns="@arrays/ExampleQueries1">
        <!-- Define parameters -->
        <!-- Define fulfillment -->
        <fulfillment
            fulfillmentMode="actions.fulfillment.DEEPLINK"
            urlTemplate="https://fit-actions.firebaseapp.com/stats" />

    </action>

<string-array name="ExampleQueries">
    <item>Hey printer</item>
</string-array>

Expected: saying "OK Google, Hey Printer -> I want to trigger "custom.actions.intent.HEY_PRINTER" So that my app will be open.

Can anyone suggest for this



from How to launch our installed app from google assistant using custom word

No comments:

Post a Comment