Running a shortcut in a shortcut
I have a piece of conditional code ive used often. Is there a way to use it with other shortcuts, without having to recode it every time. A way to copy and paste a group of connected code into another shortcut, or create the peace as a shortcut all its own, a use it as a “handler” in another shortcut. Using the run shortcut code, and being able to pass a variable(s) out of the “handler” into the actual shortcut?
- not a programmer. if I’m using the term handler correctly it is that piece of code in JavaScript that you can use repeatedly to perform a function and output the result to the part of the code that needed its result.
Posted Dec 7, 2025, 12:55 PM UTC
910