How to interrupt conversation from outside of custom action?

Hi All :slight_smile: I have some question for my projects.

  1. I want to implement and use another class(like EventHandler and Thread) rather than custom action class in actions.py, But of course, that objects are created by custom action class.
    So I want to make EventHandler object in custom action, so when it triggers, it makes thread and doing some works.

  2. And then, when threads are finish their job, send a utter_message() to user. If shell already occupied from user(like waiting user input)

Is this 2 process are possible? Actually I did First process, but I don’t know how to interrupt rasa shell and send a message from outside…

I’m really appreciate that If you give some information

This can be accomplished with external events. As you suggest, you would start the thread from a custom action and that action also needs to save the conversation id for the user that initiated the conversation. Then, when the action completes you send the response using the external event.