# Want to call new action after completing the conversion with user on secondary receiver protocol

**URL:** <https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527>\
**Category:** Rasa Open Source\
**Created:** [April 15, 2020, 11:36am UTC](https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527 "2020-04-15T11:36:47Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jehanzaib12](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jehanzaib12/32/7924_2.png) [@jehanzaib12](https://forum.rasa.com/u/jehanzaib12)\
**Post date:** [April 15, 2020, 11:36am UTC](https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527/1 "2020-04-15T11:36:47Z")

</div>

I want to call new actions as i complete the conversion with the user on secondary receiver protocol and i also want to pass the thread again to the primary receiver.

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/2/2c527cc51b54f7798c6151f1f4c16294c88728fc.png)

After the conversion ended, i want my chatbot to be started again.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [April 15, 2020, 1:24pm UTC](https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527/2 "2020-04-15T13:24:07Z")

</div>

@jehanzaib12 How about using the [restart event](https://rasa.com/docs/rasa/api/events/#restart-a-conversation)?

---

<div class="post-metadata">

**Author:** ![jehanzaib12](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jehanzaib12/32/7924_2.png) [@jehanzaib12](https://forum.rasa.com/u/jehanzaib12)\
**Post date:** [April 16, 2020, 5:12am UTC](https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527/3 "2020-04-16T05:12:21Z")

</div>

@tyd for restarting the event, i need to pass the message from the user but i want the event to be restarted as the bot end the conversation.

---

<div class="post-metadata">

**Author:** ![tyd](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/tyd/32/3030_2.png) [@tyd](https://forum.rasa.com/u/tyd)\
**Post date:** [April 16, 2020, 10:21am UTC](https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527/4 "2020-04-16T10:21:53Z")

</div>

@jehanzaib12 Why not call the restart event in a custom action? Or am I not understanding what you are trying to do?

---

<div class="post-metadata">

**Author:** ![jehanzaib12](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/jehanzaib12/32/7924_2.png) [@jehanzaib12](https://forum.rasa.com/u/jehanzaib12)\
**Post date:** [April 17, 2020, 6:42am UTC](https://forum.rasa.com/t/want-to-call-new-action-after-completing-the-conversion-with-user-on-secondary-receiver-protocol/27527/5 "2020-04-17T06:42:37Z")

</div>

@tyd I want to pass the thread back to the primary receiver from the secondary receiver and we can done this by clicking on move to done button on page inbox of fb also the target app id will be the page inbox id that is by default 263902037430900 same for all page inbox. Thanks for your help.
