Digital Assistant and Mobile

Get Involved. Join the Conversation.

Topic

    Xena Arcabos
    way to know if the skill is called using the digital...
    Topic posted September 26, 2019 by Xena ArcabosGreen Ribbon: 100+ Points, tagged Bots, Conversational AI, OMCE 
    29 Views, 2 Comments
    Title:
    way to know if the skill is called using the digital assistant
    Content:

    Hi Gurus!

    Is there a way to know if the skill is called using the digital assistant? I have found the system.calledfromDA but i'm getting an error when trying to use this one inside the skill.

    Comment

     

    • Frank Nimphius

      Hi,

      There is no public API I am aware- 

       

      Here are 2 options:

      you could use a naming convention for your channels e.g. <name> or <name>DA. The latter channel would be for configuration with DA. So in a skill you can check the channel name if it has a "DA" part. 


      A second option is to use a custom skill parameter on a skill that by default you set to "skill". Make sure the name of the skill parameter follows the da.param_name convention. Then when the skill is added to a DA you set the parameter value to "DA". The skill can then check for "DA" and "skill" to understand how it is called. 

       

      Frank