You can just call the action_xyz when the intent *affirm is met, just as you have done in case of utter_noworries. To send a post request you should create/edit a custom action in yours actions.py file which makes a post request to any server.
I think I got it. Since you are filling the slots(yes or no) during the approval, in the custom action you can get the slot values by "tracker.get_slot(‘approval’) and based on it decide to go forward with the request or ask the user again.
Please correct me if I misunderstood the ‘approval’ slot thing.
sorry i was mistaken, i showed you my new approach which works, and yes you’re right we can make use of tracker.get_slot(‘approval’) and do an if/else block… but it will break my logic
what i want exactly is to catch the affirm mentioned in the story mentioned earlier. affirm is an intent contrary to any entities, the latest we read them with tracker.get_slot(‘slot_name’)