Get/Trigger an intent on the basis of slot name in custom actions


By any chance is it possible to get/trigger an intent on the basis of the slot name in custom actions?

for example: i have a story ##story_something

  • intent_inform{“mySlotType”:""}
  • utter_youGotThis

I want an custom action to get the intent_inform using the slot name mySlotType

please share your views, it will help me a lot

Thanks and regards

Hi @dpm,

I’m not sure I fully understand, what do you aim to do with your bot in this example? You can access all information about the latest message with the dictionary tracker.latest_message, e.g.

intent = tracker.latest_message.get("intent", {}).get("name")