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")