I have developed a framework and series of shortcuts that enable my partner to trigger specific actions by sending different commands to my via text message some of which can even accept parameters.
The “Message: Initial Trigger” shortcut is triggered anytime that I get a message from my partner containing “#”. It then checks if any of the commands exist in the message and proceeds to run all of the matching shortcuts.