Apply a custom action to all user or bot messages

Hi, I would like to apply a custom action to all user messages (and another custom action to all bot messages), so that in any conversation, each new user message triggers that action. I know I can copy-paste the action in the stories.md file after each intent, but I’m looking for a better solution. My goal is to fill two slots during conversation with latest user messages and latest bot messages. Thanks.

Hi @ikenti, that’s the only way to do it right now, unless you want to customise some of the rasa logic