Add two actions on tap of button.

I want to add two actions continuously on the tap of a button.
Requirement: With one click of a button, I want to navigate to another page and After navigation, I want to hit API and show a confirmation popup of response.
Please check once: https://nimb.ws/9V0cWD

Can I add a sequence of actions like this: https://nimb.ws/wHy3mt

2
3 replies