Th scenario is like:a case is pending and waiting in a workbasket,basically this case is waiting to get response from an external system now if it doenst get response on time we should send an email to the respective team or if if we get the response from external system on time then the case should resume back to normal flow
I think there is an option at the assignment level in flow for “Auto Process” based on certain condition. You can use that option if the service is like a prerequisite before going into the WB.
You can also try a Job Scheduler which will check for a flag which can be updated in the case through that service if it is successful. If In the case, the flag is success, You can do “Resume Flow” or other if fail, then send email