Is there a way to define a timeout for an action?

I’ve got a Shortcut where I get the title of a webpage and run a web service with the title and URL. Sometimes, getting the title fails after a long wait and then the rest of the shortcut fails.

What I’d like to have happen is that if I don’t get the title after 4-5 seconds, the rest of the shortcut just proceeds without the title.

Is there a way to do this? I searched both the built in Shortcuts and ToolboxPro actions and didn’t find anything that seemed likely.

I do have Scriptable, so maybe I can do something there?

Thanks!

1 Like

This might solve your problem in a different way. Could you grab all the details from the focal URL at once? Then use conditionals to only include title data in the action if it exists.

E.g., https://www.icloud.com/shortcuts/3f39fccd6be646638480360a00debf8b