# Initialize state of conversation

**URL:** <https://forum.rasa.com/t/initialize-state-of-conversation/4387>\
**Category:** Rasa Open Source\
**Created:** [January 16, 2019, 1:35pm UTC](https://forum.rasa.com/t/initialize-state-of-conversation/4387 "2019-01-16T13:35:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smn-snkl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/smn-snkl/32/902_2.png) [@smn-snkl](https://forum.rasa.com/u/smn-snkl)\
**Post date:** [January 16, 2019, 1:35pm UTC](https://forum.rasa.com/t/initialize-state-of-conversation/4387/1 "2019-01-16T13:35:48Z")

</div>

Is there some kind of event that one could easily attach to in order to initialize a new conversation? I know that many chat platforms allow you to send an initial message on conversation start that could e.g. trigger a initialize action, but I was wondering if there’s a more generic way using `rasa_core_sdk` to e.g. initialize the conversation in the backend on creation?

---

<div class="post-metadata">

**Author:** ![JiteshGaikwad](https://avatars.discourse-cdn.com/v4/letter/j/77aa72/32.png) [@JiteshGaikwad](https://forum.rasa.com/u/JiteshGaikwad)\
**Post date:** [January 16, 2019, 2:30pm UTC](https://forum.rasa.com/t/initialize-state-of-conversation/4387/2 "2019-01-16T14:30:15Z")

</div>

hey @smn-snkl i think so it depends on channel(chatbot platform) how to initialize the conversation😅

---

<div class="post-metadata">

**Author:** ![smn-snkl](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/smn-snkl/32/902_2.png) [@smn-snkl](https://forum.rasa.com/u/smn-snkl)\
**Post date:** [January 16, 2019, 2:39pm UTC](https://forum.rasa.com/t/initialize-state-of-conversation/4387/3 "2019-01-16T14:39:47Z")

</div>

But there should be a better way because the Rasa Core always instantiates a tracker for every conversation. So somewhere core already knows about new conversation being started. I’d like to know whether I could plug my own code in there with a callback to my backend.

I don’t really want to really on the chat platform or user to trigger this initialize action.

---

<div class="post-metadata">

**Author:** ![nbeuchat](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nbeuchat/32/13688_2.png) [@nbeuchat](https://forum.rasa.com/u/nbeuchat)\
**Post date:** [July 26, 2019, 7:00pm UTC](https://forum.rasa.com/t/initialize-state-of-conversation/4387/4 "2019-07-26T19:00:06Z")

</div>

@smn-snkl I have the exact same need. Were you able to find a way to do that?
