# Custom actions, which inherit from main code

I mean design-wise I could also just have a custom actions with
dispatcher.utter_message(text="1")
and from the returned answer[0]['text'] in main.py I could just call a specific function in my main code then and I wouldnt bother about further communication.
But I though it would be nicer to have …

---

Hello Rasa Community,
I am facing a problem in developing a chatbot. The chatbot just runs through python files, so therefore I dont use Rasa X or Rasa Shell. My objective is that i want to trigger a custom action, which then executes some specific code. The code that is executed in the custom acti…
