# Trigger another intent with in the active form of another intent using custom actions

**URL:** <https://forum.rasa.com/t/trigger-another-intent-with-in-the-active-form-of-another-intent-using-custom-actions/35613>\
**Category:** Contributing Code\
**Created:** [October 8, 2020, 7:09am UTC](https://forum.rasa.com/t/trigger-another-intent-with-in-the-active-form-of-another-intent-using-custom-actions/35613 "2020-10-08T07:09:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sai\_kiran](https://avatars.discourse-cdn.com/v4/letter/s/a88e4f/32.png) [@sai\_kiran](https://forum.rasa.com/u/sai_kiran)\
**Post date:** [October 8, 2020, 7:09am UTC](https://forum.rasa.com/t/trigger-another-intent-with-in-the-active-form-of-another-intent-using-custom-actions/35613/1 "2020-10-08T07:09:53Z")

</div>

we can call or trigger another intent from active intent like below

if we have A intent and B intent

Now user is in A intent our requirement is trigger B intent with in this A intent

Below are example the actions and slots of A and B

just return in A action like below :

def submit( self, dispatcher: CollectingDispatcher, tracker: Tracker, domain: Dict[Text, Any]) -\>List[Dict]:  
intent\_name=tracker.latest\_message.get(“intent”, {}).get(“name”) if intent\_name ==“B” return [SlotSet(‘slot\_name’, None), FollowupAction(‘followup action name’)]

Replace your slot set name and follow up action name in return statement ex: return [SlotSet(‘utter\_slots\_B"’, None), FollowupAction(‘B\_action’)]
