Continue after siri interaction

I have a script that I mainly use with siri. I see that UITable buttons don’t work in the siri interface but is there another way to cause an action to happen in the siri window? If I tap the siri window it opens into the script I just ran so can I have my script await once it presents a UITable view and run a function once I enter the app?