This issue has been brought up a lot here, but I haven’t seen a clear response. I’m new to Rasa, so sorry if the answer is obvious.
My use case requires that the bot proactively sends messages to users based on external events in my application. These are not scheduled events. e.g., if an event occurs that impacts a customer, I would like to notify them with a message and then allow them to continue the dialog in Rasa’s normal request/reply model.
Bot: Welcome to the asteroid alert system. You will be notified when an asteroid is heading toward earth.
Bot: OK, we’ll stay in touch
<An arbitrary amount of time passes when the bot’s asteroid detection system triggers>
Bot: Hey, an asteroid is heading towards the planet. It’s been nice knowing you.
So what the best approach to send this message to the user?