How to call a custom action if user send message when slot was set to true

Hi guys, I want check if slot is set to true when user send message to the bot. And if that slot is set to true. I need to call a custom action. How can I do this kind of task?

Follow the Conditional Responses on rasa docs.

1 Like