Conversational Actions will be deprecated on June 13, 2023. For more information, see Conversational Actions sunset.

Deep link invocations

Stay organized with collections Save and categorize content based on your preferences.

Deep link invocations allow users to enter a specific part of your conversation, via a global intent. Users say your display name in combination with the deep link phrase to carry out a deep link invocation (for example, "Ok Google, talk to <display name> to <deep link phrase>")

To build deep link invocations, you create global custom intents with training phrases that define the user input that you want to set for the deep link.

To create deep link invocation, follow these steps:

  1. Create a sdk/custom/intents/<global_intent_name>.yaml file to define the deep link phrases for your invocation and any parameters you want to extract. For example, for a global intent that handles help requests, your training phrases might look like this:

    trainingPhrases:
    - help me
    - I need some help
    - Help
    
  2. Create a sdk/custom/global/<global_intent_name>.yaml file and define how to handle the intent. For example, this handler transitions to a scene to process the intent:

    transitionToScene: global_intent_scene
    
  3. Open the file sdk/actions/actions.yaml, and add the global intent key to the custom intents. The key is the same as the intent YAML file name without the extension. For the previous examples, the key would look like this:

    custom:
      actions.intent.MAIN: {}
      global_intent_name: {}